[
https://issues.apache.org/jira/browse/GUACAMOLE-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882106#comment-17882106
]
Nick Couchman commented on GUACAMOLE-1983:
------------------------------------------
I don not think this is a bug:
{code}
java.net.NoRouteToHostException: No route to host (Host unreachable)
{code}
Something is amiss in your container configuration, and the Guacamole Client
container cannot talk to the MariaDB container. Please make sure that:
* You have configured your Docker network correctly with regarding to name
resolution and communication between containers.
* You have assigned the correct/expected values to the Guacamole container to
be able to communicate with the database.
See: https://guacamole.apache.org/doc/gug/guacamole-docker.html
Furthermore, as this is not a bug, if you have further questions regarding this
configuration please subscribe to the mailing list and post the questions,
there:
https://guacamole.apache.org/support/#mailing-lists
> 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}
> 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)