Kalimuthu  created GUACAMOLE-953:
------------------------------------

             Summary: Guacamole server error "The remote desktop server is 
currently unreachable" even RDP is working from default remote desktop connect
                 Key: GUACAMOLE-953
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-953
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole, guacd, RDP
    Affects Versions: 1.0.0
         Environment: Ubuntu 18.04.2 LTS
            Reporter: Kalimuthu 


when we try to connect the client(to RDP) from third party app via guacamole 
server. it say "The remote desktop server is currently unreachable. If the 
problem persists, please notify your system administrator, or check your system 
logs." but I am able to take the RDP for the same client from remote desktop 
connect from local same network. also I am able to connect the same client from 
Guacamole login portal which shows the client details configured in 
user-mapping.xml file. 

when I check the guacamole syslogs. guacd socket is closing.

*Logs from guacamole syslogs:*

2020-02-10 20:36:23,556 INFO [https-openssl-nio-443-exec-20] 
o.a.g.e.LocalEnvironment [LocalEnvironment.java:124] GUACAMOLE_HOME is 
"/etc/guacamole".
2020-02-10 20:36:23,557 DEBUG [https-openssl-nio-443-exec-20] 
o.a.g.n.InetGuacamoleSocket [InetGuacamoleSocket.java:90] Connecting to guacd 
at localhost:4822.
2020-02-10 20:36:23,616 INFO [https-openssl-nio-443-exec-20] 
o.a.g.t.TunnelRequestService [TunnelRequestService.java:225] User 
"6009da25-a61a-4090-83ee-479879a34f30" connected to connection "2130868029".
2020-02-10 20:36:23,666 INFO [https-openssl-nio-443-exec-18] 
o.a.g.t.TunnelRequestService [TunnelRequestService.java:323] User 
"6009da25-a61a-4090-83ee-479879a34f30" disconnected from connection 
"2130868029". Duration: 50 milliseconds
2020-02-10 20:36:23,666 DEBUG [https-openssl-nio-443-exec-18] 
o.a.g.n.InetGuacamoleSocket [InetGuacamoleSocket.java:122] Closing socket to 
guacd.
2020-02-10 20:36:23,667 DEBUG [Thread-971] 
o.a.g.w.GuacamoleWebSocketTunnelEndpoint 
[GuacamoleWebSocketTunnelEndpoint.java:274] Connection to guacd closed.
org.apache.guacamole.GuacamoleConnectionClosedException: Connection to guacd is 
closed.
        at 
org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:183)
 ~[guacamole-common-1.0.0.jar:na]
        at 
org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:195)
 ~[guacamole-common-1.0.0.jar:na]
        at 
org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)
 ~[guacamole-common-1.0.0.jar:na]
        at 
org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)
 ~[guacamole-common-1.0.0.jar:na]
        at 
org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:64)
 ~[guacamole-common-1.0.0.jar:na]
        at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:246)
 ~[guacamole-common-1.0.0.jar:na]
Caused by: java.net.SocketException: Socket closed
        at java.net.SocketInputStream.read(SocketInputStream.java:204) 
~[na:1.8.0_242]
        at java.net.SocketInputStream.read(SocketInputStream.java:141) 
~[na:1.8.0_242]
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) 
~[na:1.8.0_242]
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) 
~[na:1.8.0_242]
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[na:1.8.0_242]
        at java.io.InputStreamReader.read(InputStreamReader.java:184) 
~[na:1.8.0_242]
        at 
org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:169)
 ~[guacamole-common-1.0.0.jar:na]
        ... 5 common frames omitted**

*Getting guacd server status with error,*
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: Parameter "gateway-port" 
omitted. Using default value of 443.
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: User 
"@95ce06bd-0b70-400f-9a53-753ffda0b423" joined connection 
"$7f579074-597d-40b3-9a9a-c0021a323700" (1 users now present)
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: Client has not defined its 
protocol version.
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: Loading keymap "base"
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: Loading keymap "en-us-qwerty"
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: {color:#FF0000}Error connecting 
to RDP server{color}
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: User 
"@95ce06bd-0b70-400f-9a53-753ffda0b423" disconnected (0 users remain)
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: Last user of connection 
"$7f579074-597d-40b3-9a9a-c0021a323700" disconnected
Feb 10 20:25:32 ubuntu-VirtualBox guacd[25237]: Requesting termination of 
client...
Feb 10 20:25:33 ubuntu-VirtualBox guacd[25076]: Connection 
"$7f579074-597d-40b3-9a9a-c0021a323700" removed.


does anybody idea about this issue? Please help me to resolve this.



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

Reply via email to