CloudFront: InvalidHeadersForS3OriginException in Edit Behavior

0

Hi

I just got this error:

InvalidHeadersForS3OriginException: Your request contains forwarded Header Name Host that is not allowed by S3

I have had this header forwarded for months on multiple distributions (and update them a lot previously), this error just appeared today when I tried to update a distribution.

Now I can't update the distributions, remove the Host header(or all of them) or just save without modifications.
I had this exception on a behavior that does not forwards the Host header (but the sibling behaviors do contain it)

Have you seen this issue as well?

Thank you!

質問済み 3年前373ビュー
1回答
0

I just end up removing the Host header (using the API because I can't over the UI) and adding a viewer request handler to forward the X-Forwarded-Host header

回答済み 3年前

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

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

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

関連するコンテンツ