-
Notifications
You must be signed in to change notification settings - Fork 114
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
API Config Page and Sign In Issues #1016
Comments
I just noticed that v7.1.1.5 was released while I was opening this issue. I downloaded and installed it but the Sign In behavior continues. It still only prompts me once to verify my device, listings work but videos will not play telling me I need to sign in to prove I'm not a bot. |
I'll have a look at this later, but please delete your logs on paste.kodi.tv asap if you can. It contains sensitive information that should not be shared. If you cannot delete the logs, and even if you can, I would recommend invalidating and recreating your API key and OAuth details. |
Roger that. |
Lets break this down:
The http server that serves the configuration page is not setup to close connections that would lead to a connection refused error that you were seeing, which means that it is likely that whatever proxy/VPN/firewall you are using is preventing the connection from being established, either by dropping the connection or because the port is not open/accessible over your network. There is not a whole lot that can be done about this in the addon, as while the various advanced settings exist to cater for situations like this if needed, they are going to be of limited use in your situation because the requests are not even getting to the http server.
This is normal, the second login is not useable for anything anymore and was removed. It was added back in some beta versions for testing, but will ultimately be removed as per the current stable release versions.
This is YouTube telling you that the IP address of the VPN or proxy your are using has been blocked. I have enabled authentication and retrying of these requests, and you can try this if you want using this test version: However be warned that there is a good chance that it could lead to your account being blocked as well. This may be the case even without the retry, and I would not recommend using a non-personal proxy or VPN when using YouTube |
Thank you for the thoughtful and detailed reply. I have some observations that may be contrary to your assumptions, but I want to do some more testing tonight after I get home from work. I can briefly offer this regarding the API Configuration Page:
I'll spend some more time this evening investigating the sign in issues but I'm not convinced Google is blocking my IP. In fact, I will take some time today from my office to test the addon with a clean install of Kodi. If need be, I will perform a packet capture from home to see if that reveals anything useful. |
Yes, I think my original assessment about the http server was not correct, but the https server should be prevented from shutting down unless your device goes to sleep as well. Can you get a debug log of this? Regarding your IP being blocked, that specific error message has been coming up for a while now when using other 3rd party clients and almost universally it has been related to VPN or proxy usage. Only one other person using this addon has reported the same error message and they confirmed they were also using a proxy. |
- Also make 127.0.0.1 the default listen address - Fallback to 0.0.0.0 if no other local address works
Context
Please provide any relevant information about your setup
Expected Behavior
That the API Configuration Page is accessible on my LAN using the default addon configuration settings.
That the Sign In process works properly, or at least have videos play via API access only.
Current Behavior
I had been using the official Kodi repo version of this addon for a very long time without issues. It recently stopped working so I came to this repo for the latest version. The API Configuration Page is problematic to get loaded to save credentials without tweaking the Advanced addon settings. As for Sign-In, it only prompts to verify my device once. No matter how many times I Sign Out and back In, it never prompts a second time. I am able to browse video listings, but attempting to play anything results in the error "Sign in to confirm you’re not a bot".
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Log
Please include a complete debug log.
Additional Information
I suspect my original Youtube addon stopped working as a result of recent changes Google is rolling out to their OAuth implementation. Not sure, but I went ahead and created a new project and new set of API credentials before beginning this exercise.
In any case, any help resolving these issues would be greatly appreciated.
The text was updated successfully, but these errors were encountered: