cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SFTP sender CC

apu_das2
Active Contributor
0 Kudos

Any idea why getting below error from SFTP sender communication channel in PI -

Exception received: com.jcraft.jsch.JSchException: 4: Received message is too long: 1348563822

SFTP adapter is configured using password and fingerprint only and our Basis can ping ping from PI OS level as well.

Accepted Solutions (0)

Answers (5)

Answers (5)

apu_das2
Active Contributor
0 Kudos

I have requested mu SFTP server team to provide me a separate username which will directly redirect to the requisite SFTP directory.

I will let you know based on their reply.

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Apu,

The welcome message is nothing but the banners giving the user some information like Terms and Condition before login.

I don't think you can ignore these in PI.But you can ask SFTP server guys to create a group ,add your channel user to that group and block that banner to that group.

Br,

Manoj

dilipkkp2412
Contributor
0 Kudos

Hi Apu,

If you are talking about below type of pop-up welcome message after SFTP-login using some tool (like FileZilla),

then don't worry, it can not be the root cause of the error.

Just try few things:

  • First ignore "Fingerprint" input in SFTP-Chanel, here enter * (star sign only)
  • use XPI_Inspector for Seder SFTP channel to capture more detailed log.

Thanks & Regards,

Dilip

apu_das2
Active Contributor
0 Kudos

No Dilip. This is generic message when we try to connect from Filezilla. Core FTP etc.

Actually, there is some generic popo up like "Welcome to the Server" with option Ok/Cencel.

When we are pressing ok then only it is allowing to enter into the directory.

dilipkkp2412
Contributor
0 Kudos

Hi Apu,

Just for your info

  • As you said, If case is like "When we are pressing ok then only it is allowing to enter into the directory".
  • Almost similar type of issue we had faced for one of the SFTP server connectivity where "keyboard-interactive authentication" was enabled and to resolve it we had to update PI SFTP adapter with "SFTP SP02 Patch 6 or higher".

But here, as Mr. Evgeniy also said "issue is like your SFTP server prints some message, thus violates SFTP protocol", so,

Whichever, helps you, please let us know the solution, this is one more interesting SFTP exception case.

Thanks & Regards,

Dilip

PavanKumar
Active Contributor
0 Kudos

Hi,

May be the message size exceeded the size configured in Maximum file size restriction parameter in Sender CC.

Regards

Pavan

former_member190293
Active Contributor
0 Kudos

Hi Apu!

Looks like your SFTP server prints some message, thus violates SFTP protocol. You could try to use any standalone SFTP client to check, if you're able to establish connection.

Regards, Evgeniy.

apu_das2
Active Contributor
0 Kudos

Yes, I have checked with SFTP server and basically one pop up welcome message is coming up after after login.

I believe that is what creating the issue to create connection from PI.

But, SFTP server is not able to get rid of this welcome message.

Is there any way to handle in PI CC?