I'm experiencing some strange behavior using WinSCP .NET in a C# .NET 4.8 application. I'm not sure if it's caused by WinSCP, but maybe you could help me pinpoint the error. I'm using the latest version of WinSCP through the NuGet package.
When trying to send large amounts of files from a client to a server, the connection freezes after about one minute. This happens on a bunch of locations, using FTP and FTPS, but not at others.
The log notice I see is:
[2020-06-14 17:16:13.028] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:13.841] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:14.653] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:15.466] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:16.278] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:17.091] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:17.903] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:18.716] [000b] Waiting for log update and dispatching events for 800
[2020-06-14 17:16:19.528] [000b] Waiting for log update and dispatching events for 800
Unfortunately the complete logs got overwritten, but I could reproduce them if it'd help.
I already raised the
Session.Timeout
to 30 minutes, and
SessionOptions.Timeout
to 2 hours. The client uses multiple connections to send files parallel (max 3 at a time), but the same occurs when I use a singlethreaded method.
Thanks for your time. Perhaps this already raises a flag for you to point me in the right direction, but if you need more info please let me know.
On a sidenote; thanks for WinSCP and it's amazing .NET integration :)