Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Guacamole shows "ERROR" when VPN Protection is turned on

Guacamole shows "ERROR" when VPN Protection is turned on

Scheduled Pinned Locked Moved Unsolved Support
1 Posts 1 Posters 9 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    H
    hakunamatata
    wrote last edited by
    #1

    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:

    1. Install the VPN app and the Guacamole app.
    2. In Network → VPN protection, choose the VPN app and "Route only app traffic".
    3. Turn on Require VPN for Guacamole.
    4. Connect a laptop to the VPN with WireGuard.
    5. 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" page
    

    I 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!

    1 Reply Last reply
    0

    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
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search