From user-return-4769-archive-asf-public=cust-asf.ponee.io@guacamole.apache.org Fri Nov 30 15:30:43 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7F594180671 for ; Fri, 30 Nov 2018 15:30:42 +0100 (CET) Received: (qmail 1621 invoked by uid 500); 30 Nov 2018 14:30:41 -0000 Mailing-List: contact user-help@guacamole.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.apache.org Delivered-To: mailing list user@guacamole.apache.org Received: (qmail 1611 invoked by uid 99); 30 Nov 2018 14:30:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2018 14:30:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 24D67C01C1 for ; Fri, 30 Nov 2018 14:30:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.201 X-Spam-Level: X-Spam-Status: No, score=-0.201 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=argosnet.com; domainkeys=pass (1024-bit key) header.from=B3r3n@argosnet.com header.d=argosnet.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4TQL3IUA9GN0 for ; Fri, 30 Nov 2018 14:30:39 +0000 (UTC) Received: from mx.argosnet.com (ns.argosnet.com [37.59.226.0]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 89A495F336 for ; Fri, 30 Nov 2018 14:30:38 +0000 (UTC) Received: from mx.argosnet.com (ns.argosnet.com [37.59.226.0]) by mx.argosnet.com (Postfix) with ESMTP id 2D405B4C11; Fri, 30 Nov 2018 15:30:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=argosnet.com; h=message-id :date:subject:from:to:cc:mime-version:content-type :content-transfer-encoding; s=mx; bh=2JBXt1V8beKR5nFBhsZlyiIVBBw =; b=G/ncYfle9/CA6O85BLQ/Bv4rHhQM3SfmibfUSEqtZPBDP/U/fiRoZneOc+m 0ZDgdHTCSQ8EHUIFrt9tB3Y+FhN5BaG/sHOS4NlX03omjY01Egeq9qGnV50U5PJg OWWk20F8b5vobx5jO7Xg7mZL5z1nxxPSkApITthALnLoZ49U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=argosnet.com; h=message-id :date:subject:from:to:cc:mime-version:content-type :content-transfer-encoding; q=dns; s=mx; b=pmMGzxiuEIqzBVxf/8lRK Q+eiKpZa4Zc3Z01wLfh/ox2eMRDHC71z2jRMw9T0LsnbTbkcyLofR/CWr/Xq937a +btTVguD2wVjUcWON8TaSL4KHw1xgicfqnK7pHExm2/9Fv2w6WTWNEl8tSsDQ16l MekFho3D0LH/TIdSlqKDI0= Received: from wm.argosnet.com (ns.argosnet.com [37.59.226.0]) (Authenticated sender: llevier@pop.argosnet.com) by mx.argosnet.com (Postfix) with ESMTPA id 10302B4C08; Fri, 30 Nov 2018 15:30:38 +0100 (CET) Received: from 57.66.185.161 (SquirrelMail authenticated user llevier) by wm.argosnet.com with HTTP; Fri, 30 Nov 2018 15:30:38 +0100 Message-ID: <89ddcc61faaadf647deb0d4759faf20e.squirrel@wm.argosnet.com> Date: Fri, 30 Nov 2018 15:30:38 +0100 Subject: Re: Multiple guacamole sessions From: "B3r3n" To: user@guacamole.apache.org Cc: "Mike Jumper" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable 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.TunnelMod= ule - 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 a =C3=A9crit : > >> 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.AuthenticationSe= rvice - 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.LocalEnviro= nment - GUACAMOLE_HOME is "/root/.guacamole". > 13:37:21.641 [http-nio-8080-exec-7] INFO o.a.g.tunnel.TunnelRequestSer= vice - 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.AuthenticationSe= rvice - 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.TunnelRequestSer= vice - User "2411c3c1-4458-4e1a-8984-f68d0972f4ef" disconnected from connectio= n "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.LocalEnvironm= ent - GUACAMOLE_HOME is "/root/.guacamole". > 13:40:18.205 [http-nio-8080-exec-5] INFO o.a.g.tunnel.TunnelRequestSer= vice - User "7ec4a276-2171-4c75-be73-2e996fb30df4" connected to connection "f4vu8mselhc1l4ne32txba3io38uzd3x". > > So my first user gets disconnected immediately before the new connectio= n. > > In guacd : > > First connection : > guacd[1]: INFO: Creating new client for protocol "rdp" > guacd[1]: INFO: Connection ID is "$79e22128-46bd-4d9d-bd51-79c8e8d2= 8b3f" guacd[1169]: INFO: Security mode: NLA > guacd[1169]: INFO: Resize method: none > guacd[1169]: INFO: User "@fc29390b-19b1-459c-bb26-851b9b2fc47d" joi= ned > 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=3D0x0001, le= ngth=3D44 guacd[1169]: INFO: Ignoring server capability set type=3D0x0002, length=3D= 8 guacd[1169]: INFO: Ignoring server capability set type=3D0x0003, length=3D= 8 guacd[1169]: INFO: Ignoring server capability set type=3D0x0004, length=3D= 8 guacd[1169]: INFO: Ignoring server capability set type=3D0x0005, length=3D= 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=3D0x0001, le= ngth=3D44 guacd[1169]: INFO: Ignoring server capability set type=3D0x0002, length=3D= 8 guacd[1169]: INFO: Ignoring server capability set type=3D0x0003, length=3D= 8 guacd[1169]: INFO: Ignoring server capability set type=3D0x0004, length=3D= 8 guacd[1169]: INFO: Ignoring server capability set type=3D0x0005, length=3D= 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 succes= sfully > > Opening a new one : > guacd[1]: INFO: Creating new client for protocol "rdp" > guacd[1]: INFO: Connection ID is "$08f2c1ce-abc9-4eb4-8c58-021c3a52= 2647" guacd[1179]: INFO: Security mode: NLA > guacd[1179]: INFO: Resize method: none > guacd[1179]: INFO: User "@797f9a10-236d-4123-b979-bbec1ff8d5d6" joi= ned > 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=3D0x0001, le= ngth=3D44 guacd[1179]: INFO: Ignoring server capability set type=3D0x0002, length=3D= 8 guacd[1179]: INFO: Ignoring server capability set type=3D0x0003, length=3D= 8 guacd[1179]: INFO: Ignoring server capability set type=3D0x0004, length=3D= 8 guacd[1179]: INFO: Ignoring server capability set type=3D0x0005, length=3D= 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=3D0x0001, le= ngth=3D44 guacd[1179]: INFO: Ignoring server capability set type=3D0x0002, length=3D= 8 guacd[1179]: INFO: Ignoring server capability set type=3D0x0003, length=3D= 8 guacd[1179]: INFO: Ignoring server capability set type=3D0x0004, length=3D= 8 guacd[1179]: INFO: Ignoring server capability set type=3D0x0005, length=3D= 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 succes= sfully > > 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 whe= n I close a tab. > > Apparently, no HTTP tunnel ? > >> >> If you are connecting to machines via RDP, you will also need to conte= nd 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 > > > >