Guacamole shows "ERROR" when VPN Protection is turned on
-
Hi all,
I'm not a developer, so apologies if I describe this badly.
I turned on Require VPN for my Guacamole app. When I connect through the Cloudron VPN app (WireGuard) and open Guacamole, the page starts to load and then shows an error. I never get to the login button. When I turn Require VPN off, Guacamole works normally again.
The error on screen:
ERROR
An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.The error in the browser's developer console (F12):
POST https://[my-guacamole-address]/api/tokens 403 (Forbidden)The response to that request is Cloudron's "VPN connection required" page.
My setup:
- Cloudron 10.2.0
- VPN app 2.27.2 (WireGuard, "Route only app traffic")
- Guacamole app 2.7.7, logging in with Cloudron
Steps to reproduce:
- Install the VPN app and the Guacamole app.
- In Network → VPN protection, choose the VPN app and "Route only app traffic".
- Turn on Require VPN for Guacamole.
- Connect a laptop to the VPN with WireGuard.
- Open Guacamole in a browser. It shows the error above before any login button appears.
What I expected: the normal Guacamole login page with the Cloudron login button.
Things I've checked:
- I also have a Surfer app with Require VPN turned on, and it works fine through the VPN. So the VPN itself seems to be working.
- I've tried two different laptops, each with its own WireGuard profile, and both get the same error on Guacamole.
Some tests I ran, with help, from a laptop connected to the VPN:
curl -s https://[my-guacamole-address]/api/languages → shows a list of languages (so the app seems reachable) curl -s -d "" https://[my-guacamole-address]/api/tokens → shows the "VPN connection required" pageI was told this might mean the VPN page is being shown in place of Guacamole's own "please log in" reply, but I'm not sure.
Is this a bug, or have I set something up wrong? Happy to send logs or try things if someone tells me what to do.
Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login