nginx serving corrupt images

Maxim Dounin mdounin at mdounin.ru
Fri Feb 24 03:26:38 UTC 2023


Hello!

On Thu, Feb 23, 2023 at 09:42:29PM -0500, Dan Swaney wrote:

> Ah-ah...I caught the NGINX failure in the SSL response:

[...]

> > 2023/02/23 21:24:49 [debug] 4768#4528: *1 malloc: 000002DC83A8F350:16384
> > 2023/02/23 21:24:49 [debug] 4768#4528: *1 SSL buf copy: 626
> > 2023/02/23 21:24:49 [debug] 4768#4528: *1 SSL buf copy: 15758
> > *2023/02/23 21:24:49 [debug] 4768#4528: *1 SSL to write: 16384*
> > 2023/02/23 21:24:49 [debug] 4768#4528: ssl remove session: B87DD7B9:32
> > 2023/02/23 21:24:49 [debug] 4768#4528: shmtx lock
> > 2023/02/23 21:24:49 [debug] 4768#4528: shmtx unlock
> > 2023/02/23 21:24:49 [debug] 4768#4528: *1 SSL_write: -1
> > 2023/02/23 21:24:49 [debug] 4768#4528: *1 SSL_get_error: 1
> >
> > *2023/02/23 21:24:49 [crit] 4768#4528: *1 SSL_write() failed (SSL:
> > error:0A0C0103:SSL routines::internal error) while sending response to
> > client, client: 192.168.80.130, server: win10-web-svr.dreamstone.com
> > <http://win10-web-svr.dreamstone.com>, request: "GET /images/image001.jpg
> > HTTP/1.1", host: "win10-web-svr.dreamstone.com
> > <http://win10-web-svr.dreamstone.com>", referrer:
> > "https://win10-web-svr.dreamstone.com/
> > <https://win10-web-svr.dreamstone.com/>"*

The error suggests there is a bug in the SSL library you are 
using.  What does "nginx -V" show?

(IIRC, there was something like this in the OpenSSL development 
recently, though I believe it doesn't affect any of the released 
versions.  I may be wrong though.)

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list