Skip to content
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

Not possible to re-login #65

Closed
SntNick opened this issue Sep 30, 2021 · 49 comments
Closed

Not possible to re-login #65

SntNick opened this issue Sep 30, 2021 · 49 comments

Comments

@SntNick
Copy link

SntNick commented Sep 30, 2021

Not possible to re-login

@Simkl-dev
Copy link
Contributor

You can try uninstalling and install the addon again

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

I tried to reinstall the addon but the status is still logged in and pressing "login" doesn't open login window

@Simkl-dev
Copy link
Contributor

Strange as it should uninstall all data. Could you please try uninstalling, and restarting kodi

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

That's exactly what I tried with no luck :-(
i.e. the sequence "Uninstall - Restart KODI - Install" doesn't help

@Simkl-dev
Copy link
Contributor

When you click Uninstall, does it asks you to remove all data YES\NO?

@Simkl-dev
Copy link
Contributor

Just tried uninstalling and selecting YES, remove settings. And then installing worked for me.

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

Yep and I pressed "Yes"

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

I will check again and add version info later. Apricate a quick response, mate

@Simkl-dev
Copy link
Contributor

Do you have access to the addons folder on your Kodi? Try deleting the folder with Simkl settings

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

Where should it be located on Windows 10?

@Simkl-dev
Copy link
Contributor

@Simkl-dev
Copy link
Contributor

@Simkl-dev
Copy link
Contributor

The second option is to delete the Kodi connection at https://simkl.com/settings/connected-apps/

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

Nothing helps, sorry. Uninstall works fine, deleting the folder with Simkl settings. Disconnecting on simkl.com works fine, but after installing the addon shows status "You are logged in" and doesn't show log in window when I click on "Please click to Log in"

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

image

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

Also I've tried to reset the addon to defaults and it didn't help either

@Simkl-dev
Copy link
Contributor

something is caching the result. I'm 100% sure that if you delete the settings folder it should not be possible to show that you are logged in. When you delete the folder, you need to exit the kodi server and check-in the task manager if Kodi is still running or not.

@SntNick
Copy link
Author

SntNick commented Sep 30, 2021

Any other places I can check for the caching?

@ekleop
Copy link
Collaborator

ekleop commented Oct 1, 2021

did you remove?
C:\Users\ YOUR USERNAME \AppData\Roaming\Kodi\addons\script.simkl folder
here is located your token file C:\Users\ YOUR USERNAME \AppData\Roaming\Kodi\userdata\addon_data\script.simkl
then restart kodi

PS. if its Windows, if not, check #65 (comment)

@SntNick
Copy link
Author

SntNick commented Oct 1, 2021

Uninstalls removes the folders - I've checked, but after Kodi restart and SIMKL addon install the status is logged in again :-(

@Simkl-dev
Copy link
Contributor

Simkl-dev commented Oct 1, 2021

Check if you have installed kodi in another folder. They might be located in different folders if you have set one up using .exe and one kodi from the Windows app store. And you need to clean 2 folders, not just 1.

@SntNick
Copy link
Author

SntNick commented Oct 1, 2021

I've installed Kodi to non-system drive but the appdata folder belongs to the user anyway - so the paths you've described are the same for me. I've searched for any SIMKL stuff in the install folder too, but there is nothing alike.

@Simkl-dev
Copy link
Contributor

Did you try clicking Please click to log in?

@SntNick
Copy link
Author

SntNick commented Oct 1, 2021

Sure, but nothing happens

@Simkl-dev
Copy link
Contributor

No more ideas other than re-installing kodi. I've added a task to add a Log out button for the future.

@SntNick
Copy link
Author

SntNick commented Oct 1, 2021

Thanks anyway.

@ekleop
Copy link
Collaborator

ekleop commented Oct 1, 2021

C:\Users\ username \AppData\Roaming\Kodi\kodi.log
could you check the log file?
it should have something like "login thread start = ", "Simkl: get setting token"
fields those start with "-- Simkl:"
So we can understand what's happening there

but without userdata\addon_data\script.simkl\settings.xml file it should be able to authorize,
what is your kodi version?

@SntNick
Copy link
Author

SntNick commented Oct 3, 2021

Thanks, will check tonight.

@SntNick
Copy link
Author

SntNick commented Oct 3, 2021

The only line with "simkl" text in log file is "INFO : CAddonMgr::ADDON::CAddonMgr::FindAddons: script.simkl v3.1.0 installed"

Kodi version is 19.1.0

@SntNick
Copy link
Author

SntNick commented Oct 3, 2021

Debug log:
2021-10-03 19:34:03.226 T:10688 DEBUG : CPythonInvoker(1, C:\Users<User>\AppData\Roaming\Kodi\addons\script.simkl\service.py): the source file to load is "C:\Users<User>\AppData\Roaming\Kodi\addons\script.simkl\service.py"
2021-10-03 19:34:03.227 T:10688 DEBUG : CPythonInvoker(1, C:\Users<User>\AppData\Roaming\Kodi\addons\script.simkl\service.py): setting the Python path to C:\Users<User>\AppData\Roaming\Kodi\addons\script.simkl;E:\Program Files\Kodi\system\python\Lib;E:\Program Files\Kodi\python3.8.zip;E:\Program Files\Kodi\system\python\DLLs;E:\Program Files\Kodi;C:\Users<User>\AppData\Roaming\Python\Python38\site-packages;E:\Program Files\Kodi\system\python;E:\Program Files\Kodi\system\python\lib\site-packages
2021-10-03 19:34:03.227 T:10688 DEBUG : CPythonInvoker(1, C:\Users<User>\AppData\Roaming\Kodi\addons\script.simkl\service.py): entering source directory C:\Users<User>\AppData\Roaming\Kodi\addons\script.simkl
2021-10-03 19:34:03.227 T:10688 DEBUG : CPythonInvoker(1, C:\Users<User>\AppData\Roaming\Kodi\addons\script.simkl\service.py): instantiating addon using automatically obtained id of "script.simkl" dependent on version 3.0.0 of the xbmc.python api
2021-10-03 19:34:03.246 T:9872 DEBUG : -->Python Interpreter Initialized<--

@SntNick
Copy link
Author

SntNick commented Oct 3, 2021

2021-10-03 19:34:03.924 T:10688 DEBUG : -- Simkl: dir = C:\Users<User>\AppData\Roaming\Kodi
2021-10-03 19:34:03.924 T:10688 DEBUG : -- Simkl: Python Version = 3.8.5 (default, Feb 11 2021, 15:28:04) [MSC v.1928 64 bit (AMD64)]
2021-10-03 19:34:03.925 T:10688 DEBUG : -- Simkl: args = ['']
2021-10-03 19:34:03.926 T:10688 DEBUG <CAddonSettings[script.simkl]>: trying to load setting definitions from old format...
2021-10-03 19:34:03.928 T:10688 DEBUG : -- Simkl: get setting token =

@ekleop
Copy link
Collaborator

ekleop commented Oct 3, 2021

there isn't anything after "Simkl: get setting token =" line?
for example "Usersettings = " line

@SntNick
Copy link
Author

SntNick commented Oct 4, 2021

Nothing

@SntNick
Copy link
Author

SntNick commented Oct 9, 2021

The login window's just popped, out of the blue.
Interestingly when I opened SIMKL link it's connected straight away without entering the code.

@ekleop
Copy link
Collaborator

ekleop commented Oct 9, 2021

yes, it should be like this. Your device is unique so it was detected automatically

@Arias800
Copy link

Hello,
I have found the reason behind this error, it's a ssl error.
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1128)
I don't know why it's happened.

@Simkl-dev
Copy link
Contributor

If you're using some other app or on an older device, some SSL root certificates have expired on October 1 https://techcrunch.com/2021/09/21/lets-encrypt-root-expiry/. Simkl API only uses new certificates and does not use old certificates as they are updated every 3 months, so this is not an issue with Simkl api, but most likely with some other app that kodi uses.

@assault88
Copy link

I've got this exact same problem. It says I'm logged in but also says Please click to log in, but when I click I don't get a login window. I've tried everything mentioned in this issue, how do I fix this?

@ekleop
Copy link
Collaborator

ekleop commented Nov 16, 2021

I've got this exact same problem. It says I'm logged in but also says Please click to log in, but when I click I don't get a login window. I've tried everything mentioned in this issue, how do I fix this?

did you try everything above in this thread?
tried to remove(with all data) and install it again?

what is your kodi version?

@assault88
Copy link

Yes I tried everything above in this thread. I've uninstalled, removed settings and the script.simkl folder, reinstalled but still the same. This didn't work for the last guy either. Kodi version was 19.1 when this stated happening, I tried upgrading Kodi to the latest 19.3 but no difference, the problem still exists.

@Simkl-dev
Copy link
Contributor

Cannot reproduce on Windows. What's your OS, Kodi from the app store or from the website install? Are you able to check Kodi logs?

@assault88
Copy link

Kodi from the website on Windows 10 x64. Addon from the Kodi Respository.

Kodi logs show nothing of interest to do with Simkl addon except saying 3.1 is installed.

I should say this started when I uninstalled and reinstalled the Simkl addon. Originally it was telling me I had no internet connection so wasn't updating my shows, so I uninstalled and reinstalled and that's when this happened.

@Simkl-dev
Copy link
Contributor

Try disconnecting kodi on https://simkl.com/settings/connected-apps/ and re-login

@Simkl-dev
Copy link
Contributor

then open https://simkl.com/pin/ - this should in theory auto-connect login if you're on the same wifi and app tried to generate a PIN.

@assault88
Copy link

I've disconnected Kodi as advised before.

But I can't re-login. That is the problem. Clicking on "Please click to log in" in Simkl settings doesn't do anything. So no I can't enter a pin because I can't login.

@Simkl-dev
Copy link
Contributor

@assault88
Copy link

I've deleted the Simkl addon, the addon userdata, and the Kodi cache, including the entire userdata folder. Reinstalled Simkl Addon and still the same. Says I'm logged in but also says "Please Click to Log in" but the login screen doesn't pop up when I click. Obviously I'm not logged in as the addon doesn't do anything anymore and the device is no longer linked to my Simkl account and I can't get a pin to re-add the device because I can't log in.

@ekleop ekleop reopened this Nov 17, 2021
@ekleop
Copy link
Collaborator

ekleop commented Nov 17, 2021

could you dm to Ichika via Simkl discord channel?
https://discord.com/invite/u89XfYn
we can try to figure out where the problem is with teamviewer maybe

@ekleop ekleop closed this as completed Jan 31, 2024
@assault88
Copy link

assault88 commented Jan 31, 2024

It's not completed. The problem still exists and has been unfixable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants