Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model not download #84

Open
ToxicRiot opened this issue Sep 27, 2024 · 0 comments
Open

Model not download #84

ToxicRiot opened this issue Sep 27, 2024 · 0 comments

Comments

@ToxicRiot
Copy link

I need help with this error. I have searched everywhere for a solution but haven't found one. Please assist me, or at least teach me how to download the model manually. Thank you in advance.

ComfyUI Error Report

Error Details

  • Node Type: WD14Tagger|pysssss
  • Exception Type: aiohttp.client_exceptions.ClientConnectorCertificateError
  • Exception Message: Cannot connect to host cdn-lfs.hf.co:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]

Stack Trace

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 200, in tag
    tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 214, in wait_for_async
    loop.run_until_complete(run_async())

  File "asyncio\base_events.py", line 654, in run_until_complete

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
    await download_model(model_name, client_id, node)

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
    await download_to_file(

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 178, in download_to_file
    async with session.get(url) as response:

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 657, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 564, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 975, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1350, in _create_direct_connection
    raise last_exc

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1319, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1082, in _wrap_create_connection
    raise ClientConnectorCertificateError(req.connection_key, exc) from exc

System Information

  • ComfyUI Version: v0.2.2
  • Arguments: ComfyUI\main.py --windows-standalone-build
  • OS: nt
  • Python Version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.4.1+cu124

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 8589410304
    • VRAM Free: 7474249728
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2024-09-27 15:30:30,223 - root - INFO - Total VRAM 8192 MB, total RAM 32666 MB
2024-09-27 15:30:30,223 - root - INFO - pytorch version: 2.4.1+cu124
2024-09-27 15:30:30,223 - root - INFO - Set vram state to: NORMAL_VRAM
2024-09-27 15:30:30,224 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
2024-09-27 15:30:31,024 - root - INFO - Using pytorch cross attention
2024-09-27 15:30:32,005 - root - INFO - [Prompt Server] web root: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\web
2024-09-27 15:30:35,475 - root - INFO - 
Import times for custom nodes:
2024-09-27 15:30:35,475 - root - INFO -    0.0 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-09-27 15:30:35,475 - root - INFO -    0.0 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere
2024-09-27 15:30:35,475 - root - INFO -    0.0 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\masquerade-nodes-comfyui
2024-09-27 15:30:35,475 - root - INFO -    0.0 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
2024-09-27 15:30:35,476 - root - INFO -    0.0 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
2024-09-27 15:30:35,476 - root - INFO -    0.0 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-prompt-reader-node
2024-09-27 15:30:35,476 - root - INFO -    0.2 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-09-27 15:30:35,476 - root - INFO -    0.3 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2024-09-27 15:30:35,476 - root - INFO -    1.2 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node
2024-09-27 15:30:35,476 - root - INFO -    1.4 seconds: E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui
2024-09-27 15:30:35,476 - root - INFO - 
2024-09-27 15:30:35,482 - root - INFO - Starting server

2024-09-27 15:30:35,482 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-09-27 15:30:40,983 - root - INFO - got prompt
2024-09-27 15:30:40,985 - root - ERROR - Failed to validate prompt for output 175:
2024-09-27 15:30:40,986 - root - ERROR - * VAEEncode 29:
2024-09-27 15:30:40,986 - root - ERROR -   - Required input is missing: pixels
2024-09-27 15:30:40,986 - root - ERROR - Output will be ignored
2024-09-27 15:30:40,986 - root - ERROR - Failed to validate prompt for output 109:
2024-09-27 15:30:40,986 - root - ERROR - Output will be ignored
2024-09-27 15:30:40,989 - root - ERROR - Failed to validate prompt for output 130:
2024-09-27 15:30:40,989 - root - ERROR - Output will be ignored
2024-09-27 15:30:40,990 - root - ERROR - Failed to validate prompt for output 174:
2024-09-27 15:30:40,990 - root - ERROR - Output will be ignored
2024-09-27 15:30:40,990 - root - ERROR - Failed to validate prompt for output 110:
2024-09-27 15:30:40,990 - root - ERROR - Output will be ignored
2024-09-27 15:30:41,011 - SD_Prompt_Reader.ImageDataReader - WARNING - Empty jpeg
2024-09-27 15:30:41,012 - SD_Prompt_Reader.ImageDataReader - INFO - Reading Status: FORMAT_ERROR
2024-09-27 15:30:41,059 - SD_Prompt_Reader.ImageDataReader - WARNING - Empty jpeg
2024-09-27 15:30:41,059 - SD_Prompt_Reader.ImageDataReader - INFO - Reading Status: FORMAT_ERROR
2024-09-27 15:30:41,486 - root - ERROR - !!! Exception during processing !!! Cannot connect to host cdn-lfs.hf.co:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]
2024-09-27 15:30:41,489 - root - ERROR - Traceback (most recent call last):
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1080, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs, sock=sock)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "asyncio\base_events.py", line 1113, in create_connection
  File "asyncio\base_events.py", line 1146, in _create_connection_transport
  File "asyncio\sslproto.py", line 578, in _on_handshake_complete
  File "asyncio\sslproto.py", line 560, in _do_handshake
  File "ssl.py", line 979, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

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

Traceback (most recent call last):
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 200, in tag
    tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 214, in wait_for_async
    loop.run_until_complete(run_async())
  File "asyncio\base_events.py", line 654, in run_until_complete
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
    await download_model(model_name, client_id, node)
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
    await download_to_file(
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 178, in download_to_file
    async with session.get(url) as response:
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 657, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 564, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 975, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1350, in _create_direct_connection
    raise last_exc
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1319, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Download\New Folder\16\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1082, in _wrap_create_connection
    raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host cdn-lfs.hf.co:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]

2024-09-27 15:30:41,490 - root - INFO - Prompt executed in 0.49 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

Workflow too large. Please manually upload the workflow from local file system.

Additional Context

(Please add any additional context or steps to reproduce the error here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant