"The page needs to be reloaded" error when attempting to open videos
bug
### Official Instance
- [x] The bug is reproducible on the [official hosted instance](http://piped.video/), or is API-related.
### Describe the bug
This error shows up randomly when trying to play a video, livestream or short and as it suggests if you refresh the page at some point the video will play. This error shows up on the official instance and on my personal instance.
### To Reproduce
1. Go to a working piped instance, the official one with the "private.coffee" instance selected in settings will work
2. Select any video
3. The error should show up replacing the video player
4. If it does not refresh the page until it does
### Expected behavior
The video player shows and plays the video.
### Logs/Errors
{
error:"org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: The page needs to be reloaded.
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.checkPlayabilityStatus(YoutubeStreamExtractor.java:894)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.fetchHtml5Client(YoutubeStreamExtractor.java:935)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:823)
at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:77)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:67)
at me.kavin.piped.server.handlers.StreamHandlers.lambda$streamsResponse$0(StreamHandlers.java:54)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)
"
message:"The page needs to be reloaded."
}
### Browser, and OS with Version.
Universally replicated, but:
- Artix Linux
- Librewolf 146.0.1-1
### Additional context
This error show up on anything using the piped api such as [LibreTube](https://github.com/libre-tube/libretube/issues/8099) and [PipePipe](https://github.com/InfinityLoop1308/PipePipe/issues/1890). Because this error is universal it's probably because of YouTube backend changes, or so I guess.
27 条评论