Skip to content

[bug]: Interrupted model download restarts from the beginning for download retry option #9841

Open

Description

@NiceDragon8066

Is there an existing issue for this problem?

  • I have searched the existing issues

Install method

Manual

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX 5090

GPU VRAM

24GB

Version number

v7.0.0-a2

Browser

Edge

System Information

No response

What happened

I was downloading the 27GB MiniMax-H3 Int8 Text Encoder, my internet connection was interrupted after 8.1GB of the download. I tried to restart the download by clicking retry option, but the download restarted from the beginning. What a waste! I remember having had reported this issue with the earlier versions of InvokeAI (as did couple of other people), the problem still seems to be present. Interruptions can happen during a large file download spanning a long time. The downloader should not discard what was downloaded and start from scratch again. Even Chrome and Edge can reliably resume a download from where it stalled. Most apps have multiple automatic retry built into their downloads for this purpose. I fail to understand why this issue is still lingering in InvokeAI!!!

What you expected to happen

idk

How to reproduce the problem

idk

Additional context

Getting close to ditching this app for good.

Discord username

No response

Activity

  1. NiceDragon8066 commented on Oct 13, 2026

    @NiceDragon8066
    Author

    Console message:

    [2026-10-13 18:21:10,601]::[DownloadQueueService]::INFO --> File download started: https://huggingface.
    co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors
    [2026-10-13 19:29:45,288]::[DownloadQueueService]::ERROR --> https://huggingface.co/Comfy-Org/MiniMax-H
    3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors: ['Traceback (most recent
    call last):\n', ' File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\urllib3\response.py", li
    ne 929, in _error_catcher\n yield\n', ' File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\
    urllib3\response.py", line 1067, in _raw_read\n raise IncompleteRead(self._fp_bytes_read, self.leng
    th_remaining)\n', 'urllib3.exceptions.IncompleteRead: IncompleteRead(8150818390 bytes read, 18990523762
    more expected)\n', '\nThe above exception was the direct cause of the following exception:\n\n', 'Trac
    eback (most recent call last):\n', ' File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\reques
    ts\models.py", line 937, in generate\n yield from self.raw.stream(chunk_size, decode_content=True)
    n', ' File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\urllib3\response.py", line 1291, in
    stream\n data = self.read(amt=amt, decode_content=decode_content)\n ^^^^^^^^^^^^^^^^^^^^^^
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\urllib3\
    response.py", line 1179, in read\n data = self._raw_read(amt)\n ^^^^^^^^^^^^^^^^^^^\n', '
    File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\urllib3\response.py", line 1045, in _raw_r
    ead\n with self._error_catcher():\n ^^^^^^^^^^^^^^^^^^^^^\n', ' File "C:\Users\vidz3\App
    Data\Roaming\uv\python\cpython-3.12-windows-x86_64-none\Lib\contextlib.py", line 158, in exit
    \n self.gen.throw(value)\n', ' File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\urllib3\
    response.py", line 949, in _error_catcher\n raise ProtocolError(arg, e) from e\n', "urllib3.exceptio
    ns.ProtocolError: ('Connection broken: IncompleteRead(8150818390 bytes read, 18990523762 more expected)
    ', IncompleteRead(8150818390 bytes read, 18990523762 more expected))\n", '\nDuring handling of the abov
    e exception, another exception occurred:\n\n', 'Traceback (most recent call last):\n', ' File "D:\Sta
    ndalone\InvokeAI\.venv\Lib\site-packages\invokeai\app\services\download\download_default.py",
    line 399, in _download_next_item\n self._do_download(job)\n', ' File "D:\Standalone\InvokeAI\.ve
    nv\Lib\site-packages\invokeai\app\services\download\download_default.py", line 666, in _do_downl
    oad\n for data in resp.iter_content(chunk_size=DOWNLOAD_CHUNK_SIZE):\n ^^^^^^^^^^^^^^
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "D:\Standalone\InvokeAI\.venv\Lib\site-packages\r
    equests\models.py", line 939, in generate\n raise ChunkedEncodingError(e)\n', "requests.exceptions.
    ChunkedEncodingError: ('Connection broken: IncompleteRead(8150818390 bytes read, 18990523762 more expec
    ted)', IncompleteRead(8150818390 bytes read, 18990523762 more expected))\n"]
    [2026-10-13 19:29:45,288]::[DownloadQueueService]::ERROR --> Cancelling D:\ModelSpace\invokeai\tmpinsta
    ll_xdkk1mnq due to an error while downloading https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/
    text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors: ('Connection broken: IncompleteRead(8150
    818390 bytes read, 18990523762 more expected)', IncompleteRead(8150818390 bytes read, 18990523762 more
    expected))
    [2026-10-13 19:29:45,289]::[ModelInstallService]::ERROR --> Model install error: Comfy-Org/MiniMax-H3::
    text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors
    ChunkedEncodingError: ('Connection broken: IncompleteRead(8150818390 bytes read, 18990523762 more expec
    ted)', IncompleteRead(8150818390 bytes read, 18990523762 more expected))

  2. self-assigned this
    on Oct 15, 2026
  3. lstein commented on Oct 15, 2026

    @lstein
    Collaborator

    Thanks for the report. This may be fixed in PR #9591 . I will investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions