login about faq


I've a issue with PHP extensions and sFTP. I get since yesterday the error message below. The days before it runs fine. I don't understand the error message. Pls can anyone have a look to it and tell me what goes wrong ...



    DllDate: Mar 12 2016
    UnlockPrefix: xxxxxxxxxxxxxx
    Architecture: Little Endian; 64-bit
    Language: Linux PHP
    VerboseLogging: 0
    SshVersion: SSH-2.0-OpenSSH_6.6.1
    SftpVersion: 0
    Component successfully unlocked using purchased unlock code.
    sshTransportOpenChannel:  channelType: session
    clientChannel: 0
    clientInitialWindowSize: 327680
    clientMaxPacketSize: 32768
    Sent open channel request
    errno: 104
    osErrorMessage: Connection reset by peer
    numBytesRequested: 16
    Failed to receive data on the TCP socket
    Failed to read 1st block_size bytes..
    sshRawPacket: Socket fatal error.
    sshReadMessage: Socket fatal error.
    Error reading channel response.
    Socket connection lost, channel closed.

asked Jun 24 '16 at 02:45

grunon's gravatar image


edited Jun 24 '16 at 07:43

jpbro's gravatar image

jpbro ♦

The normal sequence of calls is

  1. Call sftp.Connect to establish the secure SSH connection.
  2. Call sftp.AuthenticatePw (or another Authenticate* method) to authenticate.
  3. Call sftp.InitializeSFtp to start the SFTP subsystem on the SSH connection.

It seems that the connection was closed/reset by something external (a software or hardware firewall?) or perhaps by the SSH server itself just before step 3.

Check the following:

  1. Examine the sftp.LastErrorText after the call to Connect, and also after the call to AuthenticatePw. Verify that all was successful.
  2. Did the SSH server get updated to a new version? If so, maybe that has something to do with it.
  3. Were there any changes to firewalls or any other security infrastructure on either the client or server sides?
  4. Does it happen every time?

answered Jun 24 '16 at 09:11

chilkat's gravatar image

chilkat ♦♦


Thank you for your answer. I will check it and come back with results.

regards grunon

(Jun 24 '16 at 09:19) grunon
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 24 '16 at 02:45

Seen: 1,510 times

Last updated: Jun 24 '16 at 09:19

powered by OSQA