You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Salatiel Filho <sa...@gmail.com> on 2017/11/20 02:10:01 UTC

Docker - HTTP tunnel request failed: Connection to guacd is closed.

Hi , i am trying to make guacamole work using docker on debian 9.
I can log in the interface just fine and add some servers there, but
when i try to connect to the server i get the following errors in the
guacamole container log:
...
02:04:34.154 [http-nio-8080-exec-1] ERROR
o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket
tunnel to guacd failed: Connection to guacd is closed.
02:04:34.210 [http-nio-8080-exec-9] ERROR
o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed:
Connection to guacd is closed.
02:04:49.267 [http-nio-8080-exec-5] ERROR
o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket
tunnel to guacd failed: Connection to guacd is closed.
02:04:49.295 [http-nio-8080-exec-6] ERROR
o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed:
Connection to guacd is closed.
...


The logs from the guacd shows:
guacd[1]: INFO:    Guacamole proxy daemon (guacd) version
0.9.13-incubating started
guacd[1]: INFO:    Listening on host 0.0.0.0, port 4822


and both containers are up and running:
CONTAINER ID        IMAGE                 COMMAND
CREATED             STATUS              PORTS                    NAMES
728a82538719        guacamole/guacamole   "/opt/guacamole/bi..."
About an hour ago   Up 9 minutes        0.0.0.0:8080->8080/tcp
guacamole
8463451073ba        guacamole/guacd       "/usr/local/sbin/g..."
About an hour ago   Up 9 minutes        4822/tcp                 guacd






I created the containers using:

docker run --restart=unless-stopped  --name guacd -d guacamole/guacd
docker run --restart=unless-stopped  --name guacamole --link guacd:guacd \
    -e MYSQL_DATABASE='guacamole' -e MYSQL_USER='***' -e
MYSQL_PASSWORD='****' -e MYSQL_HOSTNAME="192.168.254.254"  \
        -v /var/lib/docker/volumes-bind/guacamole:/config -e
GUACAMOLE_HOME=/config  -d -p 8080:8080 guacamole/guacamole



Can anyone help me to fix this ?


Thanks!


[]'s
Salatiel