On 4/15/25 7:32 AM, Cedric Biedermann wrote:
Does every websocket-tunnel for connection also creates a normal HTTPTunnel automatically? I tried to understand how CLIENT_ERRORS (e.g.: "ERROR_CLIENT_301" : "Log in failed. Please reconnect and try again."), are displayed at the angular part and it seems they are given by Guacamole.HTTPTunnel.sendPendingMessages. But the connection is build up with websocket-tunnel and there I can not find these kind of error messages, so I am confused right now.
If the attempt to connect fails with WebSocket, it will retry with the HTTP tunnel, yes. The failure has to occur pretty early in the connection process for that to happen.
If the connection is already underway, the tunnel implementation is "committed" and stays as WebSocket or HTTP, whichever successfully established the connection to begin with.
This logic is part of the "Guacamole.ChainedTunnel" object, which tries each of a series of possible tunnels until one succeeds. They are not tried simultaneously.
- Mike --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org