[jira] [Commented] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.1.0

2020-02-14 Thread Daniele (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17037250#comment-17037250
 ] 

Daniele commented on GUACAMOLE-960:
---

Hi [~vnick], [~mjumper]

I've just tried to connect to a Windows 10 rdp. Find attached the debug log. 
There is something different, i.e. a segfault. Hope it can help. Thanks.

[^guacd.debug.2.txt]

> Cannot connect anymore to RDP connections after upgrade to version 1.1.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: guacd.debug.2.txt, guacd.debug.txt
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.1.0

2020-02-14 Thread Daniele (Jira)


 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniele updated GUACAMOLE-960:
--
Attachment: guacd.debug.2.txt

> Cannot connect anymore to RDP connections after upgrade to version 1.1.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: guacd.debug.2.txt, guacd.debug.txt
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.1.0

2020-02-14 Thread Daniele (Jira)


 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniele updated GUACAMOLE-960:
--
Summary: Cannot connect anymore to RDP connections after upgrade to version 
1.1.0  (was: Cannot connect anymore to RDP connections after upgrade to version 
1.0.0)

> Cannot connect anymore to RDP connections after upgrade to version 1.1.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: guacd.debug.txt
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Daniele (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17037137#comment-17037137
 ] 

Daniele commented on GUACAMOLE-960:
---

Hi.

I've already tested all possible security mode: RDP, TLS, NLA. Nothing changes.

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: guacd.debug.txt
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Nick Couchman (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17037126#comment-17037126
 ] 

Nick Couchman commented on GUACAMOLE-960:
-

I think this is the issue...

{code}
Feb 14 14:11:00 eva01 guacd[8641]: Security mode: TLS
...
Feb 14 14:11:04 eva01 guacd[8641]: Protocol Security Negotiation Failure
Feb 14 14:11:04 eva01 guacd[8641]: freerdp_set_last_error 
ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
Feb 14 14:11:04 eva01 guacd[8641]: Error: protocol security negotiation or 
connection failure
Feb 14 14:11:04 eva01 guacd[8641]: Error connecting to RDP server
{code}

Looks like it's trying to use TLS security, and failing.  Maybe try setting 
security to NLA?

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: guacd.debug.txt
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (GUACAMOLE-958) Race in guacd client termination

2020-02-14 Thread Nick Couchman (Jira)


 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman resolved GUACAMOLE-958.
-
Resolution: Fixed

> Race in guacd client termination
> 
>
> Key: GUACAMOLE-958
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-958
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacd
>Affects Versions: 1.1.0
>Reporter: Jonas Zeiger
>Priority: Minor
> Fix For: 1.2.0
>
>
> I observed delays when trying to shutdown guacd cleanly:
> {code:java}
> 2020-02-12 12:20:52.886 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[174]: DEBUG:   Client terminated successfully.
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: ERROR:   Error handling message from VNC 
> server.
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: INFO:User 
> "@e2dac0b0-5e01-4b3e-8898-14d2d351abee" disconnected (0 users remain)
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: INFO:Last user of connection 
> "$902a4fea-c198-409f-a249-9a5dbaa4bdec" disconnected
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: DEBUG:   Requesting termination of 
> client...
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: INFO:Internal VNC client disconnected
> 2020-02-12 12:20:57.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: WARNING: Client did not terminate in a 
> timely manner. Forcibly terminating client and any child processes.
> {code}
> I suspect the client actually terminated properly (see log message "Internal 
> VNC client disconnected").



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GUACAMOLE-958) Race in guacd client termination

2020-02-14 Thread Nick Couchman (Jira)


 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-958:

Fix Version/s: 1.2.0

> Race in guacd client termination
> 
>
> Key: GUACAMOLE-958
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-958
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacd
>Affects Versions: 1.1.0
>Reporter: Jonas Zeiger
>Priority: Minor
> Fix For: 1.2.0
>
>
> I observed delays when trying to shutdown guacd cleanly:
> {code:java}
> 2020-02-12 12:20:52.886 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[174]: DEBUG:   Client terminated successfully.
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: ERROR:   Error handling message from VNC 
> server.
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: INFO:User 
> "@e2dac0b0-5e01-4b3e-8898-14d2d351abee" disconnected (0 users remain)
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: INFO:Last user of connection 
> "$902a4fea-c198-409f-a249-9a5dbaa4bdec" disconnected
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: DEBUG:   Requesting termination of 
> client...
> 2020-02-12 12:20:52.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: INFO:Internal VNC client disconnected
> 2020-02-12 12:20:57.887 [some-app] [0c7bfb7f-c009-4685-8b83-a144aa0bb4f6] 
> [140049387599616]: guacd[166]: WARNING: Client did not terminate in a 
> timely manner. Forcibly terminating client and any child processes.
> {code}
> I suspect the client actually terminated properly (see log message "Internal 
> VNC client disconnected").



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Daniele (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17036972#comment-17036972
 ] 

Daniele commented on GUACAMOLE-960:
---

[~mjumper], I'm trying to connect to windows 7. Find attached the debug log of 
guacd when trying to connect to that connection. Thanks.

[^guacd.debug.txt]

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: guacd.debug.txt
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Daniele (Jira)


 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniele updated GUACAMOLE-960:
--
Attachment: guacd.debug.txt

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: guacd.debug.txt
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Mike Jumper (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17036892#comment-17036892
 ] 

Mike Jumper commented on GUACAMOLE-960:
---

What version of Windows are you trying to connect to?

What log messages do you see from guacd after enabling debug-level logging?

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Daniele (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17036867#comment-17036867
 ] 

Daniele commented on GUACAMOLE-960:
---

Hi [~mjumper].

Yes, if I switch back to version 1.0.0 everything starts working again.

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Mike Jumper (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17036847#comment-17036847
 ] 

Mike Jumper commented on GUACAMOLE-960:
---

The webapp, JDK, etc. actually have no bearing on whether the RDP part of a 
connection succeeds. That is purely a guacd and libguac-client-rdp matter.

If you switch back to a 1.0.0 build of guacamole-server, do things start 
working again?

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Mike Jumper (Jira)


 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Jumper updated GUACAMOLE-960:
--
Component/s: (was: guacamole)
 RDP

> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Daniele (Jira)


 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniele updated GUACAMOLE-960:
--
Environment: 
Ubuntu 18.04
Guacamole 1.1.0
Openjdk-8-jdk

  was:
Ubuntu 18.04
Guacamole 1.1.0


> Cannot connect anymore to RDP connections after upgrade to version 1.0.0
> 
>
> Key: GUACAMOLE-960
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacamole
>Affects Versions: 1.1.0
> Environment: Ubuntu 18.04
> Guacamole 1.1.0
> Openjdk-8-jdk
>Reporter: Daniele
>Priority: Major
> Fix For: 1.1.0
>
>
> After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
> connections anymore.
> This is syslog:
> ...
> Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
> Feb 14 09:43:26 x guacd[1115]: Connection ID is 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed"
> Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
> Feb 14 09:43:26 x guacd[3451]: Resize method: none
> Feb 14 09:43:26 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" joined connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
> Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
> Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
> Feb 14 09:43:29 x guacd[3451]: User 
> "@96d5b096-4f15-4b59-ac2e-937d0a16919d" disconnected (0 users remain)
> Feb 14 09:43:29 x guacd[3451]: Last user of connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
> Feb 14 09:43:29 x guacd[1115]: Connection 
> "$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.
> ...
> This is catalina.out:
> ...
> 09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
> 09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" connected to connection "4".
> 09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
> User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
> Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
>  at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
>  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)
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (GUACAMOLE-960) Cannot connect anymore to RDP connections after upgrade to version 1.0.0

2020-02-14 Thread Daniele (Jira)
Daniele created GUACAMOLE-960:
-

 Summary: Cannot connect anymore to RDP connections after upgrade 
to version 1.0.0
 Key: GUACAMOLE-960
 URL: https://issues.apache.org/jira/browse/GUACAMOLE-960
 Project: Guacamole
  Issue Type: Bug
  Components: guacamole
Affects Versions: 1.1.0
 Environment: Ubuntu 18.04
Guacamole 1.1.0
Reporter: Daniele
 Fix For: 1.1.0


After upgrading from version 1.0.0 to version 1.1.0 I cannot connect to RDP 
connections anymore.

This is syslog:

...

Feb 14 09:43:26 x guacd[1115]: Creating new client for protocol "rdp"
Feb 14 09:43:26 x guacd[1115]: Connection ID is 
"$c99fc3da-d103-437c-a956-d13cfaa6dbed"
Feb 14 09:43:26 x guacd[3451]: Security mode: TLS
Feb 14 09:43:26 x guacd[3451]: Resize method: none
Feb 14 09:43:26 x guacd[3451]: User "@96d5b096-4f15-4b59-ac2e-937d0a16919d" 
joined connection "$c99fc3da-d103-437c-a956-d13cfaa6dbed" (1 users now present)
Feb 14 09:43:26 x guacd[3451]: Loading keymap "base"
Feb 14 09:43:26 x guacd[3451]: Loading keymap "it-it-qwerty"
Feb 14 09:43:29 x guacd[3451]: Error connecting to RDP server
Feb 14 09:43:29 x guacd[3451]: User "@96d5b096-4f15-4b59-ac2e-937d0a16919d" 
disconnected (0 users remain)
Feb 14 09:43:29 x guacd[3451]: Last user of connection 
"$c99fc3da-d103-437c-a956-d13cfaa6dbed" disconnected
Feb 14 09:43:29 x guacd[1115]: Connection 
"$c99fc3da-d103-437c-a956-d13cfaa6dbed" removed.

...

This is catalina.out:

...

09:43:26.517 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - 
User "xxx" connected to connection "4".
09:43:29.639 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - 
User "xxx" disconnected from connection "4". Duration: 3108 milliseconds
09:45:05.715 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - 
User "xxx" connected to connection "4".
09:45:08.807 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - 
User "xxx" disconnected from connection "4". Duration: 3091 milliseconds
Exception in thread "Thread-7" java.lang.IllegalStateException: Message will 
not be sent because the WebSocket session has been closed
 at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
 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)

...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)