-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
HTTPS requests failing due to missing certs? #1965
Comments
I got the same issue while trying to install AnkiConnect. Checked my file system and can confirm the PEM file mentioned in the dialog box doesn't exist at all. I can reproduce consistently, if you'd like me to send over logs or anything let me know where they are and I can do so. OS: MacOS 12.3.1 |
I have not been able to reproduce the issue, and I suspect it's only affecting a small group of users, or there would have been more reports by now. In the debug console, please run the following and paste what is shown (checking the output for anything sensitive like your full name first)
|
I have the same problem when pasting images from the Internet. It goes away for a while whenever I re-open Anki, but it starts happening after my Anki has been running for a day or two, I'm not sure about the exact duration. Here's my error message
and here's my debug console output
|
Could it be 3 days? macOS apparently cleans the temp folder after files haven't been accessed in 3 days. |
I'm having the same problem. Installed it today on a mac book pro m1 max |
ok, it magically disappeared after installing it a 2nd time by overwriting the first installation |
For anyone else finding this issue in future from a web search: I didn't have to reinstall, only had to close and re-open Anki. |
I'm also on a new M1 MacBook Pro, same issue. I need smart computer people to help me :( |
@LucasFrench, did you try exiting Anki and re-opening it? It's classic computer advice for a reason, it worked for me! |
@RobertBolender One or more errors occurred: 1771074083: Please check your internet connection. HTTPSConnectionPool(host='ankiweb.net', port=443): Max retries exceeded with url: /shared/download/1771074083?v=2.1&p=54 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) OS: MacOS 12.5.1 |
|
@RobertBolender That didn't work for me, but turning off several of my add-ons worked. I'll just have to manage without them. |
@nouro54 In your case, SSL_CERT_FILE is set, and that may be causing the problem. Can you reproduce the issue in the latest Anki version? |
I have not been able to reproduce the issue in the latest version of Anki. |
I fixed this problem by closing and reopening Anki. |
EDIT: A few minutes after this, the issue resolved Same issue on 2.1.54 QT5. Here's my output:
|
I had the same problem. I rarely close the Anki application on my Mac 👍🏿 |
Ran into the same issue just now. Re-opening it fixes the issue, but it seems like this is still an issue and should consider re-opening it. |
I'm having a similar issue on the newest Anki version on macOS (Apple Silicon) with updating addons and with AwesomeTTS API calls. Interestingly, syncing the collections works fine. Exiting and re-opening Anki didn't work for me. I'm wondering if there's something wrong with the Updating an addon:
AwesomeTTS API call to Google Cloud:
Anki 23.12.1 (1a1d4d5) (ao) Debug console:
|
I encountered the same problem. |
Do you have any software on your machine that monitors/intercepts network connections? Are you using a work or school network that intercepts your connections? What does the following in Terminal.app print? host ankiweb.net |
I figured out my SSL issues with Anki. On my computer, I have Netskope installed which intercepts HTTPS/SSL. I had to add the Netskope self-signed root certificate to the I used the following command to figure out what the relevant certificates are:
And it gave me all certificates in the certificate chain as part of the output. I then added the self-signed Netskope certificate to |
https://forums.ankiweb.net/t/error-message-when-trying-to-add-images-to-cards/21484
https://forums.ankiweb.net/t/could-not-find-a-suitable-tls-ca-certificate-bundle-started-appearing-around-2-1-54/21498
The text was updated successfully, but these errors were encountered: