You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "McRoy, Jeffrey (GE Healthcare)" <Je...@ge.com> on 2018/09/04 14:07:42 UTC
VNC connection issues with RFB 3.3 server?
Hi Everyone,
In general, Guac’s VNC protocol plugin is very reliable. However, I occasionally run into connection issues. Below are example logs (IP addresses removed). If I try with a non-guac client I’m able to make a successful connection. I noticed the VNC server on the other end is using RFB 3.3. I assume Guac is using RFB 3.8. Could that be the issue?
Thanks & Regards,
Jeff
Guacd logs
guacd[18274]: INFO: Creating new client for protocol "vnc"
guacd[18274]: INFO: Connection ID is "$0280b21e-8296-47d0-83fe-f2ca53547eea"
guacd[18449]: INFO: Cursor rendering: local
guacd[18449]: INFO: User "@43da4fae-cd78-4d96-82e9-6fae1904aea9" joined connection "$0280b21e-8296-47d0-83fe-f2ca53547eea" (1 users now present)
guacd[18449]: ERROR: Unable to connect to VNC server.
guacd[18449]: ERROR: User is not responding.
guacd[18274]: INFO: Connection "$0280b21e-8296-47d0-83fe-f2ca53547eea" removed.
Guacamole backend logs
[http-nio-8000-exec-108] ERROR com.ge.hc.services.ffa.remoteconnect.tunnel.TunnelService - Error occured while establishing Guacamole connection
org.apache.guacamole.GuacamoleUpstreamException: Aborted. See logs.
at org.apache.guacamole.protocol.FailoverGuacamoleSocket.handleUpstreamErrors(FailoverGuacamoleSocket.java:113)
at org.apache.guacamole.protocol.FailoverGuacamoleSocket.<init>(FailoverGuacamoleSocket.java:173)
at com.ge.hc.services.ffa.remoteconnect.tunnel.TunnelService.createGuacamoleTunnel(TunnelService.java:107)
at com.ge.hc.services.ffa.remoteconnect.tunnel.TunnelService.createTunnel(TunnelService.java:54)
at com.ge.hc.services.ffa.remoteconnect.websocket.impl.RemoteConnectWebSocket.createTunnel(RemoteConnectWebSocket.java:79)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.onOpen(GuacamoleWebSocketTunnelEndpoint.java:110)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:127)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:703)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
VNC server logs on device
04/09/2018 15:00:12 Listening for VNC connections on TCP port 5900
04/09/2018 15:00:12 Listening for HTTP connections on TCP port 5800
04/09/2018 15:00:12 URL http://HDCT:5800
GEMS VNC Server ready
04/09/2018 15:00:13 pixel scan rate: 0.00Mpix/sec (1073.83sec/fb)
04/09/2018 15:00:13 pixel scan rate: 19.25Mpix/sec (0.13sec/fb)
04/09/2018 15:00:22 pixel scan rate: 0.04Mpix/sec (67.25sec/fb)
04/09/2018 15:00:23 pixel scan rate: 0.00Mpix/sec (1073.72sec/fb)
04/09/2018 15:00:23 pixel scan rate: 19.05Mpix/sec (0.13sec/fb)
04/09/2018 15:00:31 pixel scan rate: 18.95Mpix/sec (0.13sec/fb)
[FFA/Guacamole connection fails]
04/09/2018 15:00:37 Got connection from client xxx.xxx.xxx.xxx
04/09/2018 15:00:37 other clients:
04/09/2018 15:00:37 Protocol version 3.3
04/09/2018 15:00:38 rfbProcessClientNormalMessage: read: Connection reset by peer
04/09/2018 15:00:38 Closing client connection xxx.xxx.xxx.xxx
04/09/2018 15:00:38 Client xxx.xxx.xxx.xxx gone
04/09/2018 15:00:38 Statistics:
04/09/2018 15:00:38 framebuffer updates 0, rectangles 0, megabytes 0.0
Successful connection with a non-guac client
04/09/2018 15:01:43 Got connection from client xxx.xxx.xxx.xxx
04/09/2018 15:01:43 other clients:
04/09/2018 15:01:44 Protocol version 3.3
04/09/2018 15:01:46 pixel scan rate: 0.04Mpix/sec (67.24sec/fb)
04/09/2018 15:01:46 pixel scan rate: 19.28Mpix/sec (0.13sec/fb)
04/09/2018 15:01:46 valid rfbSetPixelFormat (last type 4): 00 00 00 00 08 08 00 01 00 07 00 07 00 03 00 03 06 00 00 00
04/09/2018 15:01:46 Pixel format for client xxx.xxx.xxx.xxx:
04/09/2018 15:01:46 8 bpp, depth 8
04/09/2018 15:01:46 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
04/09/2018 15:01:47 Using tight encoding for client xxx.xxx.xxx.xxx
04/09/2018 15:01:47 Enabling X-style cursor updates for client xxx.xxx.xxx.xxx
04/09/2018 15:01:47 Enabling full-color cursor updates for client xxx.xxx.xxx.xxx
04/09/2018 15:01:47 Ignoring mouse pointer shape hint 0xffffff18 from client xxx.xxx.xxx.xxx
04/09/2018 15:01:47 Enabling LastRect protocol extension for client xxx.xxx.xxx.xxx
04/09/2018 15:01:47 Ignoring extension request 0xffffff21 from client xxx.xxx.xxx.xxx
04/09/2018 15:01:54 Initial client bandwidth > 232.8kbit/sec
04/09/2018 15:01:54 Client bandwidth ~ 232.8kbit/sec
04/09/2018 15:01:55 pixel scan rate: 0.04Mpix/sec (67.24sec/fb)
04/09/2018 15:01:55 pixel scan rate: 19.31Mpix/sec (0.13sec/fb)
04/09/2018 15:02:04 pixel scan rate: 0.04Mpix/sec (67.24sec/fb)
04/09/2018 15:02:04 pixel scan rate: 19.25Mpix/sec (0.13sec/fb)
04/09/2018 15:02:05 Client bandwidth ~ 232.8kbit/sec