Help with ssl_write() failed issue on nginx

Sergey A. Osokin osa at
Fri Mar 18 03:51:41 UTC 2022

Hi there,

hope you're doing well.

On Thu, Mar 17, 2022 at 08:38:03PM -0400, adhprash wrote:
> I am doing mTLS authentication . I am having trouble pinpointing the exact
> issue because this happens intermittently. I have two clients setup for this
> and this happens especially on only one client.
> Below errors seem to randomly pop up
> [info] 31561#31561: *359835776 SSL_write() failed (104: Connection reset by
> peer) while sending to client, client
> [info] 11969#11969: *402978165 SSL_write() failed (32: Broken pipe) while
> sending to client
> This is my nginx version
> nginx version: nginx/1.20.1
> built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
> built with OpenSSL 1.1.1g FIPS  21 Apr 2020
> TLS SNI support enabled

Could you please provide an output of the `nginx -T' command.
It seems like the OS is RHEL 7.9, please confirm that.
The supported version of OpenSSL for that version of the OS is 1.0.2.
So, I'm curious how is NGINX been built and deployed in that case.

Thank you.

Sergey A. Osokin

More information about the nginx mailing list