Closed ahm0 closed 1 month ago
You need to update to v10.0.3.
The version you are running had known problems with handling unexpected close of connection by remote server. This was fixed in later versions.
Hi @theophilusx , and thanks for your response. I'll try updating the version, but just in case, is there any other way to force close the connection to the server, but end() method? Thanks
No, the only way to end a connencttion is by calling end().
Ok. Thank you again. I'll give a try to the new version and let you know about results.
Best Regards
Hi all!
First of all...this is more a request for help than an issue.
Client OS: AmazonLinux:2 SFTP Server OS: Windows (something) Versions:
Description: in brief, SOMETIMES my code get stuck when it try to disconnect from sftp server. This is very weird because, sometimes it works fine, disconnects and finish, but sometimes it get stuck. It doesn't throw errors and I can't define a common pattern, so I don't know where or what to debug.
Sample of code
The logs for when it works ok are like this:
And when it get stuck are just this:
I know that probably the information is not much, but I don't have any additional info to add.
So any ideas? Something that I can try/change?
TIA