Archived Forum Post

Index of archived forum posts

Question:

SFTP Connection Fail

Feb 17 '15 at 12:38

I got the error below when connecting to the server. Please let me know if the error is on the client or server. I did not make any changes on the client side so my guess is they updated something in the server. Thanks in advance!

Last error latest chilkat:

ChilkatLog:
  Connect_SFtp:
    DllDate: Jan 21 2015
    ChilkatVersion: 9.5.0.47
    UnlockPrefix: COMPUTSSH
    Username: XXXX
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 0
    SftpVersion: 0
    hostname: XXXX
    port: 22
    Established TCP/IP connection with SSH server
    clientIdentifier: SSH-2.0-PuTTY_Release_0.63
    Sending client identifier...
    Done sending client identifier.
    Reading server version...
    Failed to read initial server version string
    bytesReceived: 
    Failed.
  --Connect_SFtp
--ChilkatLog

Last error text Old Chilkat:

   DllDate: Jan 19 2012
    UnlockPrefix: COMPUTSSH
    Username: XXXXXX
    Architecture: Little Endian; 32-bit
    Language: .NET 4.0
    SftpVersion: 0
    hostname: XXXXXXXXXXXX
    port: 22
    ConnectTimeoutMs_1: 30000
    calling ConnectSocket2
    IPV6 enabled connect with NO heartbeat.
    connectingTo: XXXXXXXXXXXX
    dnsCacheLookup: XXXXXXXXXXXX
    dnsCacheHit: 00.00.00.00
    GetHostByNameHB_ipv4: Elapsed time: 0 millisec
    maxTimeMs_connect: 30000
    myIP_1: 00.00.00.00
    myPort_1: 59114
    connect successful (1)
    Established TCP/IP connection with SSH server
    clientIdentifier: SSH-2.0-PuTTY_Local:_May_11_2009_17:22:38
    Sending client identifier...
    Done sending client identifier.
    Reading server version...
    numBytesRequested: 1
    Connection closed by server.
    Failed to read initial server version string
    bytesReceived: 
    Failed.


Accepted Answer

You are right. They did blocked my IP. Thank you!


Answer

Download and test with the latest version of Chilkat.
Also, be sure to post LastErrorText's using "pre" tags so that it is readable..


Answer

Done using the "pre" tags. Why do I need to download the latest? My upload file to sftp program was working since 2012 and all of a sudden it can't connect to the server. I did not make any changes.


Answer

It could be firewall changes that block your ip on their site, it could be a dynamic block due to the site thinking you are trying to access and not being authorized,

Has the password expired? Did the site lock you out? did they remove your id?