Hello, Might help. Upon no websocket available, Guacamole complaints: 14:40:38.225 [http-nio-127.0.0.1-8080-exec-10] INFO o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal.
But keeps going on, not an issue... Websocket being loaded in this case: 34:11.583 [localhost-startStop-1] INFO o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support... 14:34:11.616 [localhost-startStop-1] DEBUG o.a.guacamole.tunnel.TunnelModule - WebSocket module loaded: org.apache.guacamole.tunnel.websocket.WebSocketTunnelModule Maybe you should increase the log level of guacd and catalina ? Brgrds > Hello, > > Le Wed, 28 Nov 2018 09:43:15 -0800, > Mike Jumper <[email protected]> a écrit : > >> I recommend checking the Tomcat logs to verify that something on the network (a proxy perhaps?) is not causing WebSocket to fail and force Guacamole to fall back to HTTP. > > Doing a docker logs -f guac I get : > 13:37:20.529 [http-nio-8080-exec-3] INFO o.a.g.r.auth.AuthenticationService - User "2411c3c1-4458-4e1a-8984-f68d0972f4ef" successfully authenticated from 172.17.0.1. > [...] (get of js scripts) > 13:37:21.593 [http-nio-8080-exec-7] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/root/.guacamole". > 13:37:21.641 [http-nio-8080-exec-7] INFO o.a.g.tunnel.TunnelRequestService - User "2411c3c1-4458-4e1a-8984-f68d0972f4ef" connected to connection "05mc0prnoeuyr07nczbov8g7xmnq0ngf". > > Opening a new connection : > 13:40:16.515 [http-nio-8080-exec-1] INFO o.a.g.r.auth.AuthenticationService - User "7ec4a276-2171-4c75-be73-2e996fb30df4" successfully authenticated from 172.17.0.1. > 13:40:17.784 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - User "2411c3c1-4458-4e1a-8984-f68d0972f4ef" disconnected from connection "05mc0prnoeuyr07nczbov8g7xmnq0ngf". Duration: 176143 milliseconds 13:40:17.785 [Thread-44] INFO o.a.g.tunnel.TunnelRequestService - User "2411c3c1-4458-4e1a-8984-f68d0972f4ef" disconnected from connection "05mc0prnoeuyr07nczbov8g7xmnq0ngf". Duration: 176144 milliseconds 13:40:18.157 [http-nio-8080-exec-5] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/root/.guacamole". > 13:40:18.205 [http-nio-8080-exec-5] INFO o.a.g.tunnel.TunnelRequestService - User "7ec4a276-2171-4c75-be73-2e996fb30df4" connected to connection "f4vu8mselhc1l4ne32txba3io38uzd3x". > > So my first user gets disconnected immediately before the new connection. > > In guacd : > > First connection : > guacd[1]: INFO: Creating new client for protocol "rdp" > guacd[1]: INFO: Connection ID is "$79e22128-46bd-4d9d-bd51-79c8e8d28b3f" guacd[1169]: INFO: Security mode: NLA > guacd[1169]: INFO: Resize method: none > guacd[1169]: INFO: User "@fc29390b-19b1-459c-bb26-851b9b2fc47d" > joined > connection "$79e22128-46bd-4d9d-bd51-79c8e8d28b3f" (1 users now present) > guacd[1169]: INFO: Loading keymap "base" > guacd[1169]: INFO: Loading keymap "en-us-qwerty" > guacd[1169]: INFO: guacdr connected. > guacd[1169]: INFO: guacsnd connected. > guacd[1169]: INFO: Connected to RDPDR 1.12 as client 0x0001 > guacd[1169]: INFO: Ignoring server capability set type=0x0001, > length=44 guacd[1169]: INFO: Ignoring server capability set type=0x0002, length=8 guacd[1169]: INFO: Ignoring server capability set type=0x0003, length=8 guacd[1169]: INFO: Ignoring server capability set type=0x0004, length=8 guacd[1169]: INFO: Ignoring server capability set type=0x0005, length=8 guacd[1169]: INFO: Sending capabilities... > guacd[1169]: INFO: Capabilities sent. > guacd[1169]: INFO: Client ID confirmed > guacd[1169]: INFO: Connected to RDPDR 1.12 as client 0x0002 > guacd[1169]: INFO: Ignoring server capability set type=0x0001, > length=44 guacd[1169]: INFO: Ignoring server capability set type=0x0002, length=8 guacd[1169]: INFO: Ignoring server capability set type=0x0003, length=8 guacd[1169]: INFO: Ignoring server capability set type=0x0004, length=8 guacd[1169]: INFO: Ignoring server capability set type=0x0005, length=8 guacd[1169]: INFO: Sending capabilities... > guacd[1169]: INFO: Capabilities sent. > guacd[1169]: INFO: Client ID confirmed > guacd[1169]: INFO: User logged on > guacd[1169]: INFO: Sending filesystem > guacd[1169]: INFO: Registered device 0 (Guacamole Filesystem) guacd[1169]: INFO: All supported devices sent. > guacd[1169]: INFO: Device 0 (Guacamole Filesystem) connected > successfully > > Opening a new one : > guacd[1]: INFO: Creating new client for protocol "rdp" > guacd[1]: INFO: Connection ID is "$08f2c1ce-abc9-4eb4-8c58-021c3a522647" guacd[1179]: INFO: Security mode: NLA > guacd[1179]: INFO: Resize method: none > guacd[1179]: INFO: User "@797f9a10-236d-4123-b979-bbec1ff8d5d6" > joined > connection "$08f2c1ce-abc9-4eb4-8c58-021c3a522647" (1 users now present) > guacd[1179]: INFO: Loading keymap "base" > guacd[1179]: INFO: Loading keymap "en-us-qwerty" > guacd[1179]: INFO: guacdr connected. > guacd[1179]: INFO: guacsnd connected. > guacd[1179]: INFO: Connected to RDPDR 1.12 as client 0x0001 > guacd[1179]: INFO: Ignoring server capability set type=0x0001, > length=44 guacd[1179]: INFO: Ignoring server capability set type=0x0002, length=8 guacd[1179]: INFO: Ignoring server capability set type=0x0003, length=8 guacd[1179]: INFO: Ignoring server capability set type=0x0004, length=8 guacd[1179]: INFO: Ignoring server capability set type=0x0005, length=8 guacd[1179]: INFO: Sending capabilities... > guacd[1179]: INFO: Capabilities sent. > guacd[1179]: INFO: Client ID confirmed > guacd[1179]: INFO: Connected to RDPDR 1.12 as client 0x0003 > guacd[1179]: INFO: Ignoring server capability set type=0x0001, > length=44 guacd[1179]: INFO: Ignoring server capability set type=0x0002, length=8 guacd[1179]: INFO: Ignoring server capability set type=0x0003, length=8 guacd[1179]: INFO: Ignoring server capability set type=0x0004, length=8 guacd[1179]: INFO: Ignoring server capability set type=0x0005, length=8 guacd[1179]: INFO: Sending capabilities... > guacd[1179]: INFO: Capabilities sent. > guacd[1179]: INFO: Client ID confirmed > guacd[1179]: INFO: User logged on > guacd[1179]: INFO: Sending filesystem > guacd[1179]: INFO: Registered device 0 (Guacamole Filesystem) guacd[1179]: INFO: All supported devices sent. > guacd[1179]: INFO: Device 0 (Guacamole Filesystem) connected > successfully > > And after a few seconds (a much longer time than in guac) : > guacd[1169]: ERROR: User is not responding. > guacd[1169]: INFO: User "@fc29390b-19b1-459c-bb26-851b9b2fc47d" > disconnected (0 users remain) > guacd[1169]: INFO: Last user of connection > "$79e22128-46bd-4d9d-bd51-79c8e8d28b3f" disconnected > guacd[1169]: INFO: Unloading device 0 (Guacamole Filesystem) guacd[1169]: INFO: Internal RDP client disconnected > > But this "ERROR: User is not responding." is the same message I get when I close a tab. > > Apparently, no HTTP tunnel ? > >> >> If you are connecting to machines via RDP, you will also need to contend with RDP's limitations on session use. Windows will >> automatically kick an older session if the new session is for the same user. > > Of course, I use different servers to test the connection. > >> >> - Mike > > > >
