guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EricSten <iam.erics...@gmail.com>
Subject Websocket tunnel connection time out issues
Date Sat, 09 Sep 2017 01:35:13 GMT
I am trying to get Guacamole 0.9.13 up and running on a FreeBSD 10.3
environment and am having difficulties.  I've complied both the server and
the client from the FreeBSD ports and installed all the other required
packages (I believe at least).  The guacd service starts up and runs on port
4822, and the client package is installed under Tomcat 8.  I'm able to log
into the Guacamole front end and have configured an SSH and RDP connection
in the user-mapping.xml file.  However, when I try to connect to either I
get the "Connected to Guacamole. Waiting for response..." message.  The
sessions never connect.  Setting the debug level in the guacd.conf file and
viewing the catalina.out log file I find the following error(s):

21:13:52.494 [http-nio-8080-exec-4] DEBUG
o.a.g.a.f.FileAuthenticationProvider - Reading user mapping file:
"/root/.guacamole/user-mapping.xml"
21:13:52.521 [http-nio-8080-exec-4] DEBUG o.a.g.r.auth.AuthenticationService
- Anonymous authentication attempt from 192.168.0.130 failed.
21:13:56.784 [http-nio-8080-exec-6] INFO  o.a.g.r.auth.AuthenticationService
- User "guacamole" successfully authenticated from 192.168.0.130.
21:13:56.799 [http-nio-8080-exec-6] DEBUG o.a.g.r.auth.AuthenticationService
- Login was successful for user "guacamole".
21:14:01.037 [http-nio-8080-exec-4] DEBUG o.a.g.net.InetGuacamoleSocket -
Connecting to guacd at localhost:4822.
21:14:16.077 [http-nio-8080-exec-4] ERROR
o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to
guacd failed: Connection to guacd timed out.
21:14:16.087 [http-nio-8080-exec-4] DEBUG
o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Error connecting WebSocket
tunnel.
org.apache.guacamole.GuacamoleUpstreamTimeoutException: Connection to guacd
timed out.
        at
org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:180)
~[guacamole-common-0.9.13-incubating.jar:na]
        at
org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:195)
~[guacamole-common-0.9.13-incubating.jar:na]
        at
org.apache.guacamole.protocol.ConfiguredGuacamoleSocket.expect(ConfiguredGuacamoleSocket.java:74)
~[guacamole-common-0.9.13-incubating.jar:na]
        at
org.apache.guacamole.protocol.ConfiguredGuacamoleSocket.<init>(ConfiguredGuacamoleSocket.java:136)
~[guacamole-common-0.9.13-incubating.jar:na]
        at
org.apache.guacamole.net.auth.simple.SimpleConnection.connect(SimpleConnection.java:123)
~[guacamole-ext-0.9.13-incubating.jar:na]
        at
org.apache.guacamole.tunnel.TunnelRequestService.createConnectedTunnel(TunnelRequestService.java:160)
~[classes/:na]
        at
org.apache.guacamole.tunnel.TunnelRequestService.createTunnel(TunnelRequestService.java:329)
~[classes/:na]
        at
org.apache.guacamole.tunnel.websocket.RestrictedGuacamoleWebSocketTunnelEndpoint.createTunnel(RestrictedGuacamoleWebSocketTunnelEndpoint.java:113)
~[classes/:na]
        at
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.onOpen(GuacamoleWebSocketTunnelEndpoint.java:110)
~[guacamole-common-0.9.13-incubating.jar:na]
        at
org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:127)
[tomcat-websocket.jar:8.0.43]
        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:717)
[tomcat-coyote.jar:8.0.43]
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
[tomcat-coyote.jar:8.0.43]
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
[tomcat-coyote.jar:8.0.43]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_131]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_131]
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util.jar:8.0.43]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
~[na:1.8.0_131]
        at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
~[na:1.8.0_131]
        at java.net.SocketInputStream.read(SocketInputStream.java:171)
~[na:1.8.0_131]
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
~[na:1.8.0_131]
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
~[na:1.8.0_131]
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
~[na:1.8.0_131]
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
~[na:1.8.0_131]
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
~[na:1.8.0_131]
        at
org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:169)
~[guacamole-common-0.9.13-incubating.jar:na]
        ... 16 common frames omitted

Any suggestions as to what might be causing the inability to connect to the
guacamole service?  Suggestions on where to look?  

I currently have guacamole 0.9.9 running in another FreeBSD 10.3 environment
and everything is working properly, I just am unable to get any later
versions to run.

  Thank you in advance

    Eric Sten



--
Sent from: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/

Mime
View raw message