-
Notifications
You must be signed in to change notification settings - Fork 115
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
Login Exception (Linux version) #164
Comments
I'm not able to reproduce, working fine osmc/debian. |
This Kodi host is Kubuntu 17.04. With debug logging enabled:09:45:03.320 T:140321984026368 DEBUG: CPythonInvoker(19, /home/enoch/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/enoch/.kodi/addons/plugin.video.youtube/resources/lib |
That didn't provide enough information so I just added a bunch of debug logging in this area so we can hopefully get to the bottom of it. If you are able, can you give the current master a try (and produce a debug log). If not I will likely update the zips tomorrow @ https://github.com/jdf76/plugin.video.youtube/releases/tag/5.5.0-alpha , ~alpha5 will include the additional logging. |
Below is the debug log of the latest git version.commit 02add25
-- |
Thanks for following up. Since I'm at a loss for the cause here, I re-visited all the login requests and updated them to match current documentation. It was still original code in this area that appears to have become outdated(but functional), not sure if this will resolve or produce a different result for you. I've updated the zip in Releases if you'd like to give it a try. |
Here's the log after pulling your latest commit cb86821. Please don't give up :-) 11:13:26.261 T:140323778959104 DEBUG: CPythonInvoker(23, /home/enoch/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/enoch/.kodi/addons/plugin.video.youtube/resources/lib |
BTW, disabling my api-key did not help. Thanks. |
Yeah, it's failing on the common key set which is used as first login for both with or without personal keys. |
11:42:57.384 T:140325439928064 DEBUG: [plugin.video.youtube] Using API key set: 1 I used maintenance to delete all settings, etc. Folders subscriptions is off. |
There is a module for it I believe, Im used to tailing the log w/ powershell. It's an undocumented response and no basic Authorization header is being set or expected per documentation and it's a first time for that api response. I can't even reproduce the response with a bogus basic authorization. Are you using a proxy or anything that might modify request headers or post data? I've added an undocumented client-id header and an Authorization header with an empty bearer, which causes no issues logging in here. You'll have to uninstall the add-on before being able to install the test zip. |
Using commit bc09a5a. Let me know if I can be of further help. Thanks. 10:13:49.597 T:139649368446720 DEBUG: [plugin.video.youtube] Using API key set: 1 |
Can you try with the zip in the above comment, it has changes not added to master, last thing I can think of add-on side. |
Using the a/m zip: 11:58:42.838 T:140644710332160 DEBUG: CPythonInvoker(20, /home/enoch/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/enoch/.kodi/addons/plugin.video.youtube/resources/lib |
I'm also and still having the same issue with 6.2.2. Any progress on this? |
Can either of you post a new debug log if the issue is persisting. I haven't been able to reproduce and no reports outside of this issue so it's been hard to track down issue. |
At first, also with 6.2.3, the issue remained. See my previous contents of .kodi/userdata/addon_data/plugin.video.youtube/ attached as ZIP. Note that I deleted the personal API/client keys that are used in it, so in order to reproduce the problem, you have to replace them by your keys. |
There was such a mistake. I deleted the ~/.netrc file. And it worked. :) |
debian 10, kodi 2:17.6, plugin version 6.7.0
|
@axet |
The following occurs (only) in Linux. It's been like that for quite a while (including the just tested 5.5 alpha). TIA, Enoch.
02:23:27.644 T:140568085387008 NOTICE: [plugin.video.youtube] Running: YouTube (5.4.5) on Krypton (Kodi-17.4) with Python 2.7.13
02:23:31.029 T:140568085387008 NOTICE: Previous line repeats 1 times.
02:23:31.029 T:140568085387008 ERROR: [plugin.video.youtube] YouTube: LoginException: Login Failed: Code 400
The text was updated successfully, but these errors were encountered: