login about faq

A user is reporting sporadic failures with the log shown below. Any ideas on what could be causing this?

      InitializeSftp:
        DllDate: Jun 13 2016
        ChilkatVersion: 9.5.0.58
        UnlockPrefix: MLLTSFSSH
        Architecture: Little Endian; 32-bit
        Language: ActiveX
        VerboseLogging: 0
        sshTransportOpenChannel:
          channelType: session
          clientChannel: 0
          clientInitialWindowSize: 327680
          clientMaxPacketSize: 32768
          Sent open channel request
          sockRecv failed.
          sockRecvN_buf: Did not receive the exact number of bytes desired.
          numBytesToReceive: 16
          numBytesReceived: 0
          Failed to read 1st block_size bytes..
          Error reading channel response.
        --sshTransportOpenChannel
        SSH read timed out.
        Failed.
      --InitializeSftp
    --ChilkatLog

asked Jan 10 at 14:57

ixm7's gravatar image

ixm7
632211

edited Jan 10 at 17:01

jpbro's gravatar image

jpbro ♦
1.1k2618


Sometimes the server has very old ssh libs, can cause some of these type of failures. Also look at SoSndBuf, and SoRecBuff, we set ours to 262144.

link

answered Jan 11 at 12:47

cdlvj130's gravatar image

cdlvj130
12691018

OOPS, the initializeSftp fails.

I guess you would have to use something like Filezilla or WinSCP to get that info.

link

answered Jan 11 at 15:33

cdlvj130's gravatar image

cdlvj130
12691018

Thanks. How does one check for old ssh libs? On the client? On the server?

link

answered Jan 11 at 14:31

ixm7's gravatar image

ixm7
632211

on the server, This is Perl. right after initializeSftp

my $intVal = $self->getSSHVersion($ftp->lastErrorText());

getSSHVersion subroutine parses for text SshVersion returned by lastErrorText.

link

answered Jan 11 at 15:31

cdlvj130's gravatar image

cdlvj130
12691018

Thanks for the follow up.

link

answered Jan 11 at 16:08

ixm7's gravatar image

ixm7
632211

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×209

Asked: Jan 10 at 14:57

Seen: 164 times

Last updated: Jan 11 at 16:08

powered by OSQA