[stunnel-users] "Broken pipe" issue

Michal Trojnara Michal.Trojnara at mirt.net
Thu Sep 20 17:47:22 CEST 2012

Kai M. Becker wrote:
> although several postings state that this issue has been fixed, I'm 
> still
> getting this error message:
>     Error detected on SSL (read) file descriptor: Broken pipe (32)

A longer sample of your logs (with "debug = 7") would be useful here.

> The original problem for taking a closer look though, are hanging 
> incoming
> connections. I.e. a https request is not forwarded to the backend
> application, but hangs somewhere in limbo.
> My current workaround are TIMEOUT* settings to kill these 
> connections.
> Does anyone have some suggestions how to solve these issues?

In most cases a better solution is:
     socket = l:SO_KEEPALIVE=1
     socket = r:SO_KEEPALIVE=1
depending on which side of the connection hangs.


More information about the stunnel-users mailing list