IBM Support

IT18258: RANDOM SFTP FAILURE: TRYING TO OPERATE OR CLOSE WHEN CLOSED AND FAILED TO READ BINARY PACKAGE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Executed the below command against a V5262 IBM Sterling B2B
    Integrator instance:-
    
    scp -oPort=30039 myfile
    user@hostvm1:/User/myfile
    
    Here the file myfile is around 529 MB.
    
    The execution of the above command failed with the below error:
    
    
    Received disconnect from 9.55.61.128: 2: Failed to read binary
    packet data!
    lost connection
    
    The sftpserver.log has the below error trace:-
    
    [2016-11-17 11:07:14.048] ALL
    SSHSCIAccessManager.canConnect(SA)
    remoteClient=[/9.55.61.119:54753]
    [2016-11-17 11:07:17.489] ALL AUDIT: User [User] authenticated
    via password.
    [2016-11-17 11:07:17.621] ALL AUDIT: User [User]] is opening
    file [myfile] for transfer.
    [2016-11-17 11:07:22.054] ERROR An exception occurred in
    closeFile.
    [2016-11-17 11:07:22.054] ERROR [1479398842054] Trying to close
    while closed.
    [2016-11-17 11:07:22.054] ERRORDTL
    [1479398842054]java.lang.IllegalStateException: Trying to close
    while closed.
            at
    com.sterlingcommerce.woodstock.services.sftpserver.server.Messag
    eProvider.close(MessageProvider.java:168)
            at
    com.sterlingcommerce.woodstock.services.sftpserver.server.Mailbo
    xSystemProvider.closeFile(MailboxSystemProvider.java:993)
            at com.maverick.sshd.scp.ScpCommand.A(Unknown Source)
            at com.maverick.sshd.scp.ScpCommand.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:795)
    
    [2016-11-17 11:07:22.054] ERROR 000000000000 GLOBAL_SCOPE An
    exception occurred in closeFile.
    java.lang.IllegalStateException: Trying to close while closed.
            at
    com.sterlingcommerce.woodstock.services.sftpserver.server.Messag
    eProvider.close(MessageProvider.java:168)
            at
    com.sterlingcommerce.woodstock.services.sftpserver.server.Mailbo
    xSystemProvider.closeFile(MailboxSystemProvider.java:993)
            at com.maverick.sshd.scp.ScpCommand.A(Unknown Source)
            at com.maverick.sshd.scp.ScpCommand.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:795)
    [2016-11-17 11:07:22.066] ALL AUDIT: User [user] logged off.
    
    The common3splogger.log has the below error trace :-
    
    [2016-11-17 11:07:22.046] ERROR SSHConnection Error
    [2016-11-17 11:07:22.046] ERROR [1479398842046] null
    [2016-11-17 11:07:22.046] ERRORDTL
    [1479398842046]java.lang.ArrayIndexOutOfBoundsException
            at com.maverick.util.DynamicBuffer.write(Unknown Source)
            at com.maverick.util.DynamicBuffer$_A.write(Unknown
    Source)
            at java.io.OutputStream.write(OutputStream.java:87)
            at
    com.maverick.sshd.platform.ExecutableCommand.processStdinData(Un
    known Source)
            at
    com.maverick.sshd.SessionChannel.onChannelData(Unknown Source)
            at com.maverick.sshd.Channel.A(Unknown Source)
            at com.maverick.sshd.ConnectionProtocol.I(Unknown
    Source)
            at
    com.maverick.sshd.ConnectionProtocol.processMessage(Unknown
    Source)
            at com.maverick.sshd.TransportProtocol.A(Unknown Source)
            at com.maverick.sshd.TransportProtocol.B(Unknown Source)
            at
    com.maverick.sshd.TransportProtocol.onSocketRead(Unknown Source)
            at
    com.maverick.nio.SocketConnection.processReadEvent(Unknown
    Source)
            at
    com.maverick.nio.Daemon$_C.processSelectionKey(Unknown Source)
            at com.maverick.nio.SelectorThread.run(Unknown Source)
    
    The noapp.log has the below error trace :-
    
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    java.lang.ArrayIndexOutOfBoundsException
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.util.DynamicBuffer.write(Unknown Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.util.DynamicBuffer$_A.write(Unknown Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at java.io.OutputStream.write(OutputStream.java:87)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at
    com.maverick.sshd.platform.ExecutableCommand.processStdinData(Un
    known Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.sshd.SessionChannel.onChannelData(Unknown
    Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.sshd.Channel.A(Unknown Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.sshd.ConnectionProtocol.I(Unknown Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.sshd.ConnectionProtocol.processMessage(Unknown
    Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.sshd.TransportProtocol.A(Unknown Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.sshd.TransportProtocol.B(Unknown Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.sshd.TransportProtocol.onSocketRead(Unknown
    Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.nio.SocketConnection.processReadEvent(Unknown
    Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.nio.Daemon$_C.processSelectionKey(Unknown
    Source)
    [2016-11-17 11:07:22.046] ALL 000000000000 GLOBAL_SCOPE
    at com.maverick.nio.SelectorThread.run(Unknown Source)
    

Local fix

  • RTC 519531
    EJ / EJ
    No workaround
    

Problem summary

  • USERS AFFECTED:
    All
    
    PROBLEM DESCRIPTION:
    Random SFTP failure : Trying to operate or close when
    closed and failed to read binary package.
    
    PLATFORMS AFFECTED:
    All
    

Problem conclusion

  • RESOLUTION SUMMARY:
    
    A code fix is provided.
    
    
    DELIVERED IN:
    5020602_4
    5020603_2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT18258

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    526

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-06

  • Closed date

    2017-05-11

  • Last modified date

    2017-06-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

  • R526 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
19 June 2017