[
https://issues.apache.org/jira/browse/GUACAMOLE-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021450#comment-18021450
]
Nick Couchman commented on GUACAMOLE-39:
----------------------------------------
[~tkuhlengel] The advantage of the "failure-only mode" (which I take to mean,
fully failing the connection if the SFTP portion of the connection fails) is
that 1) you avoid situations where users expect some piece of functionality to
work, but it actually isn't working, which is generally a very frustrating
experience, and 2) it forces someone to go investigate why it's failing and
resolve the issue :). My experience in the years I've been working in IT is
that users are much more frustrated by software or solutions that partially
work than they are by things that just don't work at all.
I guess I wouldn't be opposed to a solution to this that 1) allows the admins
to specify how the overall connection behaves when there is a failure of the
SFTP portion, and/or 2) notifies the user that some portion of the connection
has failed. Even with those changes, my opinion would be that the current
behavior - failing the connection entirely - should remain the default.
> Allow connections to continue if SFTP is unavailable
> ----------------------------------------------------
>
> Key: GUACAMOLE-39
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-39
> Project: Guacamole
> Issue Type: Wish
> Components: RDP, SSH, VNC
> Reporter: Mike Jumper
> Priority: Minor
>
> {panel:bgColor=#FFFFEE}
> *The description of this issue was copied from
> [GUAC-1509|https://glyptodon.org/jira/browse/GUAC-1509], an issue in the JIRA
> instance used by the Guacamole project prior to its acceptance into the
> Apache Incubator.*
> Comments, attachments, related issues, and history from prior to acceptance
> *have not been copied* and can be found instead at the original issue.
> {panel}
> If a connection is configured to have SFTP support for file transfers with
> VNC, and the SFTP server goes down or is not connectable for any reason, the
> system can not be accessed. The Home, Reconnect, Logout dialog is displayed.
> From the guacd log:
> {code:none}
> Mar 3 10:20:25 guacd-server guacd[18646]: Protocol "vnc" selected
> Mar 3 10:20:25 guacd-server guacd[18646]: Connection ID is
> "$7ee12ae4-2a1d-4d4a-994c-ea2a4c4f9c02"
> Mar 3 10:20:25 guacd-server guacd[18646]: VNC server supports protocol
> version 3.8 (viewer 3.8)
> Mar 3 10:20:25 guacd-server guacd[18646]: We have 1 security types to read
> Mar 3 10:20:25 guacd-server guacd[18646]: 0) Received security type 2
> Mar 3 10:20:25 guacd-server guacd[18646]: Selecting security type 2 (0/1 in
> the list)
> Mar 3 10:20:25 guacd-server guacd[18646]: Selected Security Scheme 2
> Mar 3 10:20:25 guacd-server guacd[18646]: VNC authentication succeeded
> Mar 3 10:20:25 guacd-server guacd[18646]: Desktop name "Windows8"
> Mar 3 10:20:25 guacd-server guacd[18646]: Connected to VNC server, using
> protocol version 3.8
> Mar 3 10:20:25 guacd-server guacd[18646]: VNC server default format:
> Mar 3 10:20:25 guacd-server guacd[18646]: 32 bits per pixel.
> Mar 3 10:20:25 guacd-server guacd[18646]: Least significant byte first in
> each pixel.
> Mar 3 10:20:25 guacd-server guacd[18646]: TRUE colour: max red 255 green
> 255 blue 255, shift red 16 green 8 blue 0
> Mar 3 10:20:28 guacd-server guacd[18646]: Unable to connect to any addresses.
> Mar 3 10:20:28 guacd-server guacd[18646]: Connection did not succeed
> {code}
> From the guacamole log:
> {code:none}
> 10:20:28.502 [http-bio-8081-exec-3] INFO
> o.g.g.net.basic.TunnelRequestService - User "admin" connected to connection
> "sftptest".
> 10:20:28.515 [http-bio-8081-exec-3] INFO
> o.g.g.net.basic.TunnelRequestService - User "admin" disconnected from
> connection "sftptest". Duration: 13 milliseconds
> {code}
> If the enable-sftp param is changed to false, or deleted, this connection
> succeeds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)