Hi everyone,
I’m experiencing a persistent network error in Anki that prevents me from logging in and syncing. I’ve spent several hours troubleshooting without success and would really appreciate any help.
System info:
- MacBook Pro M4 Pro
- macOS Sequoia 15.7.4 (24G517)
- Anki 25.09.2 (Qt6), build 3890e12c, Python 3.13.5, Qt 6.9.1, Chromium 122
The error:
Immediately after trying to log in or sync, I get:
“A network error occurred.
Error details: error sending request for url ()”
Note the URL is completely empty – just ().
What I have already tried:
- Restarting Anki, restarting MacBook
- Syncing on a different device, which works
- Updating Anki to latest version
- Updating macOS
- Turning VPN on/off
- Disabling and re-enabling WiFi
- Deleting prefs21.db and letting Anki recreate it (multiple times)
- Full uninstall and reinstall of Anki
- Disabling all add-ons (Shift+launch)
- Switching to Anki 24.06.3 Qt5 (Intel version via Rosetta 2) – same error, but with additional detail: “error trying to connect: The certificate was not trusted”
- Uninstalling Cisco (had Cisco security software installed)
- Fully uninstalling Cloudflare WARP (had to force-kill the root process via Terminal)
- Checking for proxy settings via
scutil --proxy– none found - Checking for Cisco network extensions in /Library/Extensions – none found
Important finding:
Running curl -v https://sync.ankiweb.net/hostKey in Terminal succeeds perfectly – SSL handshake completes, certificate is trusted, connection is established. So the network itself is fine. The problem seems to be that Anki is attempting a request with an empty URL internally before ever reaching AnkiWeb.
Current state:
Anki works locally (I can study cards), but login and sync are completely broken. My cards are safe locally.
Has anyone seen this before, especially on Macs running Sequoia? Any ideas what could cause Anki to attempt a request with an empty URL?
Thank you!