IBM Support

Error on SFTP Client GET Service with "Negative message length in SFTP protocol:[Unknown cause]"

Troubleshooting


Problem

The customer is attempting to download a file via SFTP Get in Sterling B2B Integrator. When the file is small(in the KBs) they are able to download it successfully. When the file is larger (in the Mbs) then they get the following error and the file fails to download: Negative message length in SFTP protocol:[Unknown cause]

Symptom

The error in sftp.log is:
[2015-12-31 10:12:33.829] DEBUG Session.get(GR,GR,PT) get data from remote file=[/OUTBOUND/Other/8000021391893_0000000000215_20151124_075508_BulkAcct.ack.pgp].
[2015-12-31 10:12:34.303] ERROR Session.failedSequence(S,R) Negative message length in SFTP protocol. [Unknown cause]
[2015-12-31 10:12:34.303] DEBUG Response.sendResults - Entered. Time - 1451578354303

There is no stack trace associated with the error.


PSLogger doesn't show any error.


wf.log says:
[2015-12-31 10:12:34.306] WARN 000000000000 WORKFLOW.ACTIVITY.ERR_ServiceMetaData_getParmVersion [ServiceMetaData.getParmVersion] Can not get sii from SftpClientAdapter
[2015-12-31 10:12:34.306] DEBUG msg Hash={}
[2015-12-31 10:12:34.306] DEBUG 000120010298 WORKFLOW.WORKFLOW.DEB_iwfc_content iwfc.content {Status=1, ErrorMessage=Negative message length in SFTP protocol. [Unknown cause], ServiceStartTime=2015-12-31 10:12:33.676, ServiceEndTime=2015-12-31 10:12:34.303}
[2015-12-31 10:12:34.306] DEBUG 000120010883 WORKFLOW.WORKFLOW.DEB_setWFContent setWFContent(): set Status to(->) 1 , append = false )
[2015-12-31 10:12:34.306] DEBUG 000120010981 WORKFLOW.WORKFLOW.DEB_setWFContent1 setWFContent(): AI =
null

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Adapters","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF014","label":"iOS"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
14 November 2019

UID

swg21982398