Help with ssl_write() failed issue on nginx

adhprash nginx-forum at
Fri Mar 18 00:38:03 UTC 2022

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

Posted at Nginx Forum:,293852,293852#msg-293852

More information about the nginx mailing list