Possible reason for NGINX 499 error codes

前端 未结 15 1679
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 02:54

I\'m getting a lot of 499 NGINX error codes. I see that this is a client side issue. It is not a problem with NGINX or my uWSGI stack. I note the correlation in uWSGI log

15条回答
  •  被撕碎了的回忆
    2020-11-28 03:17

    In my case, I have setup like

    AWS ELB >> ECS(nginx) >> ECS(php-fpm).
    

    I had configured the wrong AWS security group for ECS(php-fpm) service, so Nginx wasn't able to reach out to php-fpm task container. That's why i was getting errors in nginx task log

    499 0 - elb-healthchecker/2.0
    

    Health check was configured as to check php-fpm service and confirm it's up and give back a response.

提交回复
热议问题