-
Notifications
You must be signed in to change notification settings - Fork 627
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
Can Not Play video any more - XCDYouTubeVideoErrorDomain Code=-3 #525
Comments
I'm having the same issue since this morning.
If anyone has any idea how to solve this I would love to hear about it! |
Same here! Sometimes it fails other times it works fine. |
I got the same error: |
Sometime, i got two error:- Domain: XCDYouTubeVideoErrorDomain Please suggest me right path, my application is live on appstore and many user will get same error. |
I still have no idea what is actually causing this. By adding the following code to XCDYouTubeVideoOperation.m, just below the error handling for HTTP 429 errors (around row 373 or so), it is possible to retry when this error happens.
If anyone have any better solutions, please share them! |
Unfortunately I have nothing new to add (re fixes) except to confirm as of today I'm noticing this same issue. Looking forward to learning more, i.e. what can be done to quickly fix. |
Could this be related? https://issuetracker.google.com/issues/186560114 |
Same here, I started experiencing the bug today... |
Same here, videos are not reproducing |
Same here... none of the videos are playing.. |
Hmm, I did add a few other changes as well, like incorporating #524, apart from retrying on 404 errors. |
Adding your 404 retry code (w/ no other changes) does seem to be solving the issue for me*, i.e. in (as specified in your previous response) I added your code to XCDYouTubeVideoOperation.m:
Thank you, very much appreciated. *PS I checked how many Xs the retry code is triggered and it's consistently 2Xs before the method (handleConnectionSuccessWithData:) continues successfully w/o retrying. Reason why this works (consistently after retrying 2Xs) is beyond my understanding, just happy it does (work, for now). |
Same issue encounter today. any update on this? Domain: XCDYouTubeVideoErrorDomain Code: -3 User Info: { } The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -3.) |
@fightveryexplosion Thanks a lot for the great work and sharing. In my case, it's solved. Appreciate! |
Not yet so far but do we have any solution without having resubmit the app to app store? |
How can fix this error please help anyone |
looks like the get_video_info API is either temporarily not available or disabled completely from youtube. Opening this page -https://www.youtube.com/get_video_info?video_id=B4CRkpBGQzU If this API starts working (Youtube controls it), this repo might start working again. |
Same here! all my videos |
@fightveryexplosion Interesting, I also used that PR as a base, but for me the 429 error handling is at line 218 not 373. Do you see the first call (get_video_info?el=embedded) fail and the second (get_video_info?el=detailpage) work when you test? Just wondering aloud how the tweak seems to work for some and not for others. Hopefully that API is simply bugged and fixed by Google. The official library doesn't help our tvOS app... |
Same issue, I was also getting 404 error(s) even when testing get_video_info from a browser, |
@fightveryexplosion Great, it's working, thanks! |
I did some more testing and noticed that the retry tweak works when I'm on a VPN to the US (from EU). Curiously, I still see the 404 errors when inspecting my network calls, but a few seconds later video stream data arrives regardless. When the VPN is disabled, this never happens. Might be useful for the others who reported the tweak not working to test this if they have a lot of users outside the EU. |
Just wanted to confirm that the fix above also works in the EU, awesome! |
Thanks @jatin19121990, this works for me too. |
Wow, thank you! This works for me as well, without the need for retrying! @jatin19121990 you're the best! |
@fightveryexplosion, your retry worked too, a clever temporary fix that had our app up and running last night before today's parameter addition. Thanks again. |
@jatin19121990 @fightveryexplosion Thank you both so much for solving this issue. And thanks for all people joining discussion and sharing status. Since it's confirmed fixed by both ways from multiple participants, I'm closing this issue. |
Does this merge need a SPM release to show? |
@0xced could we get a new release with this fix please? |
I'm again encountering the same error we had (and previously resolved) last month, i.e. https://www.youtube.com/get_video_info is failing w/ 404 error again For the past month the addition of parameter html5=1, i.e. as per @jatin19121990 was working, but as of the past ~12 hours it stopped working again, see: I re-applied the following, i.e. specifically @fightveryexplosion retry fix, see: ^^ The retry fix seems to work for almost videos I've so far tried, I'm assuming Youtube has again added (or removed) a parameter requirement for their 'get_video_info' endpoint, but until another fix comes along applying the @fightveryexplosion fix as per 525#issuecomment-843923468 resolves the issue, i.e. quoting @fightveryexplosion (thank you again, @fightveryexplosion): XCDYouTubeVideoOperation.m around row 373 or so), it is possible to retry when this error happens. if ([(NSHTTPURLResponse *)response statusCode] == 429) /** ↓ Insert from here */ if (responseString.length == 0) |
Same here :( |
Same |
I'm experiencing the same issue. This PR 8389cd3 has been working as of a couple of days ago but now I'm experiencing this again. Video plays sometimes, but sometimes not and when not this is the error message I keep seeing:
|
I'm experiencing the same issue. It worked but now I see the error again: "Error Domain=XCDYouTubeVideoErrorDomain Code=-3". Please help |
same issue. it worked before and I am not getting error but doesn't play the video today. |
same here, youtube API is blocked again. Looks like it is being done on
purpose by YouTube.
…On Sat, 19 Jun 2021 at 00:00, devbest555 ***@***.***> wrote:
same issue. it worked before and I am not getting error but doesn't play
the video today
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#525 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADMR7KM4B5B6J7RARBP5X43TTOJVRANCNFSM45CCDYRQ>
.
--
Regards,
|
Same here, it's not working once again. |
This post https://stackoverflow.com/a/68054873/3937348 covered this issue, too. The currently working url for get_video_info seems to be |
a small fix (XCDYouTubeVideoOperation.m), version 2.15.2
|
Start from today(or maybe yesterday). Most of videos are failed to play. The error is returned "XCDYouTubeVideoErrorDomain Code=-3".
https://www.youtube.com/watch?v=AgFeZr5ptV8
https://www.youtube.com/watch?v=bnVUHWCynig
https://www.youtube.com/watch?v=clJsnBoVQDA
Could anyone help? thanks in advance.
The text was updated successfully, but these errors were encountered: