Hi,

When you start an RDP connection and leave the connection open on the guac RDP 
credentials screen for an extended time period it fails to accept the provided 
credentials when you finally insert them, only on the second try it works. 
Often users leave this credential screen open for a bit and when they finally 
insert their creds they always fail and have to retry a 2nd time. The following 
error is generated:


guacd             | guacd[2088]: INFO:  RDP server closed/refused connection: 
Upstream error.
guacd             | guacd[2088]: INFO:  User 
"@c2507e0e-7374-4ec3-af3d-fd9ec654e388" disconnected (0 users remain)
guacd             | guacd[2088]: INFO:  Last user of connection 
"$d16b6159-98c0-4716-b120-42881631122c" disconnected
guacamole         | 08:55:02.721 [http-nio-8080-exec-9] INFO  
o.a.g.tunnel.TunnelRequestService - User "****** ******" disconnected from 
connection "4". Duration: 1223235 milliseconds
guacamole         | Exception in thread "Thread-16" 
java.lang.IllegalStateException: Message will not be sent because the WebSocket 
session has been closed
guacamole         |     at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:449)
guacamole         |     at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:307)
guacamole         |     at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:249)
guacamole         |     at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:191)
guacamole         |     at 
org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:36)
guacamole         |     at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
guacamole         |     at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
guacamole         |     at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)


Is this perhaps a network stack timeout/idle issue or related to guac itself 
maybe? I assume if guac lost the connection it would propagate to the front end 
before you would enter your credentials and find out the websocket connection 
is gone as indicated by the above error?

Reply via email to