Hi,After more than 3 weeks without any internet connection (except through my phone), I can now try to debug again my issue. To summarize, you were right. If I keep only one single extension, the error disappears.
Now, I've got another one.
journalctl --since 09:17juil. 15 09:17:47 ordi4 server[1272619]: 09:17:47.453 [http-nio-8080-exec-4] WARN o.a.g.e.AuthenticationProviderFacade - The "mysql" authentication provider has encountered an internal error which will halt the authentication process. If this is unexpected or you are the developer of this authentication provider, you may wish to enable debug-level logging. If this is expected and you wish to ignore such failures in the future, please set "skip-if-unavailable: mysql" within your guacamole.properties. juil. 15 09:17:47 ordi4 server[1272619]: 09:17:47.462 [http-nio-8080-exec-4]
ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:juil. 15 09:17:47 ordi4 server[1272619]: ### Error querying database. Cause: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=localhost)(port=3306)(type=master) : (conn=40850) Trying to connect with ssl, but ssl not enabled in the server
And some more lines. I've search during the whole week-end without success. If you have any idea, I'll be glad to test it. directory /etc/guacamole/extensions :-rw-r--r-- 1 guacuser guacuser 10814736 mai 20 07:59 guacamole-auth-jdbc-mysql-1.5.2.jar -rw-r--r-- 1 guacuser guacuser 4819527 mai 20 07:59 guacamole-auth-totp-1.5.2.jar
directory /etc/guacamole/lib :-rw-r--r-- 1 guacuser guacuser 626233 juil. 15 10:48 mariadb-java-client-2.7.9.jar
-rw-r--r-- 1 guacuser guacuser 2493165 juil. 15 09:37 mysql-connector-j.jar mysql-connector-j.jar corresponds to the version of MariaDB connector/J3.1.4 When working with guacamole 1.4 : directory /etc/guacamole/extensions :-rw-r--r-- 1 guacuser guacuser 6102374 déc. 29 2021 guacamole-auth-jdbc-mysql-1.4.0.jar -rw-r--r-- 1 guacuser guacuser 5290215 déc. 29 2021 guacamole-auth-totp-1.4.0.jar
directory /etc/guacamole/lib :-rw-r--r-- 1 guacuser guacuser 624101 nov. 8 2020 mariadb-java-client-2.7.0.jar lrwxrwxrwx 1 guacuser guacuser 40 oct. 9 2022 mysql-connector-java.jar-> /usr/share/java/mysql-connector-java.jar
mysql-connector-java.jar comes fromthe following mageia package : mysql-connector-java-8.0.22-2.mga8
*While I am writing this email, I wonder if I should not try to install a more recent version of **mysql-connector-java (**mysql-connector-j-8.0.33 is the latest one) instead of the one coming from **MariaDB**connector/J3.1.4**
* Even though in my guacamole.properties, there is : mysql-driver: mariadb mysql-hostname: localhost ... Regards. Xuo. Le 22/06/2023 à 01:42, Michael Jumper a écrit :
On 6/20/23 02:20, Antoine Besnier wrote:Stupid guess, but can you also check the content of your guacamole/extensions directory?Some extensions (looking at you, TOTP) will make Tomcat crash with this exact error if multiple versions are loaded.We should add an additional sanity check to warn if this condition is detected, but FYI:The reason multiple copies of the same extension cannot be loaded at the same time is their namespaces will collide. Every extension defines a unique namespace to isolate itself from others. If that namespace isn't actually unique, then resources/endpoints declared by those extensions will have conflicting paths, causing webapp startup to fail.- Mike --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org
OpenPGP_0x48255E7CD3CF0C1D.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature