Fixing AnkiHub deck download errors on Anki

I am facing a problem downloading Dermki anki deck due to an error that appears:Anki 25.09.2 (3890e12c) (ao)

Python 3.13.5 Qt 6.9.1 PyQt 6.9.1

Platform: Windows-11-10.0.26100-SP0

Traceback (most recent call last):

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 320, in _send_request_with_retry

return send_with_retry()

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\_init_.py”, line 289, in wrapped_f

return self(f, *args, **kw)

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\_init_.py”, line 379, in _call_

do = self.iter(retry_state=retry_state)

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\_init_.py”, line 326, in iter

raise retry_exc from fut.exception()

tenacity.RetryError: RetryError[<Future at 0x24a95b15350 state=finished raised ConnectionError>]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 324, in _send_request_with_retry

response = last_attempt.result()

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 449, in result

return self.__get_result()

~~~~~~~~~~~~~~~~~^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 401, in __get_result

raise self._exception

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\_init_.py”, line 382, in _call_

result = fn(*args, **kwargs)

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 317, in send_with_retry

return self.thread_local_session.get().send(request, stream=stream, timeout=timeout)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\requests\sessions.py”, line 703, in send

r = adapter.send(request, **kwargs)

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\requests\adapters.py”, line 700, in send

raise ConnectionError(e, request=request)

requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘ankihub.s3.amazonaws.com’, port=443): Max retries exceeded with url: /deck_271bd550-5bfd-44a1-bfbd-df1878c33b5f_notes.csv.gz?response-content-disposition=attachment&AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=KIzFicnZGxV0bTg1fQsz7uk4goQ%3D&Expires=1778910588 (Caused by NameResolutionError(“<urllib3.connection.HTTPSConnection object at 0x0000024A95AB74D0>: Failed to resolve ‘ankihub.s3.amazonaws.com’ ([Errno 11001] getaddrinfo failed)”))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 201, in _download_and_install_decks_inner

_download_and_install_single_deck(

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

deck,

^^^^^

behavior_on_remote_note_deleted=behavior_on_remote_note_deleted,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

recommended_deck_settings=recommended_deck_settings,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

)

^

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 228, in _download_and_install_single_deck

notes_data: List[NoteInfo] = AnkiHubClient().download_deck(

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

deck.ah_did, download_progress_cb=deck_download_progress_cb

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

)

^

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 672, in download_deck

s3_response_content = self._download_with_progress_cb(s3_url_suffix, download_progress_cb)

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 694, in _download_with_progress_cb

with self._send_request(“GET”, API.S3, s3_url_suffix, stream=True, is_long_running=True) as response:

~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 283, in _send_request

return self._send_request_with_retry(

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

prepped,

^^^^^^^^

…<2 lines>…

is_long_running=is_long_running,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

)

^

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 326, in _send_request_with_retry

raise AnkiHubRequestException(e) from e

1322529746.ankihub_client.ankihub_client.AnkiHubRequestException: AnkiHub request exception: HTTPSConnectionPool(host=‘ankihub.s3.amazonaws.com’, port=443): Max retries exceeded with url: /deck_271bd550-5bfd-44a1-bfbd-df1878c33b5f_notes.csv.gz?response-content-disposition=attachment&AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=KIzFicnZGxV0bTg1fQsz7uk4goQ%3D&Expires=1778910588 (Caused by NameResolutionError(“<urllib3.connection.HTTPSConnection object at 0x0000024A95AB74D0>: Failed to resolve ‘ankihub.s3.amazonaws.com’ ([Errno 11001] getaddrinfo failed)”))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py”, line 152, in raise_exception

raise exception

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py”, line 148, in _on_closures_pending

closure()

~~~~~~~^^

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py”, line 100, in sync_with_ankiweb

future.result()

~~~~~~~~~~~~~^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 449, in result

return self.__get_result()

~~~~~~~~~~~~~~~~~^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 401, in __get_result

raise self._exception

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py”, line 36, in wrapper

return func(*args, **kwargs)

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py”, line 146, in _on_new_deck_subscriptions_done

future.result()

~~~~~~~~~~~~~^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 449, in result

return self.__get_result()

~~~~~~~~~~~~~~~~~^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 401, in __get_result

raise self._exception

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py”, line 36, in wrapper

return func(*args, **kwargs)

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 97, in _on_install_done

import_results: List[AnkiHubImportResult] = future.result()

~~~~~~~~~~~~~^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 449, in result

return self.__get_result()

~~~~~~~~~~~~~~~~~^^

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py”, line 401, in __get_result

raise self._exception

File “C:\Users\ansid\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\thread.py”, line 59, in run

result = self.fn(*self.args, **self.kwargs)

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 81, in

task=lambda: _download_and_install_decks_inner(

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

decks,

^^^^^^

behavior_on_remote_note_deleted=behavior_on_remote_note_deleted,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

recommended_deck_settings=recommended_deck_settings,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

),

^

File “C:\Users\ansid\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 218, in _download_and_install_decks_inner

raise exceptions[0]

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck 271bd550-5bfd-44a1-bfbd-df1878c33b5f: AnkiHub request exception: HTTPSConnectionPool(host=‘ankihub.s3.amazonaws.com’, port=443): Max retries exceeded with url: /deck_271bd550-5bfd-44a1-bfbd-df1878c33b5f_notes.csv.gz?response-content-disposition=attachment&AWSAccessKeyId=AKIASSGURO7AU2A7QZOX&Signature=KIzFicnZGxV0bTg1fQsz7uk4goQ%3D&Expires=1778910588 (Caused by NameResolutionError(“<urllib3.connection.HTTPSConnection object at 0x0000024A95AB74D0>: Failed to resolve ‘ankihub.s3.amazonaws.com’ ([Errno 11001] getaddrinfo failed)”))

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

Search
Found 0 results for ‘tags:official NameResolutionError ankihub.s3.amazonaws.com getaddrinfo failed category::person_raising_hand: Support order:latest max_posts:20 tags:add-on-error status:open’

Thanks for sharing the full error log — that’s very helpful.

The key part is:

Failed to resolve 'ankihub.s3.amazonaws.com' ([Errno 11001] getaddrinfo failed)

This means AnkiHub can’t reach Amazon S3 from your computer. That’s almost always a local network / DNS / security software issue, not a problem with your AnkiHub account or the deck itself.

Please try these steps in order:


1. Check if your system can reach the file server

  1. Open a browser on the same computer.
  2. Go to:
    https://ankihub.s3.amazonaws.com
  3. Possible outcomes:
    • If the page loads or shows an XML / AccessDenied-style message, that’s good: the site is reachable.
    • If it doesn’t load / times out / says DNS error, something on your system or network is blocking access.

If it does not load, continue with steps 2–4 below.


2. Check VPN / firewall / antivirus

On Windows, these often interfere with S3:

  1. Turn off VPN (if you’re using one) and try the AnkiHub sync again.
  2. Temporarily disable third‑party antivirus / security suites (e.g., Kaspersky, Bitdefender, etc.), then:
    • Restart Anki
    • Try downloading the Dermki deck again.
  3. Make sure Windows Defender Firewall or your security software isn’t blocking Anki:
    • Open Windows Security → Firewall & network protection → Allow an app through firewall
    • Ensure Anki is allowed on Private (and Public if needed).

3. Try a different network / DNS

Sometimes the issue is your router or ISP’s DNS:

  1. Connect your computer to a different network:
    • For example, use your phone’s mobile hotspot instead of home Wi‑Fi.
  2. Or temporarily change DNS:
    • Open Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings
    • Right‑click your active network → Properties
    • Select Internet Protocol Version 4 (TCP/IPv4)Properties
    • Set DNS to:
      • Preferred: 8.8.8.8
      • Alternate: 1.1.1.1
    • Click OK, then restart Anki and retry.

If switching networks works, the issue is with your original network’s DNS or firewall.


4. Confirm Anki & AnkiHub add‑on are current

  1. Make sure you’re on the latest stable Anki version from the official site.
  2. In Anki: Tools → Add-ons → AnkiHub → Check for Updates (or reinstall the latest AnkiHub add‑on from the official link on AnkiWeb / AnkiHub docs).
  3. Restart Anki and try downloading Dermki again.

5. If it still fails

Please reply in your topic with:

  • Whether https://ankihub.s3.amazonaws.com loads in your browser
  • Whether a different network (e.g., phone hotspot) works
  • A screenshot or copy of any error message you see in the browser

With that info, the AnkiHub team can better tell if it’s definitely a local network block vs. something else, and help you further.

upon opening the website : https://ankihub.s3.amazonaws.com loads in my browser with the access denied style you ensured means that means the connection is working

Hello,

Are you using any firewall or VPN? Please also try a different Internet connection.

Let me know if you continue to experience this error!

yes I am unfortunately still experiencing this error despite not using any firewall or vpn and I have already tried multiple internet connections and multiple devices even, and even followed the AI suggestion to change the DNS to 1111. however it is still not working.

I’ve tagged a developer, and he will take a look as soon as possible and get back to you!

1 Like

Can you use Help > About > Copy Debug Info and post the text?

Do you have any issues viewing notes with images in the website? https://app.ankihub.net/