How can I troubleshoot Guacamole lag for clients on one ISP?

December 3, 2026 4 answers
Asked by Veldruni!5p

Clients on one ISP are seeing latency and packet loss when using Apache Guacamole. Server load and bandwidth on our side don't appear to be the bottleneck.

Most troubleshooting advice I find focuses on the connection from Guacamole to the remote desktop. What should I check on the browser-to-server HTTPS path? Proxy buffering is off and WebSockets are enabled.

Answers

_b38~mivdari.6

Start by comparing an affected client with one on another connection, ideally using the same browser, destination, and remote desktop. Run sustained latency and packet loss tests to the Guacamole endpoint at different times, not just a quick bandwidth test.

Check the browser's network tools to see whether the session actually establishes a WebSocket. Enabling it at the proxy doesn't necessarily mean every client is using it. Compare connection failures, reconnects, and timings with the proxy logs. If the pattern follows the ISP, those timestamps and destination details give the provider something concrete to investigate.

Reply to this answer
!5Vordeli+

What kind of access does that ISP provide? Wireless, cellular, and residential connections can behave quite differently. A decent throughput result doesn't rule out loss, variable latency, or an MTU problem.

I'd test path MTU from an affected client and compare it with a working path. A mismatch can cause fragmentation or dropped packets, so check that before assuming the HTTPS stream itself needs a Guacamole tweak.

Reply to this answer
_a82!plendavo.6

Separate the two legs before changing settings. Test the browser-to-Guacamole path, then check Guacamole to the RDP or VNC host. If only the first leg degrades for that ISP, tuning the desktop protocol may not fix the underlying problem.

Some delay is expected with browser-based remoting, but there's no useful universal latency number. Compare the same task over a good connection and an affected one to see how much is specific to the path.

Reply to this answer
9j~parcelwinder_472

Check the Guacamole and guacd versions too, but I wouldn't schedule nightly restarts as the first fix. There was an older daemon issue for which restarts were used as a workaround, and that issue was later fixed. Look for evidence in logs or resource usage before treating it as the cause here.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions