Archived Forum Post

Index of archived forum posts

Question:

unable to solve error: Timeout while receiving data to output on sFTP

Nov 14 '14 at 11:54

I have an application that checks for files on a secure ftp server every 30 minutes. At least once or twice a week, I receive a "Timeout while receiving data to output" message when downloading a file. I have had the administrator of the server look at his logs and they show a successful transmissions. Is there anything that anyone recommends that I check or change?

-Erik

ChilkatLog:
 GetRemoteFileTextData:
 DllDate: Oct 7 2014
 ChilkatVersion: 9.5.0.45
 UnlockPrefix: SINSVISFTP
 Username: 495762-SVR:erik
 Architecture: Little Endian; 32-bit
 Language: ActiveX
 VerboseLogging: 0
 ProgressMonitoring:
   enabled: yes
   heartbeatMs: 0
   sendBufferSize: 65536
 --ProgressMonitoring
 AutoGetSizeForProgress: 0
 downloadToMemory:
 downloadToOutput:
 ModeZ: 0
 BinaryMode: 1
 pbsz_protp:
   sendCommand:
     sendingCommand: PBSZ 0
   --sendCommand
   readCommandResponse:
     replyLineQP: 200 PBSZ=3D0
     commandResponse: 200 PBSZ=0
     statusCode: 200
   --readCommandResponse
   sendCommand:
     sendingCommand: PROT P
   --sendCommand
   readCommandResponse:
     replyLineQP: 200 Protection level set to P
     commandResponse: 200 Protection level set to P
     statusCode: 200
   --readCommandResponse
 --pbsz_protp
 setupDataConnection:
   passive transfer mode
   setupPassiveDataSocket:
     sendCommand:
       sendingCommand: PASV
     --sendCommand
     readCommandResponse:
       replyLineQP: 227 Entering Passive Mode (72,44,xxx,16,195,103)
       commandResponse: 227 Entering Passive Mode (72,44,xxx,16,195,103)
       statusCode: 227
     --readCommandResponse
     passiveHostAddress: 72.44.xxx.16
     dataConnect:
        hostname: 72.44.xxx.16
        port: 50023
        socketOptions:
          SO_SNDBUF: 8192
          SO_RCVBUF: 8192
          TCP_NODELAY: 0
        --socketOptions
        dataConnectSuccess: 1
      --dataConnect
    --setupPassiveDataSocket
 --setupDataConnection
 sendCommand:
   sendingCommand: RETR some_file_name.xml
 --sendCommand
 convertDataConnToSsl:
    ConvertToTls: Elapsed time: 62 millisec
 --convertDataConnToSsl
 readCommandResponse:
   replyLineQP: 150 Connection accepted
   commandResponse: 150 Connection accepted
   statusCode: 150
 --readCommandResponse
 RETR_reply: 150 Connection accepted
 downloadRate: 0
 totalNumBytesReceived: 0
 receiveTimeMs: Elapsed time: 120000 millisec
 Timeout while receiving data to output.
 readTimeoutMs: 120000
 --downloadToOutput
 --downloadToMemory
 --GetRemoteFileTextData
 --ChilkatLog

Answer

Erik,

I can't think of anything. The LastErrorText indicates that the data connection was established. At that point, Chilkat is waiting for data to arrive on the data connection, but it never arrives..