I am receiving an error notification when I attempt to sync with AnkiHub. The error message states, “Could not connect to AnkiHub (no internet or the site is down for maintenance)”; however, I am connected to the internet and the site does not seem to be down. Oddly, this error message still appears even if I receive a notification beforehand saying “AnkiHub: Synced # note(s)”.
I have tried restarting Anki, connecting to a different network, disconnecting from my VPN, logging out of AnkiHub and then logging back in, and deleting the AnkiHub add-on and reinstalling it and resubscribing to my AnkiHub decks.
A new version of the add-on was just released (2023-04-28.1, you can check the add-on version in the AnkiHub → Help menu). Please update to this version first and restart Anki.
The next time you see the Could not connect to AnkiHub message please upload your logs by following these steps:
Open the AnkiHub menu on the main Anki window
Select Help → Upload logs
Confirm
After the upload is done, the add-on will show you a window like this:
We released a new version of the add-on that shouldn’t have this issue anymore. Make sure to restart Anki after installing the add-on update for the changes to take effect.