LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2024, 09:04 AM   #1
Lindgren
LQ Newbie
 
Registered: Jan 2013
Location: Sweden
Distribution: Various
Posts: 17

Rep: Reputation: Disabled
Question Apache Guacamole fails on some computers


Hi!

Since a couple of months I have had issues with Guacamole, earlier it always worked perfectly for several years. At first I noticed that my instance was a bit outdated so I removed it and installed a new one, this time through a installer script which added it to dockers with 2FA and the whole shebang! Super nice I thought as I tested this at home, no problem.

Checked this on my work-laptop and after the login part and 2FA, it fails.

All still works perfectly on my phone and personal laptop, and the logs doesn't say much really either.

Quote:
guacd[1]: INFO: Guacamole proxy daemon (guacd) version 1.5.4 started
guacd[1]: INFO: Listening on host 0.0.0.0, port 4822
Quote:
2024-01-24 10:48:13+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.25-1debian10 started.
2024-01-24T10:48:13.675944Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.25) starting as process 1
2024-01-24T10:48:13.695331Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-01-24T10:48:14.222890Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-01-24T10:48:14.434970Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2024-01-24T10:48:14.551802Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-01-24T10:48:14.552146Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-01-24T10:48:14.554544Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-01-24T10:48:14.589704Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.25' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
mbind: Operation not permitted
mbind: Operation not permitted
mbind: Operation not permitted
mbind: Operation not permitted
Quote:
16:07:24.137 [http-nio-8080-exec-7] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
16:07:42.907 [http-nio-8080-exec-3] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
08:44:55.487 [http-nio-8080-exec-4] WARN o.a.i.d.pooled.PooledDataSource - Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 142,599,441 milliseconds ago. The last packet sent successfully to the server was 142,599,441 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
08:45:35.763 [http-nio-8080-exec-1] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
08:45:51.991 [http-nio-8080-exec-8] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
08:47:58.088 [http-nio-8080-exec-9] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
08:48:15.904 [http-nio-8080-exec-2] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
08:48:26.315 [http-nio-8080-exec-6] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
08:48:37.178 [http-nio-8080-exec-3] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
08:48:55.428 [http-nio-8080-exec-9] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
09:08:40.677 [http-nio-8080-exec-2] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
09:08:57.009 [http-nio-8080-exec-5] INFO o.a.g.r.auth.AuthenticationService - User "johan" successfully authenticated from [x.x.x.x, 172.16.8.1].
There is a couple of warnings such as misplaced pid-files and also the "Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 142,599,441 milliseconds ago..." however I am quite sure that is not relative to my connections, but only that it fails after a long couple of hours with no data. I can still connect on my phone so it must be something else.
I am also using a nginx reverse proxy, which I rechecked the settings with the settings they recommend.
There is also the "mbind: Operation not permitted" which I cannot really trace, since there is no time stamp and also it comes... sometimes, not always when I connect.

The error screen simply says "An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs." which I see mostly if there is an sql error on the back-end but I cannot figure out why or where..?
 
Old 03-05-2024, 03:48 AM   #2
Lindgren
LQ Newbie
 
Registered: Jan 2013
Location: Sweden
Distribution: Various
Posts: 17

Original Poster
Rep: Reputation: Disabled
The problem was solved.
At times I thought that perhaps my work network blocked some traffic, but it didn't seem likely.

Turned out that I had an old parameter in my nginx reverse proxy
proxy_set_header Connection $connection_upgrade;
which should be:
proxy_set_header Connection $http_connection;

I don't know why it worked from some computers though. Never found a error anywhere which seemed viable or pointing to this.
 
Old 03-05-2024, 07:43 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,693
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
"Guacamole ..." Score one more point to the Apache Foundation for coming up with meaningless product names which suggest nothing about what the thing actually does. (First place still goes to Sun Microsystems, for naming an entire programming-language system after a cup of coffee.)
 
Old 03-05-2024, 08:15 AM   #4
Lindgren
LQ Newbie
 
Registered: Jan 2013
Location: Sweden
Distribution: Various
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
"Guacamole ..." Score one more point to the Apache Foundation for coming up with meaningless product names which suggest nothing about what the thing actually does. (First place still goes to Sun Microsystems, for naming an entire programming-language system after a cup of coffee.)
Heh.. yeah, at least you tend to drink a lot of coffee when coding, whatabout Gimp then? :-)
 
  


Reply

Tags
nginx, reverse proxy



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Apache Guacamole server configure fails looking for cairo_create skubik Slackware - ARM 1 03-19-2023 09:56 PM
LXer: How to use Apache Guacamole to create a VNC Connection LXer Syndicated Linux News 0 03-28-2022 12:26 PM
LXer: How to Install and Use Apache Guacamole Remote Desktop on Rocky Linux 8 LXer Syndicated Linux News 0 03-17-2022 04:57 PM
LXer: How to Install Apache Guacamole on Debian 11 LXer Syndicated Linux News 0 02-23-2022 06:09 PM
LXer: Need desktop access over the Web? Try some Guacamole LXer Syndicated Linux News 0 05-05-2010 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration