Times Out and Drops Connection

Advertisement

dave@mynatt.biz
Joined:
Posts:
1
Location:
Pueblo, CO USA

Times Out and Drops Connection

Hi group, Not sure others have this issue, but when I enable keep remote files updated, very often SCP drops the connection. I enabled NOOP and checked the server's settings (XLIGHTFtp) but it keeps dropping the connection. I see and enabled the Keep Alive feature to 10 sec but it doesn't seem to work. By the way, both the client (SCP) and the FTP server are on the same machine... I use SCP to force remote update on change option.

Any suggestions?

Thanks,

Dave

Reply with quote E-mail

Advertisement

kwarmath
Joined:
Posts:
2
Location:
Alpharetta, GA

Dave, i wish i could answer your question, but i have the same problem: using the Keep Remote Directory Up to Date feature my connection times out. My server admin people tell me they are not forcing the disconnect and i don't see any preferences to configure for WinSCP to keep it from disconnecting.

I'm anxious to see if anyone has resolved this issue.

thx, k.

Reply with quote

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

Re: Times Out and Drops Connection

Can you post a log file?
_________________
Martin Prikryl

Reply with quote

kwarmath
Joined:
Posts:
2
Location:
Alpharetta, GA

I turned logging on and this is all i get when the disconnect happens. It took over an hour for it to disconnect.

This is the pertinent part of the log:
< 2008-11-11 08:59:32.701 Type: SSH_FXP_HANDLE, Size: 13, Number: 9227
> 2008-11-11 08:59:32.702 Type: SSH_FXP_READDIR, Size: 13, Number: 9484
< 2008-11-11 08:59:32.732 Type: SSH_FXP_NAME, Size: 429, Number: 9484
> 2008-11-11 08:59:32.733 Type: SSH_FXP_READDIR, Size: 13, Number: 9740
< 2008-11-11 08:59:32.761 Type: SSH_FXP_STATUS, Size: 28, Number: 9740
< 2008-11-11 08:59:32.761 Status/error code: 1
> 2008-11-11 08:59:32.762 Type: SSH_FXP_CLOSE, Size: 13, Number: 9988
. 2008-11-11 09:56:36.860 Initiating key re-exchange (timeout)
. 2008-11-11 09:56:37.374 Doing Diffie-Hellman group exchange
. 2008-11-11 09:56:37.874 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-11-11 09:56:38.480 Initialised AES-256 SDCTR client->server encryption
. 2008-11-11 09:56:38.508 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-11-11 09:56:38.509 Initialised AES-256 SDCTR server->client encryption
. 2008-11-11 09:56:38.509 Initialised HMAC-SHA1 server->client MAC algorithm
. 2008-11-11 10:56:38.813 Initiating key re-exchange (timeout)
. 2008-11-11 10:57:02.650 Network error: Software caused connection abort
* 2008-11-11 10:57:02.678 (ESshFatal) Network error: Software caused connection abort

Reply with quote

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

Have you tried to enabled keepalives?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum