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

Author Message
ReluctantPowershellGuy
[View user's profile]

Joined: 2015-09-29
Posts: 3
Location: USA
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?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
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.
ReluctantPowershellGuy
[View user's profile]

Joined: 2015-09-29
Posts: 3
Location: USA
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

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
The system seems to be under a heavy load.
Can you try to set the Session.Timeout to higher value?
ReluctantPowershellGuy
[View user's profile]

Joined: 2015-09-29
Posts: 3
Location: USA
I've increased the timeout from 2 minutes to 5. I'll see if that makes a difference.

$WinSCPconfig.TimeoutInMilliseconds = 300000
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License