Vyacheslav created GUACAMOLE-797:
------------------------------------

             Summary: Cannot use russian login name with RDP
                 Key: GUACAMOLE-797
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-797
             Project: Guacamole
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Vyacheslav


I've just created new connections to WIndows Server 2016 Std with RDP protocol. 
One connection with EN login (like "administrator") works fine, but another 
connection, with RU login ("администратор") suddenly close when open.

With *MSTSC* or *wfreerdp* "ru" connection works fine.

*Syslog*:
{code:java}
May 17 07:02:06 debian9 guacd[2882]: Creating new client for protocol "rdp"
May 17 07:02:06 debian9 guacd[2882]: Connection ID is 
"$2beb4fc6-2dcd-4f79-8231-534376e6cd78"
May 17 07:02:06 debian9 guacd[18575]: Security mode: ANY
May 17 07:02:06 debian9 guacd[18575]: Resize method: none
May 17 07:02:06 debian9 guacd[18575]: User 
"@03eaa90f-a849-4278-b597-5b8b0f0cf9e3" joined connection 
"$2beb4fc6-2dcd-4f79-8231-534376e6cd78" (1 users now present)
May 17 07:02:06 debian9 guacd[18575]: Loading keymap "base"
May 17 07:02:06 debian9 guacd[18575]: Loading keymap "en-us-qwerty"
May 17 07:02:06 debian9 guacd[18575]: Error connecting to RDP server
May 17 07:02:06 debian9 guacd[18575]: User 
"@03eaa90f-a849-4278-b597-5b8b0f0cf9e3" disconnected (0 users remain)
May 17 07:02:06 debian9 guacd[18575]: Last user of connection 
"$2beb4fc6-2dcd-4f79-8231-534376e6cd78" disconnected
{code}
In *catalina.out* i found exception:
{code:java}
07:02:06.379 [http-nio-8080-exec-6] DEBUG o.a.i.t.jdbc.JdbcTransaction - 
Opening JDBC Connection
07:02:06.379 [http-nio-8080-exec-6] DEBUG o.a.i.d.pooled.PooledDataSource - 
Checked out connection 1608730906 from pool.
07:02:06.379 [http-nio-8080-exec-6] DEBUG o.a.i.d.pooled.PooledDataSource - 
Testing connection 1608730906 ...
07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.i.d.pooled.PooledDataSource - 
Connection 1608730906 is GOOD!
07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.i.t.jdbc.JdbcTransaction - 
Setting autocommit to false on JDBC Connection 
[com.mysql.jdbc.JDBC4Connection@5fe3491a]
07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.g.a.j.p.S.selectOne - ==> 
Preparing: SELECT DISTINCT ? AS entity_id, permission FROM 
guacamole_system_permission WHERE ( entity_id = ? OR entity_id IN ( SELECT 
guacamole_enti07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.g.a.j.p.S.selectOne 
- ==> Parameters: 7(Integer), 7(Integer), Admins(String), ADMINISTER(String)
07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.g.a.j.p.S.selectOne - <== Total: 1
07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.i.t.jdbc.JdbcTransaction - 
Resetting autocommit to true on JDBC Connection 
[com.mysql.jdbc.JDBC4Connection@5fe3491a]
07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.i.t.jdbc.JdbcTransaction - 
Closing JDBC Connection [com.mysql.jdbc.JDBC4Connection@5fe3491a]
07:02:06.380 [http-nio-8080-exec-6] DEBUG o.a.i.d.pooled.PooledDataSource - 
Returned connection 1608730906 to pool.
07:02:06.381 [http-nio-8080-exec-6] DEBUG 
o.m.g.t.TransactionalMethodInterceptor - [Intercepted method: public 
java.util.Collection<org.apache.guacamole.net.auth.SharingProfile> 
org.apache.guacamole.auth.jdbc.sharingprofi07:02:06.381 [http-nio-8080-exec-6] 
DEBUG o.m.g.t.TransactionalMethodInterceptor - [Intercepted method: public 
java.util.Collection<org.apache.guacamole.net.auth.SharingProfile> 
org.apache.guacamole.auth.jdbc.sharingprofi07:02:06.381 [http-nio-8080-exec-6] 
DEBUG o.m.g.t.TransactionalMethodInterceptor - [Intercepted method: public 
java.util.Collection<org.apache.guacamole.net.auth.SharingProfile> 
org.apache.guacamole.auth.jdbc.sharingprofi07:02:06.875 [http-nio-8080-exec-9] 
INFO o.a.g.tunnel.TunnelRequestService - User "litkovich" disconnected from 
connection "11". Duration: 567 milliseconds
07:02:06.875 [http-nio-8080-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - 
Closing socket to guacd.
Exception in thread "Thread-21" 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)
{code}
What can I do?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to