Error: Timeout waiting for WinSCP to respond - WinSCP has not responded in time - 5.7.5

Advertisement

ReluctantPowershellGuy
Joined:
Posts:
3
Location:
USA

Error: Timeout waiting for WinSCP to respond - WinSCP has not responded in time - 5.7.5

Daily scheduled task running PowerShell script to perform SFTP upload. Frequently (but not always) errors out with "Timeout waiting for WinSCP to respond - WinSCP has not responded in time (response log file blabla.tmp was not created)". We know it's not permission issues since it does run successfully more than half of the time.

Server is 2008 R2
WinSCP version 5.7.5 with .NET library file 1.2.9.5665 (part of version 5.7.5).

Recently upgraded from 5.5.6 (and rebooted) but it hasn't made a difference.

Any tips on troubleshooting this further?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,760
Location:
Prague, Czechia

Re: Error: Timeout waiting for WinSCP to respond - WinSCP has not responded in time - 5.7.5

Please attach a full debug log files showing both the successful and failed run.

To generate log file, set Session.DebugLogPath. Submit the log with your post as an attachment. If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

ReluctantPowershellGuy
Joined:
Posts:
3
Location:
USA

success and failure debug attached

Here's a debug log from both a successful job and a failure. It took a while because it actually hadn't failed in a few days.
  • SFTP upload.failure.debug.log (7.21 KB, Private file)
Description: a failed upload job
  • SFTP upload.success.debug.log (396.71 KB, Private file)
Description: a successful upload job

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,760
Location:
Prague, Czechia

Re: success and failure debug attached

The system seems to be under a heavy load.
Can you try to set the Session.Timeout to higher value?

Reply with quote

ReluctantPowershellGuy
Joined:
Posts:
3
Location:
USA

Re: Re: success and failure debug attached

I've increased the timeout from 2 minutes to 5. I'll see if that makes a difference.

$WinSCPconfig.TimeoutInMilliseconds = 300000

Reply with quote

Advertisement

You can post new topics in this forum