-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App fails to load https://music.youtube.com with error #163
Comments
Also getting this from the app's debugging:
|
So, super weird, but I cleared all the data out before loading the web view via:
and it loaded. However, nothing is playing. |
It appears to be failing to load the player code:
|
Similar stuff happening to me. It was working fine until yesterday. But since this morning nothing is playing; while navigation/search/etc works fine. |
I'm having a similar issue, just downloaded from release tags and nothing is playing. I'm running big sur |
Hrmmm. I also periodically open the app to a blank screen. Usually if I quit and re-open the app, it'll eventually start working again. Thanks for the debug messages! I hadn't managed to capture any on my end. From those messages, do you think it's something on our end due to the custom JS we inject? |
@TimOliver no, unfortunately it's not. This is caused by a bad service worker registration. The error that is throw is coming from the service worker trying to handle a prefetch of the file, and crashing because the fetch event doesn't support preloadResponse. Makes me think there's something wrong with the cache maybe. No clue how it could have possibly gotten into that state. However, I ended up unregistering the service worker and got it working again. Unfortunately, on the next load, it's broken again. I found a bug report that looks like the issue here: https://developer.apple.com/forums/thread/702755. I tried the suggested solution (loading a different page first), but it seems to only work intermittently. |
Ok, I have a possible solution. It's a hammer, but it seems to be working: I've set up a ContentRuleList in the WkWebView to prevent |
Added a PR for this |
Not sure if it's related, but I just allowed an update to the latest version and now it won't play. Could be it's unrelated and it was already broken for me - this is the first time today I've tried it. |
Thanks @jscheel! I've merged your PR and released a new update. It should download the next time you open the app. @mark-pictor-csec Try opening the app and downloading the latest update, and see if the problem persists for you after that. :) |
No luck for me, same problem still happening. Updated it, uninstalled/reinstalled using brew, same behavior as before... I see that someone created another similar issue, I will keep an eye there #165 |
@evsasse Uh. Whoops. Try downloading the release directly from GitHub and give that one a try. I haven't implemented automated releases to Brew yet. 😅 |
But the "Check for updates" works, right? I am able to get 1.3.2, even though I installed with brew originally 👍.
Uninstalled from brew, and tried that just now... Still no luck :/ Navigation/search/etc works fine. But when I click to start playing something, it keeps loading forever, doesnt show the "bar" at the bottom. |
I was able to update to 1.3.2 from within the app, but I still can't play music. |
I’m thinking we might have to add code to force-unregister the service
workers that are already installed for people. I’ll make an update for that
asap.
…On Tue, May 3, 2022 at 9:19 AM mark-pictor-csec ***@***.***> wrote:
I was able to update to 1.3.2 from within the app, but I still can't play
music.
—
Reply to this email directly, view it on GitHub
<#163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABTUFWV6U4K4HQHNXSLDTTVIEYWTANCNFSM5UWKNTCQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok @TimOliver, I've added a new PR for unregistering service workers |
1.3.3 seems to have fixed it for me. Thanks @jscheel @TimOliver 🙇! |
Should Close this no, as I don't see this anymore as well |
I have just discovered this app (v1.3.3). It is not working here (10.13.6), I have a blank screen and nothing more... |
I've started getting a blank screen when opening the app. I built from source, enabled the inspector, and I'm seeing this error:
I can get it to go to any other page, including Youtube itself. But Youtube Music fails every time now.
The text was updated successfully, but these errors were encountered: