Unable to sync..error keeps coming up

Before the error happened, I was…
trying to sync but error message keeps coming up

Error message (don't change this)
Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-13.7.2-x86_64-i386-64bit

Traceback (most recent call last):

  File "urllib3.response", line 748, in _error_catcher

  File "urllib3.response", line 894, in _raw_read

urllib3.exceptions.IncompleteRead: IncompleteRead(16871548 bytes read, 8120790 more expected)


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


Traceback (most recent call last):

  File "requests.models", line 820, in generate

  File "urllib3.response", line 1060, in stream

  File "urllib3.response", line 977, in read

  File "urllib3.response", line 902, in _raw_read

  File "contextlib", line 137, in __exit__

  File "urllib3.response", line 772, in _error_catcher

urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(16871548 bytes read, 8120790 more expected)', IncompleteRead(16871548 bytes read, 8120790 more expected))


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "aqt.taskman", line 144, in _on_closures_pending

  File "aqt.taskman", line 88, in <lambda>

  File "aqt.operations", line 253, in wrapped_done

  File "/Users/marooshqazi/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 54, in on_failure
    raise exception

  File "concurrent.futures.thread", line 58, in run

  File "aqt.operations", line 243, in wrapped_op

  File "/Users/marooshqazi/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 58, in <lambda>
    op=lambda _: self._update_deck_media_and_download_missing_media(),

  File "/Users/marooshqazi/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 138, in _update_deck_media_and_download_missing_media
    self._client.download_media(missing_media_names, ah_did)

  File "/Users/marooshqazi/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 568, in download_media
    if future.result():

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "/Users/marooshqazi/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 584, in _download_media
    for block in response.iter_content(1024):

  File "requests.models", line 822, in generate

requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(16871548 bytes read, 8120790 more expected)', IncompleteRead(16871548 bytes read, 8120790 more expected))

Sentry link (for developers)

Hello,

Can you restart your Anki and see if this error still pops up?

Can you check to see if your AnkiHub add-on is up to date?

Tutorial: How to update the AnkiHub Add-on

Should be a temporary network issue.

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