ThoreBor / Anki_Leaderboard

Anki 2.1 Add-On
https://ankiweb.net/shared/info/41708974
MIT License
52 stars 11 forks source link

Leaderboard error when opening the leaderboard or trying to configure it #236

Closed noobnooob197 closed 4 months ago

noobnooob197 commented 4 months ago

The bug means that anytime i try to configure or open the leaderboard i get this error:

Leaderboard error Timeout error [https://ankileaderboard.pythonanywhere.com/api/v2/logIn/] - No internet connection, or server response took too long.

HTTPSConnectionPool(host='ankileaderboard.pythonanywhere.com', port=443): Max retries exceeded with url: /api/v2/logIn/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)')))

Screenshots image Steps to reproduce bug

Upon opening Anki the error will appear. It will then appear again if i try to configure the leaderboard, login, or do literally any operation through the config menu.

If trying to login to the same account on another computer, i don't get the same error. The computer is connected to internet and Anki is working.

Info

Additional context I have tried restarting the computer, restarting ANKI, uninstalling and reinstalling the add on. everything bar reinstalling anki. I have also tried creating a new account and logging in and that also does not work.

Thanks so much in advance!

noobnooob197 commented 4 months ago

I've solved it! Using some advice from: https://community.ankihub.net/t/signing-in-to-ankihub/202310/2 So I followed similar instructions, going to https://community.ankihub.net/t/signing-in-to-ankihub/202310/2, then installing the certificate from there, and then everything worked!