1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
To trace and debug 5xx errors in your API Gateway when Lambdas show no errors and logs are clean, follow these steps:
- Enable access logging in API Gateway for detailed request/response logs.
- Inspect CloudWatch access logs for patterns or specific requests causing 5xx errors.
- Turn on AWS X-Ray for API Gateway and Lambda for end-to-end request tracing.
- Analyze CloudWatch metrics for API Gateway, focusing on 5xx and backend connection errors.
- Confirm no changes in API configuration that might affect integration responses or timeouts.
- Check for requests with large payloads that could exceed size limits for API Gateway and Lambda.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
Thanks, this helped me find the source. Specifically, enabling the access logs and analyzing the IP addresses in question. Turns out we were under a distributed attack for exactly 24 hours.