Cloudfront invalidation request fails: "CloudFront encountered an internal error."

1

When HTML pages are updated, I programmatically request invalidations from AWS Cloudfront.

Occasionally, the invalidation request takes a number of seconds, and gives an error, reading (in part)

Server error: `POST https://cloudfront.amazonaws.com/2020-05-31/distribution/(mydistribution)/invalidation` resulted in a `503 Service Unavailable` response:\n<?xml version="1.0"?>\n<ErrorResponse xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/"><Error><Type>Receiver</Type (truncated...)\n ServiceUnavailable (server): CloudFront encountered an internal error. Please try again. - <?xml version="1.0"?>\n<ErrorResponse xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/"><Error><Type>Receiver</Type><Code>ServiceUnavailable</Code><Message>CloudFront encountered an internal error. Please try again.</Message></Error><RequestId>(myrequestid)</RequestId></ErrorResponse>

This seems to be an internal error from AWS Cloudfront, and it appears to be happening more recently. The AWS Cloudfront documents do not mention this error, nor how to handle it.

The origin server is responsive and does not show any additional errors when an invalidation is being requested. It does not seem to be under heavy load.

I think this is a bug with Cloudfront; but I have no paid support in order to report it. What should my next steps be?

질문됨 2년 전433회 조회
2개 답변
0

I'd normally encourage you to raise a support case here; but as you point out you have no paid support.

Depending on the criticality of this issue I would consider paying for support in order to get assistance with this - from here (re:Post) there's not a lot that we can do with this issue; we're all volunteers and we have no visibility into user identity; accounts; services; etc.

profile pictureAWS
전문가
답변함 2년 전
  • Thanks. Paying to access support to report a bug to AWS staff seems sub-optimal...

  • Is it a bug? Don't know. Could be. Might not be. Could be some other cause. Without knowing the account number, request identifiers, times, dates and all that other information there's no way to say. Hence my encouragement to engage with the support team.

0

As a step forward, I've reported this as an error in the Cloudfront documentation, since this error should be documented.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠