apache-guacamole-helm-chart icon indicating copy to clipboard operation
apache-guacamole-helm-chart copied to clipboard

Using traefik doesn't work

Open titansmc opened this issue 5 years ago • 4 comments

Hi, I am using Traefik in front of it (it is supposed to handle websockets without any special configuration), do I need to do anything special? I get:

10:00:40.874 [http-nio-8080-exec-3] INFO  o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "1".
10:00:40.986 [http-nio-8080-exec-1] INFO  o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "1". Duration: 112 milliseconds
Exception in thread "Thread-44" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:424)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:309)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:250)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:191)
	at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
	at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
	at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
	at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)
^C

titansmc avatar Apr 03 '20 11:04 titansmc

switch to traefik or use nginx with websocket support

r1cebank avatar Jun 05 '20 15:06 r1cebank

I am already using Traefik

titansmc avatar Jun 05 '20 16:06 titansmc

Sorry i forgot to include the version, use traefik v2, it has websocket support V1 doesnt

r1cebank avatar Jun 05 '20 16:06 r1cebank

I am running the latet v2. However, I don't need Guacamole at the moment. Thanks.

On Fri, Jun 5, 2020, 18:26 Siyuan Gao [email protected] wrote:

Sorry i forgot to include the version, use traefik v2, it has websocket support V1 doesnt

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabhatsharma/apache-guacamole-helm-chart/issues/6#issuecomment-639610776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6QAYDTKIDK3VASKBYTNF3RVEMEJANCNFSM4L33ETGA .

titansmc avatar Jun 05 '20 16:06 titansmc