JDK-6821321 : Solaris sftp client receives "Broken pipe" due to server-side java.io.InterruptedIOException
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 5.0u17,6u12
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-03-24
  • Updated: 2010-07-29
  • Resolved: 2009-03-24
Related Reports
Duplicate :  
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
WORK AROUND The following additional JRE runtime parameter makes the issue disappear: -Dsun.security.pkcs11.enable-solaris=false
24-03-2009