Hello,
I'm having intermittent disconnection issues with the Rebex SFTP component. For many months, we have transfers large files via the component. Recently, we began having trouble with disconnects on a specific file at a specific time of the day. To my knowledge, no changes have been implemented on our side for several months.
The host server claims that they have not changed anything. Below is the Debug info for a failed session. It seems to connect, authenticate, then dies after two minutes. Normally, the next message would be "SSH: Requesting subsystem 'sftp'". This step never occurs, instead throwing an exception.
We have the local firewall disabled, antivirus software has not changed since March (issue began 5/13/13). I'm pushing back on the host to help troubleshoot, but they are just throwing their hands up and leaving it on us to figure out.
Please take a look at the log/exception and let me know if there is anything that I can do to further troubleshoot this issue.
Thanks!
---------- BEGIN LOG ---------------
2014-06-23 05:39:44.246 INFO Sftp(1)[1] Info: Connecting to someserver.com:22 using Sftp 3.0.4981.0.
2014-06-23 05:39:48.731 DEBUG Sftp(1)[1] SSH: Server is 'SSH-2.0-mod_sftp/0.9.8'.
2014-06-23 05:39:48.731 INFO Sftp(1)[1] SSH: Negotiation started.
2014-06-23 05:39:50.074 DEBUG Sftp(1)[1] SSH: Group exchange.
2014-06-23 05:39:51.184 DEBUG Sftp(1)[1] SSH: Negotiating key.
2014-06-23 05:39:52.512 DEBUG Sftp(1)[1] SSH: Validating signature.
2014-06-23 05:39:54.059 INFO Sftp(1)[1] SSH: Negotiation finished.
2014-06-23 05:39:54.059 INFO Sftp(1)[1] Info: Server: SSH-2.0-mod_sftp/0.9.8
2014-06-23 05:39:54.199 INFO Sftp(1)[1] Info: Fingerprint: 53:3a:80:8b:49:4c:9c:75:d9:6c:a7:4e:95:70:6d:64
2014-06-23 05:39:54.262 INFO Sftp(1)[1] Info: Cipher info: SSH 2.0, DiffieHellmanGroupExchangeSHA256, DSS, aes256-ctr/aes256-ctr, /
2014-06-23 05:39:55.668 INFO Sftp(1)[1] SSH: Received banner: Property of a company. Unauthorized use prohibited.
2014-06-23 05:39:55.887 DEBUG Sftp(1)[1] SSH: Allowed authentication methods: publickey, password.
2014-06-23 05:39:58.137 DEBUG Sftp(1)[1] SSH: Trying public key authentication for 'email@address.com'.
2014-06-23 05:40:02.200 DEBUG Sftp(1)[1] SSH: Authentication successful.
2014-06-23 05:42:21.467 ERROR Sftp(1)[1] SSH: Rebex.Net.SshException: The connection was aborted. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at Rebex.Net.ProxySocket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at Rebex.Net.SshSession.NX(OU A, Boolean B)
--- End of inner exception stack trace ---
at Rebex.Net.SshSession.NX(OU A, Boolean B)
at Rebex.Net.SshSession.IY(SshChannelType A, Int32 B, Object[] C)
2014-06-23 05:42:21.545 ERROR Sftp(1)[1] Info: Rebex.Net.SshException: The connection was aborted. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at Rebex.Net.ProxySocket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at Rebex.Net.SshSession.NX(OU A, Boolean B)
--- End of inner exception stack trace ---
at Rebex.Net.SshSession.NX(OU A, Boolean B)
at Rebex.Net.SshSession.IY(SshChannelType A, Int32 B, Object[] C)
at Rebex.Net.SshSession.OpenChannel(SshChannelType type, Int32 bufferSize)
at Rebex.Net.Sftp.XZ(CEB A)
at Rebex.Net.Sftp.HO(String A, String B, SshPrivateKey C, CEB D)