Hi Benchu

I think you can check mysql username/password and check if telnet mysql_ip:3306  is available  in your guacamole container.

Thanks

Kurt

在 2022/2/24 12:10, Benchu Yao 写道:
I cloned the latest code from master, executed "*docker build -t
test/guacamole:1.4.0 .*" to build. Execute
"*docker run -v /opt/guacd/record/:/record/ --name guacamole-guacd -d -p
4822:4822 --restart always guacamole/guacd:latest*
*docker run -v /etc/localtime:/etc/localtime:ro --name guacamole-guacamole
--link guacamole-guacd:guacd -e MYSQL_HOSTNAME=10.0.99.102 -e
MYSQL_PORT=3306 -e MYSQL_DATABASE=guacamole_db -e MYSQL_USER= guacamole -e
MYSQL_PASSWORD=Guacamole@123 -d -p 8889:8080 --restart always
test/guacamole:1.4.0*" to start.

But my page shows error, docker logs shows
"







*04:02:06.193 [http-nio -8080-exec-8] WARN oageAuthenticationProviderFacade
- 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.04:02:06.203 [http-nio-8080-exec-8] ERROR
o.a.g.rest.RESTExceptionMapper - Unexpected internal error:### Error
querying database. Cause:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failureThe last packet sent successfully to the server was 0
milliseconds ago. The driver has not received any packets from the
server.### The error may exist in
org/apache/guacamole/auth/jdbc/user/UserMapper.xml### The error may involve
org.apache.guacamole.auth.jdbc.user.UserMapper.selectOne### The error
occurred while executing a query### Cause:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failureThe last packet sent successfully to the server was 0
milliseconds ago. The driver has not received any packets from the server.*
"

I tried to docker pull the latest version of guacamole, I can connect to my
database normally, and open the web page for configuration and connection
operations. Maybe there's something wrong with the way I'm building it?


Hope to get your help, thank you very much.

Reply via email to