JDK-6821320 : Solaris sftp client receives "Broken pipe" due to server-side java.io.InterruptedIOException
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 5.0u17,6u12
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-03-24
  • Updated: 2011-08-29
  • Resolved: 2011-08-29
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Solaris 10 sftp client receives "Broken pipe" intermittently due to 
java.io.InterruptedIOException while transferring binary data in an
encrypted way to the server. The server is implemented in pure Java.

The client side error message looks like follows:

Connection to <host> closed by remote host.
Couldn't send packet: Broken pipe

or

Read from remote host <host>: Connection reset by peer
Couldn't send packet: Broken pipe


The problem is reproducible only on Solaris 10 and 11, when using
JRE 5.0 or JRE 6.
JRE 1.4.2 on Solaris 10 is fine.
JRE 5.0 or JRE 6 on Solaris 9 is fine.

Comments
EVALUATION The bug get fixed at 6u13b03. we need to backpurt the updates of CR4898461, CR4898484, CR6682411, CR6682417 into JDK 5.
27-10-2009

EVALUATION Given the nature of the workaround, it sounds like the issue is more likely in the security packages rather than networking.
25-03-2009

WORK AROUND The following additional JRE runtime parameter makes the issue disappear: -Dsun.security.pkcs11.enable-solaris=false
24-03-2009