locked
SCP intermittently Transfers data RRS feed

  • Question

  • I have an intermittent problem which makes it more difficult to solve. I will use winscp as an example on a client PC.

    • I can always connect to the remote site with winscp and see the data files on the remote host
    • I can always download data from the remote site to my pc , the size of the file does not matter
    • I can always upload data to the remote server as long as the size of the file is less then 1KB
    • I have intermittent results when trying to transfer files larger then 1KB. When it fails it will start the upload at a fats rate say 50MB/s and then within approx. 10 secs the transfer rate will slow down to 0 B/S and then eventually fail. It will have created the file name on the remote server but it will have zero bytes in it. I could try this several hours later and will find that uploading to the same site will work fine. I have tried this from several PC's with different version of windows and get the same result. I have also tested uploading from a Linux server and will get the same results.

    log file results below. it is not the whole log file just the start and the end.

    Binary transfer mode selected.
    > 2016-06-02 14:18:46.034 T1271220107 0 1458192988 0
    . 2016-06-02 14:18:46.035 Sent 27 bytes
    . 2016-06-02 14:18:46.035 There are 0 bytes remaining in the send buffer
    . 2016-06-02 14:18:46.035 Looking for network events
    . 2016-06-02 14:18:46.035 Timeout waiting for network events
    . 2016-06-02 14:18:46.035 Waiting for another 1 bytes
    . 2016-06-02 14:18:46.035 Looking for incoming data
    . 2016-06-02 14:18:46.035 Looking for network events
    . 2016-06-02 14:18:46.037 Detected network event
    . 2016-06-02 14:18:46.037 Enumerating network events for socket 2732
    . 2016-06-02 14:18:46.037 Enumerated 1 network events making 1 cumulative events for socket 2732
    . 2016-06-02 14:18:46.037 Handling network read event on socket 2732 with error 0
    . 2016-06-02 14:18:46.037 Received 1 bytes (0)
    . 2016-06-02 14:18:46.037 Read 1 bytes (0 pending)
    . 2016-06-02 14:18:46.037 SCP remote side confirmation (0)
    > 2016-06-02 14:18:46.037 C0644 5015552 vpnclient-winx64-msi-5.0.07.0290-k9.exe
    . 2016-06-02 14:18:46.037 Sent 54 bytes
    . 2016-06-02 14:18:46.037 There are 0 bytes remaining in the send buffer

    it transfers fine for a while and then we get a lot of the following

    There are 33184 bytes remaining in the send buffer
    . 2016-06-02 14:19:01.066 There are 33184 bytes remaining in the send buffer, need to send at least another 416 bytes
    . 2016-06-02 14:19:01.067 Looking for network events
    . 2016-06-02 14:19:01.167 Timeout waiting for network events
    . 2016-06-02 14:19:01.167 There are 33184 bytes remaining in the send buffer
    . 2016-06-02 14:19:01.167 Waiting for dispatching send buffer timed out, asking user what to do.
    . 2016-06-02 14:19:01.167 Asking user:
    . 2016-06-02 14:19:01.167 **Host is not communicating for 15 seconds.

    Any help would be appreciated

    Thursday, June 2, 2016 8:58 AM