使用 AWS re:Post 即表示您同意 AWS re:Post 使用條款

Troubleshooting HTTP 5xx errors from Amazon S3

2 分的閱讀內容
內容層級:中級
0

Getting 5xx errors with your Amazon Simple Storage Service (Amazon S3) operations? For information on the Amazon S3 HTTP status codes, error codes and their description, see Error responses. Review this list of handpicked curated resources to identify the root cause and troubleshooting instructions based on your use case.

Enter image description here Types of 5xx status errors

  • AmazonS3Exception: Internal Error (Service: Amazon S3; Status Code: 500; Error Code: 500 Internal Error; Request ID: A4DBBEXAMPLE2C4D): The error code 500 Internal Error indicates that Amazon S3 can't handle the request at that time.
  • AmazonS3Exception: Slow Down (Service: Amazon S3; Status Code: 503; Error Code: 503 Slow Down; Request ID: A4DBBEXAMPLE2C4D): The error code 503 Slow Down typically indicates that the number of requests to your S3 bucket is very high.

Enter image description here Troubleshoot 5xx errors

Because Amazon S3 is a distributed service, a very small percentage of 5xx errors is expected during normal use of the service. All requests that return 5xx errors from Amazon S3 can be retried. This means that it's a best practice to have a fault-tolerance mechanism or to implement retry logic for any applications making requests to Amazon S3. By doing so, S3 can recover from these errors.

To resolve these errors, see How do I troubleshoot a HTTP 500 or 503 error from Amazon S3?


Enter image description here Prevent 5xx errors


Enter image description here Related re:Post Questions

profile pictureAWS
專家
已發佈 2 年前檢視次數 3474 次