Anki cannot sync/login on macOS 15.5 – “A network error occurred. Error details: error sending request for url ()”

Hello,

I have been using Anki on this Mac for years and syncing was working normally until around 2 days ago. Nothing specific changed before the problem started.

Now, when I try to sync/login to AnkiWeb, after entering my email and password, I get:

“A network error occurred.
Error details: error sending request for url ()”

I have already tried:

  • Reinstalling Anki
  • Installing different versions:
    • Anki 26.05
    • Anki 25.02.7
  • Mac is Apple Silicon (M2)
  • macOS 15.5
  • Tried different internet connections and mobile hotspot
  • No proxy configured
  • Firewall disabled
  • AnkiWeb works normally in the browser
  • HTTPS connection to AnkiWeb works from Terminal (curl ``https://sync.ankiweb.net)
  • The issue happens only inside Anki

Diagnostic information:

Anki 26.05 (e64c6b1a)

Python 3.13.11
Qt 6.11.0
PyQt 6.11.0
Platform: macOS-15.5-arm64-arm-64bit-Mach-O

I also tried keeping my old Anki2 folder as backup and reinstalling, but the sync/login problem remains.

Could you please help identify what is preventing Anki from connecting to AnkiWeb?

Thank you.

If you run Anki from the Terminal app via (if you are using Anki 26.05): /Applications/Anki.app/Contents/MacOS/Anki command, do additional error messages get printed in the Terminal when the issue occurs?

(The problem is that the “network error occurred” message is somewhat generic and vague. I’m hoping there might be a way to get more detailed error messages.)

I note that 15.7.7 seems to be the latest version of macOS Sequoia. Have you considered updating to it?

(Doing so might allow the OS to update its network security certificates and do other things which might affect how it connects to the internet. I don’t know whether it will help your issue, but it might be worth doing. Plus, the newer version also contains security updates which might be good to install.)

Hello, I just followed your advise and updated my mac to the latest version. It worked! It finally syncs. Thank you so much!