Cloudfront not accessing stream path

0

Dear Community,

I've got some problems setting up a CloudFront distribution. It is supposed to deliver an .mp3 stream.

My external non AWS origin is accessible via its Ip and path 12.34.56.789:8001/mystream.mp3 of course I've set up an DNS record to have a domain as origin. so now it is example.com:8001/mystream.mp3 which works fine without cloudfront.

Now cloudfront works fine to acess the server itself using example.com as the origin and set the port to 8001.

What doesn't work is setting the domain path as "/mystream.mp3" The Browser is returning a "502 The request could not be satisfied." Should I use root object instead or is there something I'm missing?

Thank you in advance

Iggy

TheIggy
質問済み 1年前192ビュー
2回答
0

Hi Iggy,

The 502 response could go multiple directions (if SSL certificates had an issue for example). From what you're describing I would suspect the domain path is what is causing this. This is used to append a directory path to the origin. e.g. if origin domain is example.com and domain path is /testing, this would result in example.com/testing/

Thus I think what Cloudfront might be doing is looking for example.com/mystream.mp3/*

AWS
回答済み 1年前
0

Hi,

thank you. I really had an issue with the domain. I had both root and path set to the same path. Unfortunately I now get an 404 error. That even makes it feel worse.

BR

TheIggy
回答済み 1年前

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

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

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

関連するコンテンツ