Host is not communicating for more than 15 seconds. Still waiting...

Advertisement

scneap
Guest

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:
. 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'.

Reply with quote

Advertisement

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

Re: Host is not communicating for more than 15 seconds. Still waiting...

What protocol are you using with FileZilla?
Can you show us its log file?

Reply with quote

scneap
Joined:
Posts:
3

I connected with Filezilla via SFTP, like in WinSCP. According to the log the same thing happens, only that Filezilla doesn't show any error mesage. So I guess it has nothing to do with WinSCP itself. Any ideas what could go wrong on my PC? It works on other machines, but they are in a different network...

Here is the Filezilla log (Verbose):
2016-03-21 13:16:17 13828 1 Status: Connecting to XXXX...
2016-03-21 13:16:17 13828 1 Response: fzSftp started, protocol_version=4
2016-03-21 13:16:17 13828 1 Command: open "root@XXXX" 22
2016-03-21 13:16:18 13828 1 Command: Pass: **************
2016-03-21 13:16:18 13828 1 Status: Connected to XXXX
2016-03-21 13:16:18 13828 1 Status: Retrieving directory listing...
2016-03-21 13:16:18 13828 1 Command: pwd
2016-03-21 13:16:18 13828 1 Response: Current directory is: "/root"
2016-03-21 13:16:18 13828 1 Command: ls
2016-03-21 13:16:18 13828 1 Status: Listing directory /root
2016-03-21 13:16:18 13828 1 Status: Directory listing of "/root" successful
2016-03-21 13:19:29 13828 1 Status: Retrieving directory listing of "/root"...
2016-03-21 13:19:29 13828 1 Command: ls
2016-03-21 13:19:29 13828 1 Status: Listing directory /root
2016-03-21 13:19:29 13828 1 Status: Directory listing of "/root" successful
2016-03-21 13:28:53 13828 1 Status: Retrieving directory listing of "/root"...
2016-03-21 13:28:53 13828 1 Command: ls
2016-03-21 13:29:13 13828 1 Error: Connection timed out after 20 seconds of inactivity
2016-03-21 13:29:14 13828 1 Error: Failed to retrieve directory listing
2016-03-21 13:29:14 13828 1 Status: Disconnected from server
2016-03-21 13:29:14 13828 1 Status: Connecting to XXXX...
2016-03-21 13:29:14 13828 1 Response: fzSftp started, protocol_version=4
2016-03-21 13:29:14 13828 1 Command: open "root@XXXX" 22
2016-03-21 13:29:14 13828 1 Command: Pass: **************
2016-03-21 13:29:14 13828 1 Status: Connected to XXXX
2016-03-21 13:29:14 13828 1 Status: Retrieving directory listing of "/root"...
2016-03-21 13:29:14 13828 1 Command: cd "/root"
2016-03-21 13:29:15 13828 1 Response: New directory is: "/root"
2016-03-21 13:29:15 13828 1 Command: ls
2016-03-21 13:29:15 13828 1 Status: Listing directory /root
2016-03-21 13:29:15 13828 1 Status: Directory listing of "/root" successful
2016-03-21 13:29:18 13828 1 Status: Disconnected from server

Reply with quote

scneap

The other problem is the speed. I can download files with Filezilla with around 5MB via SFTP. When using WinSCP I barely reach 7kb.
What could be the problem here?

Reply with quote

Advertisement

scneap
Joined:
Posts:
3

Finally after a year of hassle I figured it out..
I have a ASUS ROG Mainboard. And with it comes a software called "GameFirst", which leads to the games get prioritized when it comes to bandwith. Even if no game is playing it somehow restricted SFTP to work correctly. Now I deactivated the software and everything works well. I can upload with about 1MB to our servers and won't get disconnected anymore all the time.

Old thread but maybe someone somewhere stumbles upon it.

Reply with quote

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

scneap wrote:

Finally after a year of hassle I figured it out..
I have a ASUS ROG Mainboard. And with it comes a software called "GameFirst", which leads to the games get prioritized when it comes to bandwith. Even if no game is playing it somehow restricted SFTP to work correctly. Now I deactivated the software and everything works well. I can upload with about 1MB to our servers and won't get disconnected anymore all the time.

Old thread but maybe someone somewhere stumbles upon it.
Thanks for sharing this!

Reply with quote

Advertisement

You can post new topics in this forum