[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcelo updated GUACAMOLE-1983:
-------------------------------
    Attachment: guacamole_logs.txt

> 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
>         Attachments: guacamole_logs.txt
>
>
> 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}
> 16-Sep-2024 14:41:29.098 INFO [main] org.apache.coyote.AbstractProtocol.start 
> Starting ProtocolHandler ["http-nio-8080"]
> 16-Sep-2024 14:41:29.115 INFO [main] 
> org.apache.catalina.startup.Catalina.start Server startup in 7427 ms
> 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 loading of the driver class is generally unnecessary.
> 14:42:03.723 [http-nio-8080-exec-9] 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:42:03.732 [http-nio-8080-exec-9] 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