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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则