Answer the question
In order to leave comments, you need to log in
How to bypass 499 nginx error?
Hello colleagues!
I am writing the functionality of Internet acquiring for a bank. At a certain moment (after the transaction is completed), the bank sends payment data by POST and, without waiting for a response, closes the connection. As a result, I cannot catch this POST, and the line appears in the logs:
194.190.140.5 - - [12/Feb/2015:11:03:06 +0300] "POST /invoice/getresult HTTP/1.1" 499 0 "-" "HTTP_LIB/1.0" "-"
Answer the question
In order to leave comments, you need to log in
One familiar system administrator helped solve the problem:
Just what the doctor ordered!
Try the directive proxy_ignore_client_abort on
in host settings.
nginx.org/ru/docs/http/ngx_http_proxy_module.html#...
Синтаксис: proxy_ignore_client_abort on | off;
Умолчание:
proxy_ignore_client_abort off;
Контекст: http, server, location
Определяет, закрывать ли соединение с проксированным сервером в случае, если клиент закрыл соединение, не дождавшись ответа.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question