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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン