<div dir="ltr"><div dir="ltr">Thank you so much Maxim!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 26 mars 2024 à 17:33, Maxim Dounin <<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
On Tue, Mar 26, 2024 at 03:03:19PM +0100, Sébastien Rebecchi wrote:<br>
<br>
> I finally decided to activate retries of non idempotent requests, cause I<br>
> already manage data deduplication.<br>
> <br>
> Now I have: proxy_next_upstream error timeout invalid_header http_502<br>
> http_504 non_idempotent;<br>
> <br>
> Nevertheless I still see the same error messages when I trigger a reload of<br>
> an nginx in upstream.<br>
> Does it mean the problem is that same, or just that nginx (the ones in<br>
> front) still displays such error messages for information, but has<br>
> effectively retried the request on another server in upstream?<br>
<br>
The latter. As the errors are still here, such error messages are <br>
expected to appear in logs. The difference is that corresponding <br>
POST requests will be automatically retried to other upstream <br>
servers, so clients will get proper upstream responses instead of <br>
502. Looking into corresponding access log entries should show <br>
the difference, especially if $upstream_status is logged <br>
(<a href="http://freenginx.org/r/$upstream_status" rel="noreferrer" target="_blank">http://freenginx.org/r/$upstream_status</a>).<br>
<br>
-- <br>
Maxim Dounin<br>
<a href="http://mdounin.ru/" rel="noreferrer" target="_blank">http://mdounin.ru/</a><br>
-- <br>
nginx mailing list<br>
<a href="mailto:nginx@freenginx.org" target="_blank">nginx@freenginx.org</a><br>
<a href="https://freenginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">https://freenginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div></div>