Error message "An existing connection was forcibly closed by the remote host."

0 votes
asked Dec 28, 2010 by Uwe Keim (860 points)
edited Mar 13, 2013

I used the workaround described in this posting but still get from time to time the error

Rebex.Net.FtpException 
An existing connection was forcibly closed by the remote host. 
at Rebex.Net.Ftp.EndPutFile

With an inner exception

10054
SocketException  
at System.Net.Sockets.Socket.Receive

Any hints on what to investigate further and how to solve?

Applies to: Rebex FTP/SSL
commented Dec 29, 2010 by Lukas Pokorny (104,250 points)
Would it be possible to create a communication log using Ftp object's LogWriter property (as described at http://www.rebex.net/kb/logging.aspx) and either add that to your post or mail it to support@rebex.net for analysis? That should make it possible to tell how your situation differs from the one covered in the other posting.

2 Answers

0 votes
answered Mar 11, 2013 by nsh001 (180 points)
edited Mar 11, 2013

Has this issue been identified yet?

0 votes
answered Mar 11, 2013 by nsh001 (180 points)
edited Mar 13, 2013

Has this issue been identified yet?

I am facing the same issue while transferring number of files through SFTP.

Can someone follow up with what would be causing this issue and how to resolve it?

Thanks

commented Mar 11, 2013 by Lukas Pokorny (104,250 points)
edited Mar 11, 2013

It looks like Uwe Keim never posted the log, so unfortunately we don't know what caused the exception in this particular case. However, we know it occurs when a data or control connection is suddenly closed by the server or a router along the way. Could you please create the log and mail it to us for analysis, as described in my comment to the original answer? Thanks!

commented Mar 13, 2013 by Uwe Keim (860 points)
edited Mar 13, 2013

Sorry, I cannot remember anymore how I worked around/solved this.

...