You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Nick Couchman (JIRA)" <ji...@apache.org> on 2018/01/02 02:44:00 UTC

[jira] [Commented] (GUACAMOLE-435) SSH handshake failing

    [ https://issues.apache.org/jira/browse/GUACAMOLE-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307616#comment-16307616 ] 

Nick Couchman commented on GUACAMOLE-435:
-----------------------------------------

A few follow-up questions for you:
- What version of FreeBSD?
- Are you embedding credentials in the connection, or typing them at connection time?
- What are the settings in sshd are configured for password/interactive authentication?
- Are you using a SSH key, or just username/password?

> SSH handshake failing
> ---------------------
>
>                 Key: GUACAMOLE-435
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-435
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-docker
>    Affects Versions: 0.9.13-incubating
>            Reporter: Jimmy Chen
>            Priority: Minor
>
> After creating SSH connection configuration to a FreeBSD system, when attempting to access it via Guacamole, it fails to connect. Looking further into the errors being logged. This is shown.
> Guacamole
> {noformat}
> Exception in thread "Thread-65" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
>         at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:381)
>         at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:338)
>         at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:730)
>         at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:250)
>         at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:193)
>         at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
>         at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:167)
> {noformat}
> guacd
> {noformat}
> guacd[1]: INFO: Connection ID is "$47806483-cb6f-496a-9a14-89f3843280ee"
> guacd[49]: INFO:        Current locale does not use UTF-8. Some characters may not render correctly.
> guacd[49]: INFO:        User "@757f0e46-b2c8-4674-8275-0bc184575ece" joined connection "$47806483-cb6f-496a-9a14-89f3843280ee" (1 users now present)
> guacd[49]: ERROR:       SSH handshake failed.
> guacd[49]: INFO:        User "@757f0e46-b2c8-4674-8275-0bc184575ece" disconnected (0 users remain)
> {noformat}
> Opening a SSH session to the same system via Putty works perfectly, so it seems like something about guacd is preventing from successful handshake.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)