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

Jesse Brinson updated GUACAMOLE-238:
------------------------------------
    Description: 
RDP fails immediately on Server 2016 when no username/password are specified in 
authentication parameters.  When I manually set username/password, it will 
connect.

Domain, hostname, RDP Encryption and port number are the only other 
set-parameters. (also tried using different auth types). Server 2012 R2 and 
back work ok with these variables, and credentials left blank.

I've tried updating freerdp to the nightly version, and using Java 7 and 8, 
still no success.

Logs are only showing non-descriptive errors:

catalina.out:
{noformat}
17:08:03.734 [http-nio-8080-exec-23] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" connected to connection "18".
17:08:03.858 [Thread-341] INFO  o.a.g.tunnel.TunnelRequestService - User 
"guacadmin" disconnected from connection "18". Duration: 124 milliseconds
17:08:08.718 [http-nio-8080-exec-23] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" connected to connection "18".
Exception in thread "Thread-344" 17:08:08.761 [http-nio-8080-exec-28] INFO  
o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
connection "18". Duration: 42 milliseconds
java.lang.IllegalStateException: Message will not be sent because the WebSocket 
session has been closed
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:354)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:311)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:675)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:220)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:172)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
        at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:169)
{noformat}
syslog:
{noformat}
Mar  6 17:08:35 guacremote guacd[989]: Creating new client for protocol "rdp"
Mar  6 17:08:35 guacremote guacd[989]: Connection ID is 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c"
Mar  6 17:08:35 guacremote guacd[9760]: Security mode: RDP
Mar  6 17:08:35 guacremote guacd[9760]: Resize method: display-update
Mar  6 17:08:35 guacremote guacd[9760]: User 
"@243c393c-899b-4cb8-a128-1f3b4671a15f" joined connection 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" (1 users now present)
Mar  6 17:08:35 guacremote guacd[9760]: Loading keymap "base"
Mar  6 17:08:35 guacremote guacd[9760]: Loading keymap "en-us-qwerty"
Mar  6 17:08:36 guacremote guacd[9760]: Error connecting to RDP server
Mar  6 17:08:36 guacremote guacd[9760]: User 
"@243c393c-899b-4cb8-a128-1f3b4671a15f" disconnected (0 users remain)
Mar  6 17:08:36 guacremote guacd[9760]: Last user of connection 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" disconnected
Mar  6 17:08:36 guacremote guacd[989]: Connection 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" removed.
{noformat}

  was:
RDP fails immediately on Server 2016 when no username/password are specified in 
authentication parameters.  When I manually set username/password, it will 
connect.  Domain hostname and port number are the only other set-parameters.  
Server 2012 R2 and back work ok.

I've tried updating freerdp to the nightly version, and using Java 7 and 8, 
still no success.

Logs are only showing non-descriptive errors:

catalina.out:
{noformat}
17:08:03.734 [http-nio-8080-exec-23] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" connected to connection "18".
17:08:03.858 [Thread-341] INFO  o.a.g.tunnel.TunnelRequestService - User 
"guacadmin" disconnected from connection "18". Duration: 124 milliseconds
17:08:08.718 [http-nio-8080-exec-23] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" connected to connection "18".
Exception in thread "Thread-344" 17:08:08.761 [http-nio-8080-exec-28] INFO  
o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
connection "18". Duration: 42 milliseconds
java.lang.IllegalStateException: Message will not be sent because the WebSocket 
session has been closed
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:354)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:311)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:675)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:220)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:172)
        at 
org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
        at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:169)
{noformat}
syslog:
{noformat}
Mar  6 17:08:35 guacremote guacd[989]: Creating new client for protocol "rdp"
Mar  6 17:08:35 guacremote guacd[989]: Connection ID is 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c"
Mar  6 17:08:35 guacremote guacd[9760]: Security mode: RDP
Mar  6 17:08:35 guacremote guacd[9760]: Resize method: display-update
Mar  6 17:08:35 guacremote guacd[9760]: User 
"@243c393c-899b-4cb8-a128-1f3b4671a15f" joined connection 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" (1 users now present)
Mar  6 17:08:35 guacremote guacd[9760]: Loading keymap "base"
Mar  6 17:08:35 guacremote guacd[9760]: Loading keymap "en-us-qwerty"
Mar  6 17:08:36 guacremote guacd[9760]: Error connecting to RDP server
Mar  6 17:08:36 guacremote guacd[9760]: User 
"@243c393c-899b-4cb8-a128-1f3b4671a15f" disconnected (0 users remain)
Mar  6 17:08:36 guacremote guacd[9760]: Last user of connection 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" disconnected
Mar  6 17:08:36 guacremote guacd[989]: Connection 
"$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" removed.
{noformat}


> RDP Not Working on Server 2016 without Credentials
> --------------------------------------------------
>
>                 Key: GUACAMOLE-238
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-238
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole, guacamole-auth-jdbc-mysql, guacamole-auth-ldap
>    Affects Versions: 0.9.9, 0.9.10-incubating, 0.9.11-incubating
>         Environment: Debian 8.3, Nginx reverse proxy, public SSL
>            Reporter: Jesse Brinson
>            Priority: Minor
>              Labels: newbie
>
> RDP fails immediately on Server 2016 when no username/password are specified 
> in authentication parameters.  When I manually set username/password, it will 
> connect.
> Domain, hostname, RDP Encryption and port number are the only other 
> set-parameters. (also tried using different auth types). Server 2012 R2 and 
> back work ok with these variables, and credentials left blank.
> I've tried updating freerdp to the nightly version, and using Java 7 and 8, 
> still no success.
> Logs are only showing non-descriptive errors:
> catalina.out:
> {noformat}
> 17:08:03.734 [http-nio-8080-exec-23] INFO  o.a.g.tunnel.TunnelRequestService 
> - User "guacadmin" connected to connection "18".
> 17:08:03.858 [Thread-341] INFO  o.a.g.tunnel.TunnelRequestService - User 
> "guacadmin" disconnected from connection "18". Duration: 124 milliseconds
> 17:08:08.718 [http-nio-8080-exec-23] INFO  o.a.g.tunnel.TunnelRequestService 
> - User "guacadmin" connected to connection "18".
> Exception in thread "Thread-344" 17:08:08.761 [http-nio-8080-exec-28] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
> connection "18". Duration: 42 milliseconds
> java.lang.IllegalStateException: Message will not be sent because the 
> WebSocket session has been closed
>         at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:354)
>         at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:311)
>         at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:675)
>         at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:220)
>         at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:172)
>         at 
> org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
>         at 
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:169)
> {noformat}
> syslog:
> {noformat}
> Mar  6 17:08:35 guacremote guacd[989]: Creating new client for protocol "rdp"
> Mar  6 17:08:35 guacremote guacd[989]: Connection ID is 
> "$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c"
> Mar  6 17:08:35 guacremote guacd[9760]: Security mode: RDP
> Mar  6 17:08:35 guacremote guacd[9760]: Resize method: display-update
> Mar  6 17:08:35 guacremote guacd[9760]: User 
> "@243c393c-899b-4cb8-a128-1f3b4671a15f" joined connection 
> "$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" (1 users now present)
> Mar  6 17:08:35 guacremote guacd[9760]: Loading keymap "base"
> Mar  6 17:08:35 guacremote guacd[9760]: Loading keymap "en-us-qwerty"
> Mar  6 17:08:36 guacremote guacd[9760]: Error connecting to RDP server
> Mar  6 17:08:36 guacremote guacd[9760]: User 
> "@243c393c-899b-4cb8-a128-1f3b4671a15f" disconnected (0 users remain)
> Mar  6 17:08:36 guacremote guacd[9760]: Last user of connection 
> "$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" disconnected
> Mar  6 17:08:36 guacremote guacd[989]: Connection 
> "$4fe8d7cf-be40-4e3f-aa8b-d4006746a99c" removed.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to