[Cyberduck-trac] [Cyberduck] #8206: Connection fails with Broken transport; encountered EOF

Cyberduck trac at trac.cyberduck.io
Sun Nov 23 14:27:17 UTC 2014


#8206: Connection fails with Broken transport; encountered EOF
-----------------------+------------------------
 Reporter:  heckp      |         Owner:  dkocher
     Type:  defect     |        Status:  closed
 Priority:  normal     |     Milestone:  4.6
Component:  sftp       |       Version:  4.5.2
 Severity:  critical   |    Resolution:  fixed
 Keywords:             |  Architecture:  Intel
 Platform:  Windows 7  |
-----------------------+------------------------

Comment (by heckp):

 Just tested it on 4.6. Still sftp just fails silently. My Log Output is
 below.

 (I changed user and host)

 {{{
 2014-11-23 15:22:52,991 [Thread-0] DEBUG
 Ch.Cyberduck.Ui.Controller.BrowserController - Mount session for
 Host{credentials=Credentials{user='USER'}, hostname='SERVER', port=22,
 protocol=sftp}
 2014-11-23 15:22:52,991 [Thread-0] INFO  ch.cyberduck.core.Cache -
 Clearing cache ch.cyberduck.core.Cache at 3d34f2c
 2014-11-23 15:22:52,992 [Thread-0] DEBUG ch.cyberduck.core.SessionFactory
 - Create session for Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}
 2014-11-23 15:22:52,999 [Thread-0] DEBUG
 ch.cyberduck.ui.AbstractController - Run action
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 in background
 2014-11-23 15:22:53,002 [Thread-0] DEBUG
 ch.cyberduck.ui.AbstractController - Synchronize on lock
 Session{host=Host{credentials=Credentials{user='USER'}, hostname='SERVER',
 port=22, protocol=sftp}, state=closed} for action
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:53,002 [Thread-0] INFO
 ch.cyberduck.ui.AbstractController - Scheduled background runnable
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 for execution
 2014-11-23 15:22:53,002 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Acquired lock for background runnable
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:53,002 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Prepare background action
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:53,002 [background-1] DEBUG
 ch.cyberduck.core.threading.AbstractBackgroundAction - Prepare background
 task
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:53,006 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Call background action
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:53,013 [background-1] DEBUG
 ch.cyberduck.core.threading.NamedThreadFactory - Create thread for
 runnable ch.cyberduck.core.Resolver$1 at 5173
 2014-11-23 15:22:53,015 [background-1] DEBUG ch.cyberduck.core.Resolver -
 Waiting for resolving of SERVER
 2014-11-23 15:22:53,021 [resolver-1] INFO  ch.cyberduck.core.Resolver -
 Resolved SERVER to 136.199.91.253
 2014-11-23 15:22:53,030 [background-1] DEBUG ch.cyberduck.core.Session -
 Connection will open to Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}
 2014-11-23 15:22:53,053 [background-1] INFO
 ch.cyberduck.core.ProxySocketFactory - Use target hostname
 ch.cyberduck.core.sftp.SFTPSession$1 at 568a3 determined from callback SERVER
 for proxy configuration
 2014-11-23 15:22:55,351 [background-1] INFO
 net.schmizz.sshj.transport.TransportImpl - Client identity string:
 SSH-2.0-Cyberduck/4.6 (15810) (Windows 7/6.1) (x86)
 2014-11-23 15:22:55,397 [background-1] INFO
 net.schmizz.sshj.transport.TransportImpl - Server identity string:
 SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.4
 2014-11-23 15:22:55,399 [background-1] DEBUG
 net.schmizz.concurrent.Promise - Setting <<kex done>> to `null`
 2014-11-23 15:22:55,399 [background-1] DEBUG
 net.schmizz.sshj.transport.KeyExchanger - Sending SSH_MSG_KEXINIT
 2014-11-23 15:22:55,399 [background-1] DEBUG
 net.schmizz.concurrent.Promise - Setting <<kexinit sent>> to `SOME`
 2014-11-23 15:22:55,399 [background-1] DEBUG
 net.schmizz.concurrent.Promise - Awaiting <<kex done>>
 2014-11-23 15:22:55,446 [reader] DEBUG
 net.schmizz.sshj.transport.KeyExchanger - Received SSH_MSG_KEXINIT
 2014-11-23 15:22:55,446 [reader] DEBUG
 net.schmizz.sshj.transport.KeyExchanger - Negotiated algorithms: [ kex
 =diffie-hellman-group14-sha1; sig=ecdsa-sha2-nistp256;
 c2sCipher=aes128-ctr; s2cCipher=aes128-ctr; c2sMAC=hmac-sha1; s2cMAC=hmac-
 sha1; c2sComp=zlib at openssh.com; s2cComp=zlib at openssh.com ]
 2014-11-23 15:22:55,593 [reader] DEBUG
 net.schmizz.sshj.transport.kex.DHG14 - Sending SSH_MSG_KEXDH_INIT
 2014-11-23 15:22:55,720 [reader] DEBUG
 net.schmizz.sshj.transport.KeyExchanger - Received kex followup data
 2014-11-23 15:22:55,720 [reader] DEBUG
 net.schmizz.sshj.transport.kex.DHG14 - Received SSH_MSG_KEXDH_REPLY
 2014-11-23 15:22:55,720 [reader] DEBUG net.schmizz.sshj.common.KeyType$3 -
 Key algo: ecdsa-sha2-nistp256, Key curve: nistp256, Key Len: 65, 0x04: 4
 x: [-123, -74, -76, -18, 121, 91, 81, -38, 92, 96, 44, -61, 37, 55, -73,
 -107, -101, 45, 78, -8, 95, -43, 23, 107, -32, -109, 2, 56, -110, 0, 18,
 -50]
 y: [-115, 19, 113, -55, -88, -117, -4, 19, 37, -112, 82, -125, -21, -108,
 -40, -80, -106, 77, -113, 70, 3, -13, -99, -87, -29, 36, 2, 31, 30, 105,
 111, 70]
 2014-11-23 15:22:55,874 [reader] DEBUG
 net.schmizz.sshj.transport.KeyExchanger - Trying to verify host key with
 ch.cyberduck.core.sftp.SFTPSession$2 at ad0b1a
 2014-11-23 15:22:55,874 [reader] DEBUG
 net.schmizz.sshj.transport.KeyExchanger - Sending SSH_MSG_NEWKEYS
 2014-11-23 15:22:55,874 [reader] DEBUG
 net.schmizz.sshj.transport.KeyExchanger - Received SSH_MSG_NEWKEYS
 2014-11-23 15:22:55,875 [reader] DEBUG net.schmizz.concurrent.Promise -
 Setting <<kexinit sent>> to `null`
 2014-11-23 15:22:55,875 [reader] DEBUG net.schmizz.concurrent.Promise -
 Setting <<kex done>> to `SOME`
 2014-11-23 15:22:55,875 [background-1] DEBUG net.schmizz.sshj.SSHClient -
 Key exchange took 0.476 seconds
 2014-11-23 15:22:55,875 [background-1] DEBUG ch.cyberduck.core.Session -
 Connection did open to Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}
 2014-11-23 15:22:55,876 [background-1] DEBUG
 ch.cyberduck.core.KeychainLoginService - Validate login credentials for
 Host{credentials=Credentials{user='USER'}, hostname='SERVER', port=22,
 protocol=sftp}
 2014-11-23 15:22:55,876 [background-1] INFO
 ch.cyberduck.core.KeychainLoginService - Fetching password from keychain
 for Host{credentials=Credentials{user='USER'}, hostname='SERVER', port=22,
 protocol=sftp}
 2014-11-23 15:22:55,882 [background-1] DEBUG
 ch.cyberduck.core.KeychainLoginService - Attempt authentication for
 Host{credentials=Credentials{user='USER'}, hostname='SERVER', port=22,
 protocol=sftp}
 2014-11-23 15:22:55,882 [background-1] DEBUG
 ch.cyberduck.core.threading.AbstractBackgroundAction - Finish background
 task
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,883 [background-1] DEBUG
 ch.cyberduck.core.threading.BackgroundActionRegistry - Remove action
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,883 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Invoke cleanup for background action
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,884 [Thread-0] DEBUG
 ch.cyberduck.core.threading.BackgroundActionRegistry - Remove action
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,884 [Thread-0] WARN
 ch.cyberduck.ui.threading.WorkerBackgroundAction - Missing result for
 worker
 MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}. Use default
 value.
 2014-11-23 15:22:55,885 [Thread-0] DEBUG
 ch.cyberduck.ui.AbstractController - Run action
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null} in
 background
 2014-11-23 15:22:55,885 [Thread-0] DEBUG
 ch.cyberduck.ui.AbstractController - Synchronize on lock
 Session{host=Host{credentials=Credentials{user='USER'}, hostname='SERVER',
 port=22, protocol=sftp}, state=open} for action
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,885 [Thread-0] INFO
 ch.cyberduck.ui.AbstractController - Scheduled background runnable
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null} for
 execution
 2014-11-23 15:22:55,885 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Releasing lock for background
 runnable
 WorkerBackgroundAction{worker=MountWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,886 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Acquired lock for background runnable
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,886 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Prepare background action
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,886 [background-1] DEBUG
 ch.cyberduck.core.threading.AbstractBackgroundAction - Prepare background
 task
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,900 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Call background action
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,901 [background-1] DEBUG
 ch.cyberduck.core.threading.AbstractBackgroundAction - Run background task
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}, result=null}
 2014-11-23 15:22:55,901 [background-1] DEBUG
 ch.cyberduck.ui.threading.WorkerBackgroundAction - Run worker
 DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=open}}
 2014-11-23 15:22:55,901 [background-1] DEBUG ch.cyberduck.core.Session -
 Connection will close to Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}
 2014-11-23 15:22:55,901 [background-1] WARN
 ch.cyberduck.core.sftp.SFTPSession - Disconnected BY_APPLICATION
 2014-11-23 15:22:55,901 [background-1] DEBUG
 net.schmizz.sshj.transport.TransportImpl$NullService - Notified of
 net.schmizz.sshj.transport.TransportException: [BY_APPLICATION]
 Disconnected
 2014-11-23 15:22:55,901 [background-1] DEBUG
 net.schmizz.sshj.transport.TransportImpl - Sending SSH_MSG_DISCONNECT:
 reason=[BY_APPLICATION], msg=[]
 2014-11-23 15:22:55,901 [background-1] DEBUG
 net.schmizz.concurrent.Promise - Setting <<transport close>> to `SOME`
 2014-11-23 15:22:55,901 [background-1] DEBUG ch.cyberduck.core.Session -
 Connection did close to Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}
 2014-11-23 15:22:55,901 [background-1] DEBUG
 ch.cyberduck.core.threading.AbstractBackgroundAction - Finish background
 task
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:55,902 [background-1] DEBUG
 ch.cyberduck.core.threading.BackgroundActionRegistry - Remove action
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:55,902 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Invoke cleanup for background action
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:55,902 [Thread-0] DEBUG
 ch.cyberduck.core.threading.BackgroundActionRegistry - Remove action
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:55,902 [Thread-0] WARN
 ch.cyberduck.ui.threading.WorkerBackgroundAction - Missing result for
 worker
 DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}. Use default
 value.
 2014-11-23 15:22:55,902 [Thread-0] INFO  ch.cyberduck.core.Cache -
 Clearing cache ch.cyberduck.core.Cache at 3d34f2c
 2014-11-23 15:22:55,903 [background-1] DEBUG
 ch.cyberduck.ui.AbstractController - Releasing lock for background
 runnable
 WorkerBackgroundAction{worker=DisconnectWorker{session=Session{host=Host{credentials=Credentials{user='USER'},
 hostname='SERVER', port=22, protocol=sftp}, state=closed}}, result=null}
 2014-11-23 15:22:55,910 [reader] DEBUG net.schmizz.sshj.transport.Reader -
 Stopping

 }}}

-- 
Ticket URL: <https://trac.cyberduck.io/ticket/8206#comment:9>
Cyberduck <http://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list