[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882102#comment-17882102
 ] 

Nick Couchman commented on GUACAMOLE-1983:
------------------------------------------

Please enable debug logging in the web application and reload it (or restart 
Tomcat), and then retry and post the error messages.

https://guacamole.apache.org/doc/gug/configuring-guacamole.html#logging-within-the-web-application

If you're using Docker, set the LOGBACK_LEVEL environment variable to debug 
when creating the container.

> Communications link failure
> ---------------------------
>
>                 Key: GUACAMOLE-1983
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1983
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-auth-jdbc-mysql
>    Affects Versions: 1.5.5
>            Reporter: Marcelo
>            Priority: Minor
>
> I have guacamode deployed with docker swarm
> guacamole version: 
> [docker.io/guacamole/guacamole:latest|https://portainer.softpack.priv/#!/2/docker/images/docker.io~2Fguacamole~2Fguacamole%3Alatest]
> guacamoledb version: 
> [docker.io/mariadb:10.9.5|https://portainer.softpack.priv/#!/2/docker/images/docker.io~2Fmariadb%3A10.9.5]
> guacad version: 
> [guacamole/guacd:latest|https://portainer.softpack.priv/#!/2/docker/images/guacamole~2Fguacd%3Alatest]
> I created those containers with previous versions, but now updated everything 
> as shown previously, and now, on guacamole log i have:
> {noformat}
> The last packet sent successfully to the server was 0 milliseconds ago. The 
> driver has not received any packets from the server.
> 14:56:35.881 [http-nio-8080-exec-2] 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.
> 14:56:35.884 [http-nio-8080-exec-2] ERROR o.a.g.rest.RESTExceptionMapper - 
> Unexpected internal error: 
> ### Error querying database.  Cause: 
> com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link 
> failure
> The 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.cj.jdbc.exceptions.CommunicationsException: 
> Communications link failure{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to