Host is not communicating for more than 15 seconds. Still waiting...
I am getting this error on my Windows 10 (64bit) machine for every SFTP and SCP connection. I can connect but file transfers are very very slow and after some time of doing nothing I get this error message and I have to reconnect. The time can vary from only 3 seconds to up to two minute or so. So it often happens that I open a file, edit it and when saving I get the error. Then I have to close the file, reconnect to the server, open it again and save the file immediately.
It only happens on this machine. With other Windows 7 PCs it works. Also I can use Filezilla without problems. I tried using older WinSCP versions (down to 5.1.X) but it still happens on those old versions. Currently I have installed the version 5.7.7. The error message recommends turning off the option "Optimize connection buffer size". But it doesn't help. No change whatsoever. This makes WinSCP almost unusable...
Following a Debug Log Level 2 from the moment I tried to refresh the view after some time of doing nothing:
It only happens on this machine. With other Windows 7 PCs it works. Also I can use Filezilla without problems. I tried using older WinSCP versions (down to 5.1.X) but it still happens on those old versions. Currently I have installed the version 5.7.7. The error message recommends turning off the option "Optimize connection buffer size". But it doesn't help. No change whatsoever. This makes WinSCP almost unusable...
Following a Debug Log Level 2 from the moment I tried to refresh the view after some time of doing nothing:
. 2016-03-21 11:56:56.365 Session upkeep
. 2016-03-21 11:56:56.365 Looking for network events
. 2016-03-21 11:56:56.365 Timeout waiting for network events
. 2016-03-21 11:56:56.866 Session upkeep
. 2016-03-21 11:56:56.866 Looking for network events
. 2016-03-21 11:56:56.866 Timeout waiting for network events
. 2016-03-21 11:56:57.361 Session upkeep
. 2016-03-21 11:56:57.361 Looking for network events
. 2016-03-21 11:56:57.361 Timeout waiting for network events
. 2016-03-21 11:56:57.867 Session upkeep
. 2016-03-21 11:56:57.867 Looking for network events
. 2016-03-21 11:56:57.867 Timeout waiting for network events
. 2016-03-21 11:56:58.038 Getting current directory name.
. 2016-03-21 11:56:58.038 Listing directory "/var/www/XXXXXXXXX".
> 2016-03-21 11:56:58.038 Type: SSH_FXP_OPENDIR, Size: 88, Number: 63499
> 2016-03-21 11:56:58.038 0B,00,00,F8,0B,00,00,00,4F,2F,76,61,72,2F,77,77,77,2F,76,68,6F,73,74,73,2F,
> 2016-03-21 11:56:58.038 75,6E,69,71,61,2D,61,66,66,69,6E,69,74,79,2E,63,6F,6D,2F,68,74,74,70,64,6F,
> 2016-03-21 11:56:58.038 63,73,2F,66,69,6C,65,61,64,6D,69,6E,2F,74,65,6D,70,6C,61,74,65,73,2F,74,72,
> 2016-03-21 11:56:58.038 61,6E,73,6C,61,74,69,6F,6E,73,2F,6A,73,
. 2016-03-21 11:56:58.039 Sent 92 bytes
. 2016-03-21 11:56:58.039 There are 0 bytes remaining in the send buffer
. 2016-03-21 11:56:58.039 Looking for network events
. 2016-03-21 11:56:58.040 Timeout waiting for network events
. 2016-03-21 11:56:58.040 Read 4 bytes (24 pending)
. 2016-03-21 11:56:58.040 Read 24 bytes (0 pending)
< 2016-03-21 11:56:58.040 Type: SSH_FXP_STATUS, Size: 24, Number: 63236
< 2016-03-21 11:56:58.040 65,00,00,F7,04,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
. 2016-03-21 11:56:58.040 Discarding reserved response
. 2016-03-21 11:56:58.040 Waiting for another 4 bytes
. 2016-03-21 11:56:58.040 Looking for incoming data
. 2016-03-21 11:56:58.040 Looking for network events
. 2016-03-21 11:57:13.060 Timeout waiting for network events
. 2016-03-21 11:57:13.060 Waiting for data timed out, asking user what to do.
. 2016-03-21 11:57:13.060 Asking user:
. 2016-03-21 11:57:13.060 **Host is not communicating for 15 seconds.
. 2016-03-21 11:57:13.060
. 2016-03-21 11:57:13.060 Wait for another 15 seconds?** ()
. 2016-03-21 11:57:13.366 Session upkeep
. 2016-03-21 11:57:13.553 Pooling for data in case they finally arrives
. 2016-03-21 11:57:13.553 Looking for network events
. 2016-03-21 11:57:13.553 Timeout waiting for network events
. 2016-03-21 11:57:13.866 Session upkeep
. 2016-03-21 11:57:14.048 Pooling for data in case they finally arrives
. 2016-03-21 11:57:14.048 Looking for network events
. 2016-03-21 11:57:14.048 Timeout waiting for network events
. 2016-03-21 11:57:14.361 Session upkeep
. 2016-03-21 11:57:14.548 Pooling for data in case they finally arrives
. 2016-03-21 11:57:14.548 Looking for network events
. 2016-03-21 11:57:14.548 Timeout waiting for network events
. 2016-03-21 11:57:14.861 Session upkeep
. 2016-03-21 11:57:15.049 Pooling for data in case they finally arrives
. 2016-03-21 11:57:15.049 Looking for network events
. 2016-03-21 11:57:15.049 Timeout waiting for network events
. 2016-03-21 11:57:15.334 Attempt to close connection due to fatal exception:
* 2016-03-21 11:57:15.334 **Terminated by user.**
. 2016-03-21 11:57:15.334 Closing connection.
. 2016-03-21 11:57:15.334 Sending special code: 12
. 2016-03-21 11:57:15.334 Sent EOF message
. 2016-03-21 11:57:15.334 Selecting events 0 for socket 3560
. 2016-03-21 11:57:15.335 Connection was lost, asking what to do.
. 2016-03-21 11:57:15.335 Asking user:
. 2016-03-21 11:57:15.335 Terminated by user. ()
* 2016-03-21 11:57:16.890 (ESshFatal) **Terminated by user.**
* 2016-03-21 11:57:16.890 Error listing directory '/var/www/XXXXXXXXX'.