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
Occasionally GetVideoInfoAsync throws "Could not get video context" #38
Comments
I noticed that too, however I wasn't able to catch on which videos and why yet. |
Just set a breakpoint on the exception and started querying video infos in an endless loop. Came back from lunch to check what's wrong. Looks like it can't extract the player version. |
The actual player version doesn't seem to be there when the error happens. |
One solution I see is to keep refreshing the page until it doesn't show an error (the error seems to be rare anyway) or until it hits an internal limit of retries (like 10 or something). |
Uhm, yeah. I once had a parse exception on like three videos. I don't really know why, but when I wanted to create an issue, the error was no more in these video ids. Sounds quite similar, however it hasn't said anything about the video context if I remember correctly. |
Hmm. I hope it's the same error. |
Ok it works fine. It never exceeds two retries and the retries seem to occur about once in 20 requests. |
Seems to be random and very rare. I wonder what's going on.
The text was updated successfully, but these errors were encountered: