algora-io / tv

Open source Twitch for developers
https://algora.tv
Other
1.01k stars 59 forks source link

tigris/fly.io returning 403 for uploaded m3u8 video #46

Closed mazz closed 5 months ago

mazz commented 5 months ago

From mac m1 dev machine. After following the instructions in Readme.md, successfully encoded to m3u8 and uploaded encoded video artifacts to tigris/fly.io(when I log into tigris I see the bucket and the file there).

However, when I try to play the video in algora(running locally on dev machine) there is a 403 runtime error:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied.</Message><Resource>/black-grass-6028/b3233893-679d-4b08-a6c9-7594604242e0/index.m3u8</Resource><RequestId>1717200327565850018</RequestId><Key>b3233893-679d-4b08-a6c9-7594604242e0/index.m3u8</Key><BucketName>black-grass-6028</BucketName></Error>

What might be the remedy?

mazz commented 5 months ago

I figured it out. I needed to make the bucket public on tigris. leaving this here for others.