[Flask] Flask and Nginx/Gunicorn
Bryan Corralejo
corralejob at gmail.com
Mon Oct 28 16:14:29 EDT 2019
Although now that I think about it more, this indicates the client is closing the connection. Your client might have a timeout threshold being met when the application is under load, not an NGINX problem.
Regards,
Bryan
> On Oct 28, 2019, at 3:11 PM, Bryan Corralejo <corralejob at gmail.com> wrote:
>
> http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout Might be something to look into. This sets the amount of time NGINX will wait to hear back from the upstream server.
>
> Regards,
>
> Bryan
>
>>> On Oct 28, 2019, at 2:18 PM, Rangarajan, Prakash via Flask <flask at python.org> wrote:
>>>
>>
>> Hi,
>> I am trying to run my flask app behind a reverse proxy using Nginx and Gunicorn. When I run some load test, I see 499’s from nginx. I believe it is a generic error code when it can’t access the upstream or takes too long for a response. Is there a good way to debug this or some configuration parameters tht can be tuned ?
>>
>> Thanks,
>> Prakash
>> _______________________________________________
>> Flask mailing list
>> Flask at python.org
>> https://mail.python.org/mailman/listinfo/flask
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20191028/55c74d2f/attachment.html>
More information about the Flask
mailing list