guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrique Seganfredo <>
Subject Re: Problem starting Guacamole under Tomcat 8
Date Sun, 05 Aug 2018 07:38:56 GMT
I am providing the "dockered" localhost IP. On the localhost I typed ip
addr and wrote down the docker0 address.

4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP group default
    link/ether 02:42:76:00:92:73 brd ff:ff:ff:ff:ff:ff
    inet brd scope global docker0

I found the IP for the guacamole container as guacd container
is at

Changed my.cnf (mysql config file) to include the following:
bind-address =

Checking netstat:
henrique@homeserver1:~$ sudo netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address
State       PID/Program name
tcp        0      0*
LISTEN      14024/mysqld

Looks like the bind-address configuration is not being effective. I will go
deeper on this issue.

On Sun, Aug 5, 2018 at 3:32 AM, Mike Jumper <>

> On Sat, Aug 4, 2018, 23:26 Henrique Seganfredo <>
> wrote:
>> I did the docker way to speed things up, but I am facing a communication
>> error from inside the container to the local mysql I did install for
>> metadata.
>> Acessing http://localhost:8080 /guacamole returns a blank screen, but
>> source code is available, it has content related to logged in or logged out
>> guacamole users.
> The contents of index.html are static. The dynamic aspects of the webapp
> are handled via JavaScript and REST requests. It is the failure of one or
> more of those requests which is causing the interface to abort and display
> nothing.
>> Container guacamole is up (I supposed DB communication was fine):
>> CONTAINER ID        IMAGE                 COMMAND
>> CREATED             STATUS              PORTS                    NAMES
>> 1e9b92211476        guacamole/guacamole   "/opt/guacamole/bin/…"   2
>> minutes ago       Up 2 minutes>8080/tcp
>> some-guacamole
>> 88fa3ae48028        guacamole/guacd       "/usr/local/sbin/gua…"   About
>> an hour ago   Up 45 minutes       4822/tcp                 some-guacd
> If there are failures in communication with the database, those failures
> will only become apparent when trying to use the webapp (log in, etc.). No
> attempts are made to communicate with the database until there are user
> requests to service.
>> Seeing the docker log output I get this:
>> 06:09:51.658 [http-nio-8080-exec-3] ERROR
>> - Unexpected internal error:
>> ### Error querying database.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
>> Communications link failure
> What address/hostname are you providing to Guacamole for your MySQL server?
> - Mike

View raw message