Are these errors useful? Can you see why my connection is being disconnected?
Sep 19 12:55:15 bab-pc tomcat9[944]: 12:55:15.390 [http-nio-8080-exec-5] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "1". Sep 19 12:55:15 bab-pc guacd[25666]: Unable to connect to any addresses. Sep 19 12:55:15 bab-pc guacd[25666]: guacd[25666]: ERROR:#011Unable to connect to any addresses. Sep 19 12:55:15 bab-pc tomcat9[944]: 12:55:15.436 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "1". Duration: 46 milliseconds Sep 19 12:55:15 bab-pc guacd[25666]: User "@bbe9783a-1f4a-4ec3-a218-4e282b5e1fd3" disconnected (0 users remain) Sep 19 12:55:15 bab-pc guacd[25666]: guacd[25666]: INFO:#011User "@bbe9783a-1f4a-4ec3-a218-4e282b5e1fd3" disconnected (0 users remain) Sep 19 12:55:15 bab-pc guacd[25666]: Last user of connection "$09dcece9-0f26-406b-9a3e-b3cbc2817c0f" disconnected Sep 19 12:55:15 bab-pc guacd[25666]: guacd[25666]: INFO:#011Last user of connection "$09dcece9-0f26-406b-9a3e-b3cbc2817c0f" disconnected Sep 19 12:55:15 bab-pc guacd[898]: Connection "$09dcece9-0f26-406b-9a3e-b3cbc2817c0f" removed. Sep 19 12:55:15 bab-pc guacd[898]: guacd[898]: INFO:#011Connection "$09dcece9-0f26-406b-9a3e-b3cbc2817c0f" removed. Sep 19 12:55:31 bab-pc guacd[898]: Creating new client for protocol "ssh" Sep 19 12:55:31 bab-pc guacd[898]: guacd[898]: INFO:#011Creating new client for protocol "ssh" Sep 19 12:55:31 bab-pc guacd[898]: guacd[898]: INFO:#011Connection ID is "$f8a391bf-704c-4cbb-a4dd-3594836de5da" Sep 19 12:55:31 bab-pc guacd[898]: Connection ID is "$f8a391bf-704c-4cbb-a4dd-3594836de5da" Sep 19 12:55:31 bab-pc guacd[25684]: User "@7b9cc07a-b2dc-4fdc-b18d-1f34792bae2f" joined connection "$f8a391bf-704c-4cbb-a4dd-3594836de5da" (1 users now present) Sep 19 12:55:31 bab-pc guacd[25684]: guacd[25684]: INFO:#011User "@7b9cc07a-b2dc-4fdc-b18d-1f34792bae2f" joined connection "$f8a391bf-704c-4cbb-a4dd-3594836de5da" (1 users now present) Sep 19 12:55:31 bab-pc tomcat9[944]: 12:55:31.504 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "1". Sep 19 12:55:31 bab-pc guacd[25684]: Unable to connect to any addresses. Sep 19 12:55:31 bab-pc guacd[25684]: guacd[25684]: ERROR:#011Unable to connect to any addresses. Sep 19 12:55:31 bab-pc guacd[25684]: User "@7b9cc07a-b2dc-4fdc-b18d-1f34792bae2f" disconnected (0 users remain) Sep 19 12:55:31 bab-pc guacd[25684]: guacd[25684]: INFO:#011User "@7b9cc07a-b2dc-4fdc-b18d-1f34792bae2f" disconnected (0 users remain) Sep 19 12:55:31 bab-pc guacd[25684]: guacd[25684]: INFO:#011Last user of connection "$f8a391bf-704c-4cbb-a4dd-3594836de5da" disconnected Sep 19 12:55:31 bab-pc guacd[25684]: Last user of connection "$f8a391bf-704c-4cbb-a4dd-3594836de5da" disconnected Sep 19 12:55:31 bab-pc guacd[898]: Connection "$f8a391bf-704c-4cbb-a4dd-3594836de5da" removed. Sep 19 12:55:31 bab-pc guacd[898]: guacd[898]: INFO:#011Connection "$f8a391bf-704c-4cbb-a4dd-3594836de5da" removed. Sep 19 12:55:31 bab-pc tomcat9[944]: 12:55:31.554 [Thread-703] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "1". Duration: 50 milliseconds Sep 19 12:55:47 bab-pc guacd[898]: Creating new client for protocol "ssh" Sep 19 12:55:47 bab-pc guacd[898]: guacd[898]: INFO:#011Creating new client for protocol "ssh" Sep 19 12:55:47 bab-pc guacd[898]: guacd[898]: INFO:#011Connection ID is "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" Sep 19 12:55:47 bab-pc guacd[898]: Connection ID is "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" Sep 19 12:55:47 bab-pc guacd[25702]: User "@3cb80d3e-2ef3-4b2f-89db-cce59472cc6e" joined connection "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" (1 users now present) Sep 19 12:55:47 bab-pc guacd[25702]: guacd[25702]: INFO:#011User "@3cb80d3e-2ef3-4b2f-89db-cce59472cc6e" joined connection "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" (1 users now present) Sep 19 12:55:47 bab-pc tomcat9[944]: 12:55:47.605 [http-nio-8080-exec-1] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "1". Sep 19 12:55:47 bab-pc guacd[25702]: Unable to connect to any addresses. Sep 19 12:55:47 bab-pc guacd[25702]: guacd[25702]: ERROR:#011Unable to connect to any addresses. Sep 19 12:55:47 bab-pc guacd[25702]: User "@3cb80d3e-2ef3-4b2f-89db-cce59472cc6e" disconnected (0 users remain) Sep 19 12:55:47 bab-pc guacd[25702]: guacd[25702]: INFO:#011User "@3cb80d3e-2ef3-4b2f-89db-cce59472cc6e" disconnected (0 users remain) Sep 19 12:55:47 bab-pc guacd[25702]: guacd[25702]: INFO:#011Last user of connection "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" disconnected Sep 19 12:55:47 bab-pc guacd[25702]: Last user of connection "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" disconnected Sep 19 12:55:47 bab-pc tomcat9[944]: 12:55:47.652 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "1". Duration: 47 milliseconds Sep 19 12:55:47 bab-pc guacd[898]: Connection "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" removed. Sep 19 12:55:47 bab-pc guacd[898]: guacd[898]: INFO:#011Connection "$d0ea0ee6-6d92-4541-a4f7-fb34814df9cb" removed. Sep 19 12:56:03 bab-pc guacd[898]: Creating new client for protocol "ssh" Sep 19 12:56:03 bab-pc guacd[898]: guacd[898]: INFO:#011Creating new client for protocol "ssh" Sep 19 12:56:03 bab-pc guacd[898]: guacd[898]: INFO:#011Connection ID is "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" Sep 19 12:56:03 bab-pc guacd[898]: Connection ID is "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" Sep 19 12:56:03 bab-pc guacd[25720]: User "@32a2861d-3fe3-4ddc-9193-a4e4d912fdc6" joined connection "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" (1 users now present) Sep 19 12:56:03 bab-pc guacd[25720]: guacd[25720]: INFO:#011User "@32a2861d-3fe3-4ddc-9193-a4e4d912fdc6" joined connection "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" (1 users now present) Sep 19 12:56:03 bab-pc tomcat9[944]: 12:56:03.895 [http-nio-8080-exec-7] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "1". Sep 19 12:56:03 bab-pc guacd[25720]: Unable to connect to any addresses. Sep 19 12:56:03 bab-pc guacd[25720]: guacd[25720]: ERROR:#011Unable to connect to any addresses. Sep 19 12:56:03 bab-pc guacd[25720]: User "@32a2861d-3fe3-4ddc-9193-a4e4d912fdc6" disconnected (0 users remain) Sep 19 12:56:03 bab-pc guacd[25720]: guacd[25720]: INFO:#011User "@32a2861d-3fe3-4ddc-9193-a4e4d912fdc6" disconnected (0 users remain) Sep 19 12:56:03 bab-pc guacd[25720]: guacd[25720]: INFO:#011Last user of connection "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" disconnected Sep 19 12:56:03 bab-pc guacd[25720]: Last user of connection "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" disconnected Sep 19 12:56:03 bab-pc tomcat9[944]: 12:56:03.948 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "1". Duration: 53 milliseconds Sep 19 12:56:03 bab-pc guacd[898]: Connection "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" removed. Sep 19 12:56:03 bab-pc guacd[898]: guacd[898]: INFO:#011Connection "$a1821669-7d2c-4dc7-a01c-9bb3401aa3c7" removed. ------- Original Message ------- Op dinsdag 19 september 2023 om 4:45 PM schreef Nick Couchman <[email protected]>: > On Tue, Sep 19, 2023 at 10:38 AM ali.masoudi0 > <[email protected]> wrote: > >> Do these errors tell you anything? >> >> [2023-09-19 12:59:36] [info] Starting Servlet engine: [Apache Tomcat/9.0.58 >> (Ubuntu)] >> [2023-09-19 12:59:37] [info] Deploying web application archive >> [/var/lib/tomcat9/webapps/guacamole.war] >> [2023-09-19 12:59:43] [info] At least one JAR was scanned for TLDs yet >> contained no TLDs. Enable debug logging for this logger for a complete list >> of JARs that were scanned but no TLDs were found in the> >> [2023-09-19 12:59:44] [info] 12:59:44.028 [main] INFO >> o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole". >> [2023-09-19 12:59:44] [info] 12:59:44.130 [main] INFO >> o.a.g.GuacamoleServletContextListener - Read configuration parameters from >> "/etc/guacamole/guacamole.properties". >> [2023-09-19 12:59:44] [info] 12:59:44.132 [main] INFO >> o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60 minutes >> of inactivity. >> [2023-09-19 12:59:44] [info] 12:59:44.601 [main] INFO >> o.a.g.a.mysql.conf.MySQLEnvironment - Installed JDBC driver for >> MySQL/MariaDB detected as "MySQL Connector/J". >> [2023-09-19 12:59:45] [info] 12:59:45.620 [main] INFO >> o.a.g.extension.ExtensionModule - Extension "MySQL Authentication" (mysql) >> loaded. >> [2023-09-19 12:59:45] [info] 12:59:45.774 [main] INFO >> o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support... >> [2023-09-19 12:59:46] [info] 12:59:46.344 [main] WARN >> o.g.jersey.server.wadl.WadlFeature - JAXBContext implementation could not be >> found. WADL feature is disabled. >> [2023-09-19 12:59:46] [info] Deployment of web application archive >> [/var/lib/tomcat9/webapps/guacamole.war] has finished in [9,410] ms >> [2023-09-19 12:59:46] [info] Deploying web application directory >> [/var/lib/tomcat9/webapps/ROOT] >> [2023-09-19 12:59:47] [info] At least one JAR was scanned for TLDs yet >> contained no TLDs. Enable debug logging for this logger for a complete list >> of JARs that were scanned but no TLDs were found in the> >> [2023-09-19 12:59:47] [info] Deployment of web application directory >> [/var/lib/tomcat9/webapps/ROOT] has finished in [523] ms >> [2023-09-19 12:59:47] [info] Starting ProtocolHandler ["http-nio-8080"] >> [2023-09-19 12:59:47] [info] Server startup in [10697] milliseconds >> [2023-09-19 16:32:58] [info] Loading class `com.mysql.jdbc.Driver'. This is >> deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver >> is automatically registered via the SPI and manual > >> [2023-09-19 16:33:01] [info] 16:33:01.975 [http-nio-8080-exec-9] INFO >> o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully >> authenticated from 127.0.0.1. >> [2023-09-19 16:33:09] [info] 16:33:09.290 [http-nio-8080-exec-8] INFO >> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection >> "1". >> [2023-09-19 16:33:09] [info] 16:33:09.425 [http-nio-8080-exec-2] INFO >> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from >> connection "1". Duration: 127 milliseconds >> [2023-09-19 16:33:13] [info] 16:33:13.264 [http-nio-8080-exec-10] INFO >> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection >> "2". >> [2023-09-19 16:33:13] [info] 16:33:13.317 [http-nio-8080-exec-7] INFO >> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from >> connection "2". Duration: 53 milliseconds > > Just that the client-side is working correctly - it is connecting to the > tunnel and then getting disconnected. > > You'll need to grab the guacd logs (syslog, journalctl, wherever your system > logs those) and figure out why guacd is disconnecting. > > -Nick
