Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1278

Not able to connect windows server remote desktop by using RDP protocol

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: guacamole
    • Labels:
      None

      Description

      I am using guacamole server 1.3.0 and client 1.3.0 on rhel 8 server. Here I can able to connect other Linux server by using SSH protocol, but when I try to connect windows server by using RDP or VNC nothing happing. I am passing correct server name and credential on user-mapping.xml document because I can able to connect windows server from my local machine (windows OS) with same credential. When I try to connect windows server with guacamole client getting message "connection to guacd closed".

      Servers are present inside corporate firewall, I mean guacd server and other servers which I am trying to connect. 

       

      Please help me.

       

      Logs are below:

       

      12:25:05.990 [http-nio-8180-exec-9] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
      12:25:05.992 [http-nio-8180-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at 127.0.0.1:4822.
      12:25:06.040 [http-nio-8180-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "amitjha" connected to connection "SRMT_UAT".
      12:25:06.068 [http-nio-8180-exec-10] DEBUG o.a.g.rest.RESTExceptionMapper - Client request rejected: No readable active connection for tunnel.
      12:25:06.091 [Thread-7] INFO o.a.g.tunnel.TunnelRequestService - User "amitjha" disconnected from connection "SRMT_UAT". Duration: 51 milliseconds
      12:25:06.091 [Thread-7] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd.
      12:25:06.094 [http-nio-8180-exec-3] DEBUG o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd closed.
      org.apache.guacamole.GuacamoleConnectionClosedException: Connection to guacd is closed.
      at org.apache.guacamole.io.WriterGuacamoleWriter.write(WriterGuacamoleWriter.java:64)
      at org.apache.guacamole.io.WriterGuacamoleWriter.write(WriterGuacamoleWriter.java:73)
      at org.apache.guacamole.io.WriterGuacamoleWriter.writeInstruction(WriterGuacamoleWriter.java:78)
      at org.apache.guacamole.protocol.FilteredGuacamoleWriter.writeInstruction(FilteredGuacamoleWriter.java:98)
      at org.apache.guacamole.protocol.FilteredGuacamoleWriter.write(FilteredGuacamoleWriter.java:81)
      at org.apache.guacamole.protocol.FilteredGuacamoleWriter.write(FilteredGuacamoleWriter.java:89)
      at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.onMessage(GuacamoleWebSocketTunnelEndpoint.java:345)
      at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$1.onMessage(GuacamoleWebSocketTunnelEndpoint.java:220)
      at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$1.onMessage(GuacamoleWebSocketTunnelEndpoint.java:216)
      at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:402)
      at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:119)
      at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:502)
      at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:301)
      at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:133)
      at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:82)
      at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:171)
      at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:151)
      at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
      at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:59)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.net.SocketException: Socket closed
      at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
      at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
      at java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)
      at java.base/sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:312)
      at java.base/sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:316)
      at java.base/sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:153)
      at java.base/java.io.OutputStreamWriter.flush(OutputStreamWriter.java:251)
      at org.apache.guacamole.io.WriterGuacamoleWriter.write(WriterGuacamoleWriter.java:58)
      ... 26 common frames omitted

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              amitjha Amit Jha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: