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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南