futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
785 stars 49 forks source link

Bilibili - Channels don’t load #1273

Open matsumotokenji opened 2 months ago

matsumotokenji commented 2 months ago

What happened?

All channels main page broken after an plugin update image

Grayjay Version

253

What plugins are you seeing the problem on?

BiliBili (CN)

Plugin Version

14

When do you experience the issue?

Relevant log output

No response

codebymatter commented 2 months ago

Use the Reinstall button to rollback the plugin version to the last version. I do not use BiliBili so cannot comment on whether I have the same issue.

matsumotokenji commented 2 months ago

reinstalled and rollbacked to version 13 but same issue, seems like issue due to changes on bilibili site

codebymatter commented 2 months ago

I tried Bilibili and played a random video and it seems to be working just fine. I am in N. America, not using a VPN.

Screenshot_20240830-010729_Grayjay Screenshot_20240830-010845_Grayjay

matsumotokenji commented 2 months ago

seems partially some channels back to normal now

edit: in hiccups, fine in a minute and fail in another.

Screenshot_20240830_133601

matsumotokenji commented 2 months ago

I tried Bilibili and played a random video and it seems to be working just fine. I am in N. America, not using a VPN.

Screenshot_20240830-010729_Grayjay Screenshot_20240830-010845_Grayjay

by the way, did you visit the channels? insted of just video? playing video is fine but unable to visit channel.

codebymatter commented 2 months ago

I did:

Screenshot_20240830-140836_Grayjay Screenshot_20240830-141006_Grayjay Screenshot_20240830-141045_Grayjay

matsumotokenji commented 2 months ago

I did:

Screenshot_20240830-140836_Grayjay Screenshot_20240830-141006_Grayjay Screenshot_20240830-141045_Grayjay

welp, it worked fine for a few days and stop working. not using vpn btw i can visit bilibili normally via official app and web. Screenshot_20240903_120753

kaidelorenzo commented 3 weeks ago

@matsumotokenji do you still have this issue? I'm trying to replicate it but can't. My guess is that it is some kind of rate limiting. Signing into an account should fix it if that's an option for you.

matsumotokenji commented 3 weeks ago

@matsumotokenji do you still have this issue? I'm trying to replicate it but can't. My guess is that it is some kind of rate limiting. Signing into an account should fix it if that's an option for you.

yes, this is not 24hr problem, sometimes cant work on mornrng but fine at evening, sometimes other way around. seems like bilibili may have different themes or api on different time period

and btw casting from bilibili is broken to fcast.

Zvonimir-FUTO commented 1 week ago

Tried opening this channel for whole week from time to time but I couldn't have replicate it not even once.

matsumotokenji commented 1 week ago

anyway i can help to provide debug information?

kaidelorenzo commented 1 week ago

The problem is that a core API call to Bilibili is failing. It fails while trying to access https://api.bilibili.com/x/space/wbi/acc/info for the given account. I would essentially need you to figure out how to get the API call to work reliably which is too much to ask.

If you can get it to fail consistently perhaps for a specific user it would be helpful if you could send that user and maybe I'll be able to replicate the issue.

In the mean time I'm going to implement a change that will allow the channel to still load the videos even if the API to load channel metadata fails. And I'm enabling login for the request so if you're logged in it will send your login info. Maybe those will help out to some extent.

matsumotokenji commented 1 week ago

thanks, it fails to load regardless i am logged off or on. Maybe this is ip or region specific.

kaidelorenzo commented 1 week ago

i might try to replicate with via a VPN. what general region are you?

matsumotokenji commented 1 week ago

malaysia happens on at least 2 isp, sometimes some channels worked fine and some not, usually fails to work on morning.

like now https://www.bilibili.com/video/BV1f2mpYdEte Screenshot_20241112_114047