Re: Guacamole - Ubuntu Connection

2024-05-16 Thread Nick Couchman
On Tue, May 14, 2024 at 11:13 AM Viji Shankar 
wrote:

> Hi Team,
>
> We are using Linux (Ubuntu 22.04). We have rebooted Ubuntu after an update
> and also restarted the Guacamole Pod. We are using Guacamole 1.5.3.
> services are also running. We have checked guacamole container logs. We are
> getting this following error,
>
>
>
>
>
>
>
>
> *Exception in thread "Thread-886" java.lang.IllegalStateException: Message
> will not be sent because the WebSocket session has been closed at
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:449)
> at
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:307)
> at
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:249)
> at
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:191)
> at
> org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:36)
> at
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
> at
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)*
>
>
The first thing to check, if you're proxying Guacamole behind Nginx or
Apache httpd, or any other reverse proxy, is that you've configured the
reverse proxy correctly. The parameters required are in the manual:

https://guacamole.apache.org/doc/gug/reverse-proxy.html

In particular, for Nginx, make sure buffering is disabled.

Beyond that, you'll need to dig into log files and do some additional
network troubleshooting to figure out why the WebSocket session is being
closed prematurely. If there's some web application firewall or SSL
inspection going on in the path between the browser and the Tomcat server,
it could be interfering with the WebSocket connection. You'll need to
figure out why.

-Nick

>


Re: Guacamole - Ubuntu Connection

2024-05-14 Thread Viji Shankar
Hi Team,

We are using Linux (Ubuntu 22.04). We have rebooted Ubuntu after an update
and also restarted the Guacamole Pod. We are using Guacamole 1.5.3.
services are also running. We have checked guacamole container logs. We are
getting this following error,








*Exception in thread "Thread-886" java.lang.IllegalStateException: Message
will not be sent because the WebSocket session has been closed at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:449)
at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:307)
at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:249)
at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:191)
at
org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:36)
at
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
at
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)*

Regards,
Viji S

On Tue, May 14, 2024 at 8:01 PM Tom Eaton  wrote:

> There is a LOT of missing information here:
>
> - what have you tried so far?
> - what version of ubuntu?
> - is the rdp/vnc service running on ubuntu after the update?
> - have you rebooted the ubuntu machine?
> - can you vnc/rdp direct to the machine?
>
> On Tue, 14 May 2024 at 15:25, Viji Shankar 
> wrote:
>
>> Hi Team,
>>
>> After upgrading the apt and apt-get packages in ubuntu, the guacamole
>> connection stops working and gets an error.
>>
>> Attached the screenshot.
>>
>> Regards,
>> Viji S
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
>> For additional commands, e-mail: user-h...@guacamole.apache.org
>
>


Re: Guacamole - Ubuntu Connection

2024-05-14 Thread Tom Eaton
There is a LOT of missing information here:

- what have you tried so far?
- what version of ubuntu?
- is the rdp/vnc service running on ubuntu after the update?
- have you rebooted the ubuntu machine?
- can you vnc/rdp direct to the machine?

On Tue, 14 May 2024 at 15:25, Viji Shankar  wrote:

> Hi Team,
>
> After upgrading the apt and apt-get packages in ubuntu, the guacamole
> connection stops working and gets an error.
>
> Attached the screenshot.
>
> Regards,
> Viji S
>
> -
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org