Takes too long to connect after waking up pc from sleep

Advertisement

Htmltiger
Guest

Takes too long to connect after waking up pc from sleep

Use this app everyday and love it.

I have set my computer to go to sleep after 15 minutes of inactivity.
When I turn on from sleep it gives me prompt about disconnected and countdown of auto reconnect and it takes ~40 seconds to reconnect but the internet is wired and no issues with my browser.

All i see is Connecting to .. and it freezes.

Currently using 5.11.2

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Takes too long to connect after waking up pc from sleep

Does the connection succeed in the end? Or does it timeout and connects only on the next reconnect attempt?

If the first, what if you open another instance of WinSCP during those ~40 seconds and try to connect? Does it connect immediately or does it also take long?

Reply with quote

Htmltiger
Guest

Yes, it does connect successfully after the timeouts.
It may be connecting too early before the network is established after waking up.

Reply with quote

Htmltiger
Guest

here is the log/screenshots

> 2017-12-14 20:48:54.982 Type: SSH_FXP_REALPATH, Size: 10, Number: 55568
< 2017-12-14 20:48:55.027 Type: SSH_FXP_NAME, Size: 23, Number: 55568
-------standby------

--- wakeup at 2017-12-14 20:56:09 and winscp is not responding

. 2017-12-14 20:56:09.515 Sending dummy command to keep session alive.
> 2017-12-14 20:56:09.515 Type: SSH_FXP_REALPATH, Size: 10, Number: 55824
. 2017-12-14 20:56:25.815 Waiting for data timed out, asking user what to do.
. 2017-12-14 20:56:25.815 Asking user:
. 2017-12-14 20:56:25.815 **Host is not communicating for 15 seconds.
. 2017-12-14 20:56:25.815
. 2017-12-14 20:56:25.815 Wait for another 15 seconds?** ()
. 2017-12-14 20:56:28.807 Data has arrived, closing query to user.
. 2017-12-14 20:56:28.807 Network error: Software caused connection abort
* 2017-12-14 20:56:28.807 (ESshFatal) Network error: Software caused connection abort
. 2017-12-14 20:56:38.916 Looking up host "example.com" for SSH connection
. 2017-12-14 20:56:39.021 Connecting to ...
------connected ok--------
but after that clicking on "New Session" or "Options > Preferences" will send the dialogue boxes (focused) behind the main window.
Its impossible know what is going on if you have winscp maximised and nothing is clickable in main window as it is focused on the background box, the only way to get out it press enter/esc blindly to close the box.
Re-opening winscp it will make everything normal.

Screenshots attached.

Thank you.

w2.png

w1.png

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: here is the log/screenshots

Htmltiger wrote:

but after that clicking on "New Session" or "Options > Preferences" will send the dialogue boxes (focused) behind the main window.
Only these two? Or all dialog boxes?
Do I understand right, this happens only after WinSCP reconnects after the PC resumed from sleep? And it never recovers, so you have to close WinSCP. Correct?

I believe you did not answer this:
If the first, what if you open another instance of WinSCP during those ~40 seconds and try to connect? Does it connect immediately or does it also take long?

Reply with quote

Advertisement

You can post new topics in this forum