- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hello.
I think the explanation below is probably relevant.
https://aws.amazon.com/blogs/networking-and-content-delivery/accessing-an-aws-api-gateway-via-static-ip-addresses-provided-by-aws-global-accelerator/
Note: ALB will be validating the health of API gateway by sending HTTPS requests to IP addresses of VPC endpoints. API Gateway will respond with the 403 code (access forbidden), as ALB will not be providing the correct domain name and stage URL during the health check probes.
Did you set "Matcher" to 403 in the target group health check settings?
I think the health check will be successful if you set "Matcher" (Success Code) to 403 as per the above document.
Also, do you ever get a status code returned from API Gateway that is different from the status code expected in the health check?
For example, if I specify the status code as "200-499", will it succeed?
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html
Contenus pertinents
- demandé il y a 2 ans
- demandé il y a 2 ans
- demandé il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
Thank you for taking the time to reply, but as stated, above:
I have set the target group health check status to be 200,403.
, so yes I have tried to set 403 as one of the acceptable result codes, I have also tried ti with ONLY 403.