Timeout waiting for WinSCP to respond

Advertisement

pierreW
Guest

Timeout waiting for WinSCP to respond

Hi,

I have read the following tracker:
https://winscp.net/tracker/996
and the related article:
https://winscp.net/eng/docs/message_library_timeout_waiting_to_respond
But none of the methods proposed seem to solve my problem.

I am using the WinSCPnet library and I have upgraded it to the latest version : 1.2.10.6257.
I am still randomly getting the following error message when lauching my program from the task scheduler of Windows (Windows Server 2012 R2 standard):
"Timeout waiting for WinSCP to respond - WinSCP has not responded in time (response log file C:\Users\Administrator\AppData\Local\Temp\wscp0D5C.0083A9E6.tmp was not created).
This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
"

I am a bit desperate now as none of my action would fix this...
Can you help?

Thanks.

Pierre

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,459
Location:
Prague, Czechia

Re: Timeout waiting for WinSCP to respond

Please attach a full debug log file both for failed and successful session (using the latest version of WinSCP).

To generate log file, set Session.DebugLogPath. Submit the log with your post as an attachment. You may want to remove data you consider sensitive though, such as host names, IP addresses, account names or file names. If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Guest

Re: Timeout waiting for WinSCP to respond

martin wrote:

Please attach a full debug log file both for failed and successful session (using the latest version of WinSCP).

To generate log file, set Session.DebugLogPath. Submit the log with your post as an attachment. You may want to remove data you consider sensitive though, such as host names, IP addresses, account names or file names. If you do not want to post the log publicly, you can mark the attachment as private.

I'm also having problems with timeouts. I'm using the latest beta version and calling WinSCP via the WinSCP Powershell Module (https://dotps1.github.io/WinSCP/). I get this message in the console:
Exception: Exception calling "SynchronizeDirectories" with "7" argument(s): "Timeout waiting for WinSCP to respond"

Please see the attached log file, and let me know if you need anything else.
  • ftp-session.20160428-0849.log (587.62 KB, Private file)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,459
Location:
Prague, Czechia

Re: Timeout waiting for WinSCP to respond

Thanks for your report. I need the debug log file, as per my previous post.

Reply with quote

PierreW-
Guest

Hi prikryl,

I have desperatly tried to write a log when the error happens with the "session.DebugLogPath" param but each time this error happens no log is written...
Therefore I can only send you working logs...
Does this make sense to you?

Best regards,

Pierre

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,459
Location:
Prague, Czechia

Make sure you set the DebugLogPath before calling the Open.

Reply with quote

Advertisement

You can post new topics in this forum