Francesco La Spina created GUACAMOLE-247:
--------------------------------------------
Summary: Guacamole shows connection error when a user connects to
a VNC server without providing the password
Key: GUACAMOLE-247
URL: https://issues.apache.org/jira/browse/GUACAMOLE-247
Project: Guacamole
Issue Type: Bug
Components: VNC
Affects Versions: 0.9.11-incubating, 0.9.9
Environment: Default VNC server of Ubuntu 14.04 LTE (Desktop Sharing)
configured with a password
Reporter: Francesco La Spina
Attachments: guacamole_vnc_no_psw_error.png
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.
{noformat}
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
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)