You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2021/02/03 06:20:00 UTC

[jira] [Commented] (GUACAMOLE-1278) Not able to connect windows server remote desktop by using RDP protocol

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

Mike Jumper commented on GUACAMOLE-1278:
----------------------------------------

Hi [~amitjha],

From http://guacamole.apache.org/faq/#probably-not-a-bug:

{quote}
Please remember that Guacamole is used by many others without issue, and _the more fundamental a problem is, the less likely it’s a bug_. Before assuming that you have found a bug, perform basic troubleshooting steps to confirm that Guacamole itself is the only factor affecting whether things work correctly:

...
{quote}

There are some good pointers there on troubleshooting steps you can take. If you're still encountering trouble with something as fundamental as connecting with RDP or VNC, rather than open a JIRA issue, please post to the user@guacamole.apache.org mailing list and ask the community for assistance. We should be able to help you out there.

http://guacamole.apache.org/support/#mailing-lists


> Not able to connect windows server remote desktop by using RDP protocol
> -----------------------------------------------------------------------
>
>                 Key: GUACAMOLE-1278
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1278
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 1.3.0
>            Reporter: Amit Jha
>            Priority: Major
>
> 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



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