Welcome! Log In Create A New Profile

Advanced

Re: Return 408 to ELB

Maxim Dounin
November 30, 2017 02:34PM
Hello!

On Thu, Nov 30, 2017 at 02:02:27PM -0500, reverson wrote:

> I am running into an issue, that I believe was documented here
> (https://trac.nginx.org/nginx/ticket/1005).
>
> Essentially, I am seeing alerts as our ELBs are sending 504s back to clients
> with no backend information attached, but when I look through our nginx
> request logs, I see that we "should have" sent them a 408. However, it
> appears that nginx is just closing the connection.
>
> We are using keep-alive connections, and I was looking at using the
> reset_timedout_connection parameter, but based on the documentation it
> doesn't seem like this will help.

Note that the only issue here is that the client sees 504
instead of 408. If these are real clients, you may want to use
larger client_body_timeout and rely on the ELB timeouts instead.

> Is there a way to actually send a 408 back to the client using nginx and
> ELBs?

No.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Return 408 to ELB

reverson November 30, 2017 02:02PM

Re: Return 408 to ELB

Maxim Dounin November 30, 2017 02:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready