Peertube: Cannot access object storage after successfully uploading the video

Hi,

I installed peertube through Yunohost. My object storage credentials are all correct, since it can uploaded to the object storage. And I also have set the file permission to public, so everyone with the link can access the file in the bucket.

However, the video doesn’t load after it was successfully uploaded.

It doesn’t show any error messages. Just show the loading circle gif.

And here is the error messages:

error[2023-09-18, 9:32:24 p.m.] Client log: Cannot get sha256 segments
{
  "tags": [
    "client"
  ],
  "username": "root",
  "userAgent": "Mozilla/5.0— Firefox/117.0",
  "stackTrace": "JSON.parse: unexpected character at line 1 column 1 of the JSON data\n",
  "url": "https://domain.com/w/eDFA5YdEHibWbbqJG9njze"
}
error[2023-09-18, 9:32:24 p.m.] Client log: HLS.js error: networkError - fatal: true - manifestLoadError
{
  "tags": [
    "client"
  ],
  "username": "root",
  "userAgent": "Mozilla/5.0— Firefox/117.0",
  "url": "https://domain.com/w/eDFA5YdEHibWbbqJG9njze"
}

When I search this issue(HLS.js error: networkError) online, it suggest to clear cache of the browsers, which I did. It doesn’t work.

I found this post here. However, I know that Yunohost had make many changes of the Peertube codes. I am posting it here, if anyone would be able to point out where is the issue.

Thanks in advance.

Hi,

Please share your video URL

Thanks very much for your reply :grinning:, my issue was resolved by adding the buckname in the end of the base url.