You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Nick Couchman (Jira)" <ji...@apache.org> on 2021/01/10 18:08:00 UTC

[jira] [Closed] (GUACAMOLE-247) Guacamole shows generic connection error when a user connects to a VNC server without providing the password

     [ https://issues.apache.org/jira/browse/GUACAMOLE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Couchman closed GUACAMOLE-247.
-----------------------------------
    Resolution: Fixed

As noted by [~user12319273], this issue is resolved in 1.3.0 by the support for parameter prompting, which will automatically prompt the user for a password (or a username and password) if required but missing.

> Guacamole shows generic 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.9, 0.9.11-incubating
>         Environment: Default VNC server of Ubuntu 14.04 LTE (Desktop Sharing) configured with a password
>            Reporter: Francesco La Spina
>            Priority: Trivial
>         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
(v8.3.4#803005)