<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Guacamole shows "ERROR" when VPN Protection is turned on]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I'm not a developer, so apologies if I describe this badly.</p>
<p dir="auto">I turned on <strong>Require VPN</strong> 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.</p>
<p dir="auto"><strong>The error on screen:</strong></p>
<blockquote>
<p dir="auto"><strong>ERROR</strong><br />
An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.</p>
</blockquote>
<p dir="auto"><strong>The error in the browser's developer console (F12):</strong></p>
<pre><code>POST https://[my-guacamole-address]/api/tokens 403 (Forbidden)
</code></pre>
<p dir="auto">The response to that request is Cloudron's "VPN connection required" page.</p>
<p dir="auto"><strong>My setup:</strong></p>
<ul>
<li>Cloudron 10.2.0</li>
<li>VPN app 2.27.2 (WireGuard, "Route only app traffic")</li>
<li>Guacamole app 2.7.7, logging in with Cloudron</li>
</ul>
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<ol>
<li>Install the VPN app and the Guacamole app.</li>
<li>In Network → VPN protection, choose the VPN app and "Route only app traffic".</li>
<li>Turn on <strong>Require VPN</strong> for Guacamole.</li>
<li>Connect a laptop to the VPN with WireGuard.</li>
<li>Open Guacamole in a browser. It shows the error above before any login button appears.</li>
</ol>
<p dir="auto"><strong>What I expected:</strong> the normal Guacamole login page with the Cloudron login button.</p>
<p dir="auto"><strong>Things I've checked:</strong></p>
<ul>
<li>I also have a <strong>Surfer</strong> app with Require VPN turned on, and it works fine through the VPN. So the VPN itself seems to be working.</li>
<li>I've tried <strong>two different laptops</strong>, each with <strong>its own WireGuard profile</strong>, and both get the same error on Guacamole.</li>
</ul>
<p dir="auto"><strong>Some tests I ran, with help, from a laptop connected to the VPN:</strong></p>
<pre><code>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
</code></pre>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.cloudron.io/topic/16382/guacamole-shows-error-when-vpn-protection-is-turned-on</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Dec 2026 19:52:37 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16382.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Dec 2026 18:22:54 GMT</pubDate><ttl>60</ttl></channel></rss>