Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-247

Guacamole shows generic connection error when a user connects to a VNC server without providing the password

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.9.9, 0.9.11-incubating
    • None
    • VNC
    • None
    • Default VNC server of Ubuntu 14.04 LTE (Desktop Sharing) configured with a password

    Description

      If a VNC connection is configured without a password (e.g in user-mapping.xml) and the server requires it, Guacamole client shows an error connection message instead of a proper wrong/missing password message or an input field for the password.

      17:16:18.491 [http-nio-8080-exec-7] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822.
      17:16:18.534 [http-nio-8080-exec-7] INFO  o.a.g.tunnel.TunnelRequestService - User "guacamole" connected to connection "testvnc".
      17:16:20.990 [http-nio-8080-exec-9] INFO  o.a.g.tunnel.TunnelRequestService - User "guacamole" disconnected from connection "testvnc". Duration: 2456 milliseconds
      17:16:20.991 [http-nio-8080-exec-9] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd.
      17:16:20.995 [Thread-63] DEBUG o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd closed.
      org.apache.guacamole.GuacamoleConnectionClosedException: Connection to guacd is closed.
      	at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:185) ~[guacamole-common-0.9.10-incubating.jar:na]
      	at org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:197) ~[guacamole-common-0.9.10-incubating.jar:na]
      	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:83) ~[guacamole-common-0.9.10-incubating.jar:na]
      	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:83) ~[guacamole-common-0.9.10-incubating.jar:na]
      	at org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:66) ~[guacamole-common-0.9.10-incubating.jar:na]
      	at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:162) ~[guacamole-common-0.9.10-incubating.jar:na]
      Caused by: java.net.SocketException: Socket closed
      	at java.net.SocketInputStream.read(SocketInputStream.java:190) ~[na:1.7.0_79]
      	at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[na:1.7.0_79]
      	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) ~[na:1.7.0_79]
      	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) ~[na:1.7.0_79]
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) ~[na:1.7.0_79]
      	at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[na:1.7.0_79]
      	at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:171) ~[guacamole-common-0.9.10-incubating.jar:na]
      	... 5 common frames omitted
      

      Attachments

        1. guacamole_vnc_no_psw_error.png
          102 kB
          Francesco La Spina

        Issue Links

          Activity

            People

              Unassigned Unassigned
              frankie Francesco La Spina
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: