Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An error occurred while a request was made by Elastic Load Balancing to another service

Tags:

I just set up an application load balancer(ABL) on my AWS account. The ALB is able to successfully deliver requests to the EC2s in the auto scaling group.

ALB -> TargetGroup -> AutoScalingGroup

However, I see an exclamation mark appearing next to the name of my ALB, which says An error occurred while a request was made by Elastic Load Balancing to another service.

enter image description here

The alarms set on the ALB also works without any problems.

I'm worrying that there's something wrong with my ALB configuration. What might cause this warning message to appear?

If you need to know more information about my configuration, just tell me. I'll try my best to let you know.

like image 278
Brian Avatar asked Mar 07 '18 07:03

Brian


People also ask

Which of the following errors would be generated by the load balancer?

Which of the following errors would be generated by the Load Balancer? The Load Balancer generates the HTTP 503: Service unavailable error when the target groups for the load balancer have no registered targets.

What happens when the elastic load balancing fails the health check?

If an instance fails these status checks, it is marked unhealthy and is terminated while Amazon EC2 Auto Scaling launches a new replacement instance. You can attach one or more load balancer target groups, one or more Classic Load Balancers, or both to your Auto Scaling group.


1 Answers

I faced the same issue - traffic redirects fine from load balancer to target group, but there is exclamation mark next to the name of ALB.

In my case it was due to the problem with my IAM user. It didn't have permissions to access AWS WAF Web ACL. AWS showed an error in LB description right after AWS WAF Web ACL. After adding necessary permissions error near LB name disappeared.

like image 196
rkm Avatar answered Sep 20 '22 13:09

rkm