TeamPiped / Piped

An alternative privacy-friendly YouTube frontend which is efficient by design.
https://piped.video
GNU Affero General Public License v3.0
8.36k stars 687 forks source link

Cant load anything on piped #1169

Closed rubynt closed 2 years ago

rubynt commented 2 years ago

Official Instance

Describe the bug

In this example i used this video: https://piped.kavin.rocks/watch?v=gMZTAvBYPxs and here is how it looks for me: cantload Even i cant open the feed, and it doesnt work on other instances

To Reproduce

Expected behavior

Load all of the data and video.

Logs/Errors

Access to fetch at 'https://pipedapi.kavin.rocks/sponsors/gMZTAvBYPxs?category=%5B%22sponsor%22%2C%22interaction%22%2C%22selfpromo%22%2C%22music_offtopic%22%5D' from origin 'https://piped.kavin.rocks' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
pipedapi.kavin.rocks/sponsors/gMZTAvBYPxs?category=%5B%22sponsor%22%2C%22interaction%22%2C%22selfpromo%22%2C%22music_offtopic%22%5D:1          Failed to load resource: net::ERR_FAILED
main.js:109                  Uncaught (in promise) TypeError: Failed to fetch
    at Proxy.fetchJson (main.js:109:20)
    at Proxy.fetchSponsors (WatchVideo.vue:309:31)
    at Proxy.getSponsors (WatchVideo.vue:383:22)
    at Proxy.mounted (WatchVideo.vue:281:14)
    at tr (runtime-core.esm-bundler.js:155:22)
    at yt (runtime-core.esm-bundler.js:164:21)
    at t.__weh.t.__weh (runtime-core.esm-bundler.js:2687:29)
    at Ru (runtime-core.esm-bundler.js:358:32)
    at Lu (runtime-core.esm-bundler.js:403:9)
watch:1 Access to fetch at 'https://pipedapi.kavin.rocks/streams/gMZTAvBYPxs' from origin 'https://piped.kavin.rocks' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
pipedapi.kavin.rocks/streams/gMZTAvBYPxs:1          Failed to load resource: net::ERR_FAILED
main.js:109                  Uncaught (in promise) TypeError: Failed to fetch
    at Proxy.fetchJson (main.js:109:20)
    at Proxy.fetchVideo (WatchVideo.vue:306:25)
    at Proxy.getVideoData (WatchVideo.vue:326:24)
    at Proxy.mounted (WatchVideo.vue:249:14)
    at tr (runtime-core.esm-bundler.js:155:22)
    at yt (runtime-core.esm-bundler.js:164:21)
    at t.__weh.t.__weh (runtime-core.esm-bundler.js:2687:29)
    at Ru (runtime-core.esm-bundler.js:358:32)
    at Lu (runtime-core.esm-bundler.js:403:9)
watch:1 Access to fetch at 'https://pipedapi.kavin.rocks/comments/gMZTAvBYPxs' from origin 'https://piped.kavin.rocks' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
pipedapi.kavin.rocks/comments/gMZTAvBYPxs:1          Failed to load resource: net::ERR_FAILED
main.js:109                  Uncaught (in promise) TypeError: Failed to fetch
    at Proxy.fetchJson (main.js:109:20)
    at Proxy.fetchComments (WatchVideo.vue:320:25)
    at Proxy.getComments (WatchVideo.vue:386:18)
    at Proxy.mounted (WatchVideo.vue:282:80)
    at tr (runtime-core.esm-bundler.js:155:22)
    at yt (runtime-core.esm-bundler.js:164:21)
    at t.__weh.t.__weh (runtime-core.esm-bundler.js:2687:29)
    at Ru (runtime-core.esm-bundler.js:358:32)
    at Lu (runtime-core.esm-bundler.js:403:9)

Browser, and OS with Version.

Chromium Version 103.0.5060.53 (Official Build, ungoogled-chromium) (64-bit) on Void Linux without any addons enabled and cache-cookies cleared.

Additional context

The website doesnt work even in incognito mode.

rubynt commented 2 years ago

Having the same issue on Firefox 101.0.1 (64-bit) on Void Linux and with its patches. Cant copy paste errors from Firefox because I dont know how. My friend from windows can view it with Brave Version: 1.40.109 Chromium: 103.0.5060.66 (Official Build) (64-bit)

ghost commented 2 years ago

Happens to me too on Safari (iOS 15.5) and Firefox. Sometimes for me, the videos may load if you do a hard refresh (ctrl+shift+r).

open-meadow commented 2 years ago

I'm having the same issue on Microsoft Edge (103.0.1264.37), Windows 10

rogerclotet commented 2 years ago

Same issue here, using Firefox 102.0 (64-bit) on Ubuntu Linux 22.04.

It's not the first time it happens, after a while (1 or 2 days) it usually starts working again, this time it's been like this for 2 days already.

rubynt commented 2 years ago

My friend on windows now cant view it

rogerclotet commented 2 years ago

Strangely enough, it started working again this afternoon both on desktop and mobile. Now it seems to work perfectly for me.

ghost commented 2 years ago

It’s working again for me. I think we should close this issue soon.

jckso commented 2 years ago

Subscriptions not working now. Can't view feed or manage subscriptions.

IkelAtomig commented 2 years ago

@jckso You are damn right. Feed isn't working.

IceDBorn commented 2 years ago

Feed is not working for me too.

ngoomie commented 2 years ago

Also been having issues with the feed pretty much all day except for once, no errors are printed out in the console when I attempt to load my feed so there's unfortunately nothing helpful I can paste here. I'm using Firefox 99.0.1 on EndeavourOS, though I suspect that information isn't going to be very helpful since it doesn't seem to be anything about my setup that's causing this to happen.

rogerclotet commented 2 years ago

Not working for me again either.

PORTB commented 2 years ago

I'm also having this issue. It's happening for invidious (sometimes?) too.

lordkitsuna commented 2 years ago

This has been happening frequently on my self hosted instance, i have to restart the docker and then it will work again for a short time.

deroverda commented 2 years ago

Same issues here. Feed completely empty on windows Firefox and iOS safari. What's the issue?

deroverda commented 2 years ago

Randomly worked now on iOS safari. But when I shut it down and re-opened it the feed is empty. Same behavior on Firefox windows. Seems like it's working 1/100 times. Anyway, hope it gets fixed soon.

davidcollini commented 2 years ago

Piped is completely unusable on iOS since this problem happens much more times than it actually works (This only happened after #846 broke my sign in) after clearing cookies, the site works again

aleandroct commented 2 years ago

same for me on lg tv with webos 6.0. I've solved in a strange way. The video start only if i press "<-" on browser and then again
"->" when the page reload the video start. If you press f5, for manually reload, don't work

ngoomie commented 2 years ago

Was working for a good couple of days, and now it's back to how it was before

EDIT: Funnily enough right as I send that it's back to working again after roughly a little over a day of not working?