CORS error in live stream on browser


I have setup a cloudfront distribution for HLS live streaming. Sometimes the playback is stopped as manifest & .ts chunks fetch is blocked due to CORS, however status received is 200 OK from Cloudfront.
The error description shows that Preflight request & initiator requests are from different domains. How do I make CF to skip this check or any alternative solution.

Also this issue is intermittent.

What changes do I make on CF to correct this issue?

asked 2 years ago783 views
2 Answers


Can you follow this document to configure CORS in your CloudFront and see if that fixes your issue.

  • Sam
answered 2 years ago

Thanks for the update. However I was able to correct it by using custom mediapackage cache & header policy on cloudfront.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions