Question about Application Load Balancer and 504 Error Codes

0

Good afternoon, dear all!

Currently, I have a question regarding the following scenario:

When making several requests that are being directed by an Application Load Balancer, I have noticed that some of them are returning the 504 error code, even though everything functions normally on other occasions. Initially, we had 40 subdomains within the load balancer, but I removed 13 of them and transferred those rules to another Application Load Balancer. Since then, the requests have normalized.

Could this be related to the decision time that the Load Balancer needs to choose one of the subdomain rules and also to the request load per second?

Thank you,

Paulo
asked 3 months ago193 views
1 Answer
0

Hello.

also to the request load per second?

This occurs not only on ALB but also when there is no response on the target side.
Therefore, you need to check the ALB logs and target web server logs to determine how far the request was received.
So, as you know, this can occur if the timeout value on the ALB side is exceeded when executing a process with a high load.

The following document is about troubleshooting when a 504 error occurs in ALB.
https://repost.aws/knowledge-center/504-error-alb

profile picture
EXPERT
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions