Coder Social home page Coder Social logo

Comments (3)

gbajson avatar gbajson commented on August 16, 2024

I also dumped traffic in guacd_compose container and learnt that there is a malformed VNC packet.
I am trying to connect to VNC provided by docker-selenium. I have no problem with connection using e.g. Remmina.

In the guacd troubleshooting guide I found information that:

Error instantiating client
After the client plugin is loaded, an initialization function provided by the client plugin is invoked. If this function fails, then the client itself cannot be created, and this error will be logged. Usually this indicates that one or more of the parameters given to the client plugin are incorrect or malformed. Check the configuration of the connection in use at the time.

My connection doesn't seem to have any complex options.

I increased log level in guacd:

gbajson@zauek:~$ docker logs guacd_compose 
guacd[1]: INFO: Guacamole proxy daemon (guacd) version 1.5.0 started
guacd[1]: DEBUG:        Successfully bound AF_INET socket to host 0.0.0.0, port 4822
guacd[1]: INFO: Listening on host 0.0.0.0, port 4822
guacd[1]: INFO: Creating new client for protocol "vnc"
guacd[1]: INFO: Connection ID is "$b3677b21-abf8-4f52-8542-80ce392de117"
guacd[8]: DEBUG:        Processing instruction: size
guacd[8]: DEBUG:        Processing instruction: audio
guacd[8]: DEBUG:        Processing instruction: video
guacd[8]: DEBUG:        Processing instruction: image
guacd[8]: DEBUG:        Processing instruction: timezone
guacd[8]: DEBUG:        Processing instruction: name
guacd[8]: INFO: Cursor rendering: local
guacd[8]: DEBUG:        Parameter "swap-red-blue" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "color-depth" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "force-lossless" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "dest-port" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "encodings" omitted. Using default value of "zrle ultra copyrect hextile zlib corre rre raw".
guacd[8]: DEBUG:        Parameter "autoretry" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "reverse-connect" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "listen-timeout" omitted. Using default value of 5000.
guacd[8]: DEBUG:        Parameter "sftp-hostname" omitted. Using default value of "10.144.107.99".
guacd[8]: DEBUG:        Parameter "sftp-port" omitted. Using default value of "22".
guacd[8]: DEBUG:        Parameter "sftp-username" omitted. Using default value of "".
guacd[8]: DEBUG:        Parameter "sftp-password" omitted. Using default value of "".
guacd[8]: DEBUG:        Parameter "sftp-passphrase" omitted. Using default value of "".
guacd[8]: DEBUG:        Parameter "sftp-root-directory" omitted. Using default value of "/".
guacd[8]: DEBUG:        Parameter "sftp-server-alive-interval" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "sftp-disable-download" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "sftp-disable-upload" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "recording-name" omitted. Using default value of "recording".
guacd[8]: DEBUG:        Parameter "recording-exclude-output" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "recording-exclude-mouse" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "recording-include-keys" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "create-recording-path" omitted. Using default value of 0.
guacd[8]: DEBUG:        Parameter "wol-send-packet" omitted. Using default value of 0.
guacd[8]: INFO: User "@35d92de1-727b-47b3-8f36-41e90737855a" joined connection "$b3677b21-abf8-4f52-8542-80ce392de117" (1 users now present)
guacd[8]: DEBUG:        Client is using protocol version "VERSION_1_5_0"
guacd[8]: ERROR:        Unable to connect to VNC server.
guacd[8]: INFO: User "@35d92de1-727b-47b3-8f36-41e90737855a" disconnected (0 users remain)
guacd[8]: INFO: Last user of connection "$b3677b21-abf8-4f52-8542-80ce392de117" disconnected
guacd[8]: DEBUG:        Requesting termination of client...
guacd[8]: DEBUG:        Client terminated successfully.
guacd[1]: INFO: Connection "$b3677b21-abf8-4f52-8542-80ce392de117" removed.

from guacamole-docker-compose.

gbajson avatar gbajson commented on August 16, 2024

This might be the following issue.

** EDIT **
I confirm, this is a problem, it all works fine with guacamole/guacd:1.4.0:

services:
  # guacd
  guacd:
    container_name: guacd_compose
    image: guacamole/guacd:1.4.0
    networks:
      guacnetwork_compose:
    environment:
      # trace, debug, info, warning, and error
      GUACD_LOG_LEVEL: trace
    restart: always
    volumes:
    - ./drive:/drive:rw
    - ./record:/record:rw

from guacamole-docker-compose.

boschkundendienst avatar boschkundendienst commented on August 16, 2024

issue related to official guacamole project. Post your information at their issues at https://issues.apache.org/jira/projects/GUACAMOLE/issues/

from guacamole-docker-compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.