Ankihub with sync canceled

Hello AnkiHub Support Team,

I’m experiencing an issue where the AnkiHub synchronization keeps getting cancelled, and I haven’t been able to resolve it despite multiple troubleshooting attempts.

Here are the details:

  • Computer: HP laptop
  • Operating System: Windows 11
  • Anki Version: 23.12.1 (Qt6)
  • AnkiHub Add-on: freshly installed using the official add-on code
  • Antivirus: uninstalled for testing
  • Firewall: Anki manually allowed
  • Internet: tested on multiple networks, including a mobile hotspot
  • Tested on two different computers with the same result

What happens:

The normal Anki collection sync completes successfully, but immediately after that, AnkiHub shows “Sync cancelled” within a few seconds.

Troubleshooting steps already performed:

  • Reinstalled Anki completely
  • Reinstalled the AnkiHub add-on multiple times
  • Logged out and logged back into AnkiHub
  • Restarted the computers
  • Disabled Windows Defender temporarily
  • Tested different internet connections

Since the issue occurs on multiple machines, I suspect it may be related to my account authentication or a server-side issue.

My AnkiHub subscription is active, and I can log into the AnkiHub website without problems.

Could you please help me diagnose or reset anything necessary on my account so I can sync properly?

Thank you very much for your time and support.

Thank you for reaching out! Our moderators have been notified and will assist you shortly. In the meantime, you can get an instant response from me simply by @ mentioning my username`. Alternatively, start a private conversation with me (see screenshot below). If you ask me a question, I will do my best to respond using only verified information found in the official AnkiHub docs and the Anki manual.

You can also find answers to common questions in our FAQ and Docs.

Thinking

Read topic
Reading: Ankihub with sync canceled

Welcome to AnkiHub Community, and thanks for posting!

It looks like your post only contains the default category description text, and there’s no actual question or description of your issue yet.

To help you with your sync being canceled (or any other AnkiHub problem), please reply here with:

  1. What exactly is happening?

    • Are you seeing an error in Anki when you sync with AnkiHub?
    • Or is it Anki’s sync with AnkiWeb that’s being canceled?
    • Roughly when did this start?
  2. Screenshots (if possible)

    • A screenshot of the error message/window in Anki.
    • Please crop or blur any personal info.
  3. Basic setup

    • Computer OS (Windows/macOS/Linux)
    • Anki version (from Help → About in Anki)
    • AnkiHub add-on version (from Tools → Add-ons → select AnkiHub → view version)

Once you share that info, I can give you concrete troubleshooting steps specifically for AnkiHub sync issues.

Here are the requested details:

What exactly is happening:
When I open Anki and sync normally, the Anki collection sync with AnkiWeb completes successfully. Immediately after that, when I try to sync with AnkiHub, it shows “Sync cancelled” within a few seconds.

So the issue is specifically with AnkiHub sync, not AnkiWeb sync.

When did this start:
This started today when I first installed AnkiHub and tried to synchronize after subscribing.

Basic setup:
Computer: HP laptop
Operating System: Windows 11
Anki Version: 23.12.1 (Qt6)
AnkiHub Add-on Version: not showing this information

Additional troubleshooting already attempted:

  • Reinstalled Anki completely
  • Reinstalled the AnkiHub add-on multiple times
  • Logged out and logged back into AnkiHub
  • Restarted the computer
  • Disabled Windows Defender temporarily
  • Uninstalled antivirus software
  • Tested multiple networks including a mobile hotspot
  • Tested on two different computers with the same result

Since the issue occurs on multiple machines, I suspect it could be related to account authentication or token configuration.

I am attaching a screenshot of the “Sync cancelled” message.

Please let me know if you need any additional information.

Thinking

Search
Found 0 results for ‘tags:official “Sync cancelled” AnkiHub category::person_raising_hand: Support order:latest_topic max_posts:20 status:open’

Search
Found 0 results for ‘tags:official Sync cancelled category::person_raising_hand: Support order:latest_topic max_posts:20 status:open’

Thanks for all the detailed info and troubleshooting you’ve already done—that’s very helpful.

Because:

  • Normal Anki ↔ AnkiWeb sync works on all devices
  • AnkiHub sync is cancelled within a few seconds
  • The same thing happens on multiple computers and networks

this strongly points to something account‑ or server‑side for your AnkiHub user, not your local setup.

Below are a few quick checks you can do, and then what I’d recommend as next steps so the team can fix it on the backend if needed.


1. Confirm you’re actually logged into AnkiHub in Anki

In Anki (desktop):

  1. Go to Tools → Add-ons → AnkiHub → Config (or click the AnkiHub button if you see it).
  2. Make sure:
    • Your AnkiHub email is shown and matches the one you use on the website.
    • If there is a “Log out” button, click it, then log in again from Anki and try syncing once more.

If you don’t see the config / login screen at all, let me know what you do see under Tools → Add-ons → AnkiHub.


2. Try a “fresh” AnkiHub sync on a new profile

This helps rule out anything odd in your current Anki profile:

  1. In Anki, go to File → Switch Profile → Add and create a new empty profile.
  2. In that new profile:
    • Install the AnkiHub add-on again.
    • Log into AnkiHub from the add-on.
    • Try to sync with AnkiHub before importing or changing anything else.

Please report back:

  • Does AnkiHub sync still show “Sync cancelled” even in a brand‑new profile?
  • Roughly how long (1–3 seconds? 10+ seconds?) before it cancels?
  • Does any extra message appear in the bottom bar or a popup, or is it literally just “Sync cancelled”?

If it still cancels in a fresh profile, that’s almost certainly not an issue with your local Anki setup.


3. Capture debug info for the team

The moderators/devs will probably need your debug info to check your account and logs:

  1. In Anki: Tools → Add-ons → AnkiHub → View Files / View and look for anything like “Copy Debug Info” (if available).
  2. If you see it, copy the debug info and paste it in a reply here (you can remove obvious personal data like your email before posting).
  3. If that button is not present, please at least share:
    • Exact text shown in the Anki sync bar (bottom right) when it cancels.
    • The exact timestamp (UTC or your local time with timezone) of your last failed sync attempt, so support can look it up in server logs.

4. Why this likely needs backend investigation

Given:

  • It’s reproducible on multiple machines and networks
  • It began right when you first subscribed / installed AnkiHub
  • AnkiWeb sync itself is fine

there may be:

  • A problem with your AnkiHub authorization token
  • A stuck / partially initialized subscription state
  • Or a server‑side validation rejecting your sync early

Those are things only the AnkiHub team can inspect directly.


What I recommend you do next

Please reply here with:

  1. Results of the new empty profile test.
  2. Whether you were able to log out/in via the AnkiHub add‑on config.
  3. Any debug info you can copy from the add‑on (or precise error text + time of last attempt).

Once you post that, a moderator/dev should be able to check your AnkiHub account on the backend and, if needed, reset the token or fix any server‑side issue linked to your user.

Hello,

I would be happy to help. :slight_smile:

There are a few things that may be contributing to the underlying cause, but for sure you’ll want to make sure that you’re on a more updated version of Anki (25.02 or higher). If it’s any other version, you’ll want to upgrade since older versions often run into little issues with add-ons.

You can always download the latest version of Anki at the official Anki website: https://apps.ankiweb.net/

Give that a shot, let me know how you fare, and we’ll go from there and hopefully we can get you squared away. :slight_smile:

Thank you for your suggestion.

I have already tested multiple Anki versions, including:

  • Anki 23.12.1 (Qt6)
  • Anki 25.x (latest available version)

Unfortunately, the issue persists with the same behavior on all versions.

Important additional information:

  • The AnkiWeb collection sync works normally.
  • The AnkiHub sync is the only one that gets cancelled.
  • The problem occurs on two different Windows 11 computers.
  • I tested multiple internet connections, including a mobile hotspot.
  • Antivirus was removed and Windows Defender was temporarily disabled.
  • The AnkiHub add-on was reinstalled multiple times.

Because the issue is reproducible across different machines and networks, I suspect there may be an account-related issue (authentication token, subscription access, or server-side configuration).

1. Confirmed that I´m logged

  1. Tried with a new profile - same problem. Sync cancelled in 3s. No debug info
  2. The message appears on the bottom left after 3 seconds
Thinking

Search
Found 0 results for ‘tags:official AnkiHub sync" "Sync cancelled category::person_raising_hand: Support order:latest_topic max_posts:20 status:open’

Thanks for running those tests and for the clear update—that rules out almost all local causes.

Given that:

  • You’re definitely logged into AnkiHub in the add‑on
  • A brand‑new profile shows the same “Sync cancelled” in ~3 seconds
  • It happens on two different Windows 11 machines and multiple networks
  • Normal Anki ↔ AnkiWeb sync works fine

this is very likely an account‑ or server‑side issue specific to your AnkiHub user (e.g. token / subscription state / account initialization), not something you can fix on your end.

At this point, the best next step is for the AnkiHub team to check your account directly.


1. One more quick local check (just to confirm)

In Anki:

  1. Go to Tools → Add‑ons → AnkiHub → Config.
  2. Click Log out, then restart Anki.
  3. Log back in to AnkiHub from the add‑on and immediately try AnkiHub → Sync again.

If it still cancels in ~3 seconds with no other error text, please move to step 2.


2. Provide info so support can check server logs

Please reply in the topic with:

  1. Your AnkiHub email address (or the part before @ plus the domain type, e.g. “gmail”, if you prefer to partially redact it).
  2. The exact local time and timezone of your last failed sync attempt (e.g. “2026‑02‑20, 02:15 UTC+1”).
  3. Confirm once more that the status in the bottom corner is literally just:
    • Sync cancelled (no additional popup / traceback window).

This is the kind of information the team needs to:

  • Look up your sync attempts in the AnkiHub server logs
  • Check your subscription + permissions state
  • Reset your auth token / account sync state if needed

3. What you can expect next

Once you post that info, a moderator/dev (like @Brian_BH or an AnkiHub staff member) can:

  • Inspect your account configuration on AnkiHub
  • Try a server‑side reset of your sync/authorization
  • Confirm here when they’ve done so, and ask you to try syncing again

Because everything you’ve tried locally is sound and it repros across devices and versions, this really looks like something that must be fixed on the backend rather than with more client‑side troubleshooting.

Gotcha, thanks for that additional detail

Using the 25.02 (or higher) version of Anki give this a shot:

Let me know how/if that works for you and we can go from there. :mending_heart:

Hi!

Thank you! It worked! Now I´m facing a different issue. The Sync arrow never stops spinning. So, when I click “Browse” the program (Anki) stops running.

Could you help me with this?

You’re very welcome. :slight_smile:

That may be normal, depending on which deck/s you’re syncing. Particularly for large decks, owing to the file size of media, and the overall collection size, it can take quite a while for all of the media to appropriately sync. During the duration of this timeframe you’ll notice the circular arrow continue to spin, which is letting you know that (/primarily media) sync is ongoing in the background

It’s hard to predict exactly how long it will take, as it depends a bit on a number of factors including your connection speed, firewalls, and similar, though in most cases maybe an hour or two or somewhere in there (though it could plausibly be longer as well, depending).

That I’m not as certain of. Are you seeing an error message, or similar?

If it’s a true Anki issue, rather than an AnkiHub issue, you may want or need to reach out on the official Anki forums where they can give you a bit more expert advice as to the particulars of the Anki software itself.

I understand. I left it this way (with the arrow spinning) last night and it is still the same by now.

In most cases, you can check two things:

While the circular arrow is spinning you can click sync; usually if AnkiWeb is actively syncing you’ll get a little pop-up that tells you an ongoing sync is taking place. This is most likely what’s going on.

Separately, from your top menu bar you can click on AnkiHub and check the sync status. It may say ‘idle’ or ‘media syncing’ or something similar.

Of note: it is possible that one is syncing, and the other is done (for the moment). It may be that one, or the other, or both, is still syncing.

But, very broadly, if the arrow is circling that means you have an ongoing sync one way or the other. It’s not completely abnormal for it to still be going a day later, as occasionally syncs do timeout (again owing to firewalls and similar). I don’t have a way to see the status of your sync, particularly with AnkiWeb, though especially with new (and large) collections it sometimes just takes a long while

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.