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

aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已 到] #82

Open
bigrrsmallhh opened this issue Sep 23, 2024 · 5 comments

Comments

@bigrrsmallhh
Copy link

ComfyUI Error Report

Error Details

  • Node Type: WD14Tagger|pysssss
  • Exception Type: aiohttp.client_exceptions.ClientConnectorError
  • Exception Message: Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]

Stack Trace

  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^

  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
    await download_model(model_name, client_id, node)

  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
    await download_to_file(

  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^

  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 657, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 564, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1350, in _create_direct_connection
    raise last_exc

  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1088, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc

System Information

  • ComfyUI Version: v0.2.2
  • Arguments: ComfyUI\main.py --windows-standalone-build --fast
  • 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 GTX 1650 : native
    • Type: cuda
    • VRAM Total: 4294639616
    • VRAM Free: 3458675508
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2024-09-23 09:58:03,094 - root - INFO - Total VRAM 4096 MB, total RAM 16052 MB
2024-09-23 09:58:03,094 - root - INFO - pytorch version: 2.4.1+cu124
2024-09-23 09:58:03,109 - root - INFO - Set vram state to: NORMAL_VRAM
2024-09-23 09:58:03,110 - root - INFO - Device: cuda:0 NVIDIA GeForce GTX 1650 : native
2024-09-23 09:58:04,610 - root - INFO - Using pytorch cross attention
2024-09-23 09:58:07,147 - root - INFO - [Prompt Server] web root: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\web
2024-09-23 09:58:14,869 - root - INFO - 
Import times for custom nodes:
2024-09-23 09:58:14,870 - root - INFO -    0.0 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-09-23 09:58:14,870 - root - INFO -    0.0 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\AIGODLIKE-COMFYUI-TRANSLATION
2024-09-23 09:58:14,871 - root - INFO -    0.0 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ADV_CLIP_emb
2024-09-23 09:58:14,871 - root - INFO -    0.0 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\masquerade-nodes-comfyui
2024-09-23 09:58:14,871 - root - INFO -    0.0 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
2024-09-23 09:58:14,871 - root - INFO -    0.0 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
2024-09-23 09:58:14,871 - root - INFO -    0.1 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved
2024-09-23 09:58:14,871 - root - INFO -    0.1 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
2024-09-23 09:58:14,872 - root - INFO -    0.1 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2024-09-23 09:58:14,872 - root - INFO -    0.1 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
2024-09-23 09:58:14,872 - root - INFO -    0.4 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-09-23 09:58:14,872 - root - INFO -    0.8 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
2024-09-23 09:58:14,872 - root - INFO -    2.5 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet
2024-09-23 09:58:14,872 - root - INFO -    2.8 seconds: G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
2024-09-23 09:58:14,872 - root - INFO - 
2024-09-23 09:58:14,881 - root - INFO - Starting server

2024-09-23 09:58:14,882 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-09-23 09:58:32,780 - root - INFO - got prompt
2024-09-23 09:58:54,122 - root - ERROR - !!! Exception during processing !!! Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]
2024-09-23 09:58:54,131 - root - ERROR - Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1073, in _wrap_create_connection
    sock = await aiohappyeyeballs.start_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 104, in start_connection
    raise first_exception
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 81, in start_connection
    sock = await _connect_sock(
           ^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 166, in _connect_sock
    await loop.sock_connect(sock, address)
  File "asyncio\proactor_events.py", line 726, in sock_connect
  File "asyncio\windows_events.py", line 854, in _poll
  File "asyncio\windows_events.py", line 641, in finish_connect
OSError: [WinError 121] 信号灯超时时间已到

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

Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
    await download_model(model_name, client_id, node)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
    await download_to_file(
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 657, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 564, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1350, in _create_direct_connection
    raise last_exc
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1088, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]

2024-09-23 09:58:54,133 - root - INFO - Prompt executed in 21.33 seconds
2024-09-23 10:38:09,411 - root - INFO - got prompt
2024-09-23 10:38:30,663 - root - ERROR - !!! Exception during processing !!! Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]
2024-09-23 10:38:30,670 - root - ERROR - Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1073, in _wrap_create_connection
    sock = await aiohappyeyeballs.start_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 104, in start_connection
    raise first_exception
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 81, in start_connection
    sock = await _connect_sock(
           ^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 166, in _connect_sock
    await loop.sock_connect(sock, address)
  File "asyncio\proactor_events.py", line 726, in sock_connect
  File "asyncio\windows_events.py", line 854, in _poll
  File "asyncio\windows_events.py", line 641, in finish_connect
OSError: [WinError 121] 信号灯超时时间已到

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

Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
    await download_model(model_name, client_id, node)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
    await download_to_file(
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 657, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 564, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1350, in _create_direct_connection
    raise last_exc
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1088, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]

2024-09-23 10:38:30,675 - root - INFO - Prompt executed in 21.24 seconds
2024-09-23 10:39:51,936 - root - INFO - got prompt
2024-09-23 10:40:13,180 - root - ERROR - !!! Exception during processing !!! Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]
2024-09-23 10:40:13,188 - root - ERROR - Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1073, in _wrap_create_connection
    sock = await aiohappyeyeballs.start_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 104, in start_connection
    raise first_exception
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 81, in start_connection
    sock = await _connect_sock(
           ^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 166, in _connect_sock
    await loop.sock_connect(sock, address)
  File "asyncio\proactor_events.py", line 726, in sock_connect
  File "asyncio\windows_events.py", line 854, in _poll
  File "asyncio\windows_events.py", line 641, in finish_connect
OSError: [WinError 121] 信号灯超时时间已到

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

Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
    await download_model(model_name, client_id, node)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
    await download_to_file(
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 657, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 564, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1350, in _create_direct_connection
    raise last_exc
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1088, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]

2024-09-23 10:40:13,190 - root - INFO - Prompt executed in 21.23 seconds
2024-09-23 11:46:43,992 - asyncio - ERROR - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "asyncio\events.py", line 84, in _run
  File "asyncio\proactor_events.py", line 165, in _call_connection_lost
ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
2024-09-23 11:56:13,910 - root - INFO - got prompt
2024-09-23 11:56:35,271 - root - ERROR - !!! Exception during processing !!! Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]
2024-09-23 11:56:35,278 - root - ERROR - Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1073, in _wrap_create_connection
    sock = await aiohappyeyeballs.start_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 104, in start_connection
    raise first_exception
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 81, in start_connection
    sock = await _connect_sock(
           ^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 166, in _connect_sock
    await loop.sock_connect(sock, address)
  File "asyncio\proactor_events.py", line 726, in sock_connect
  File "asyncio\windows_events.py", line 854, in _poll
  File "asyncio\windows_events.py", line 641, in finish_connect
OSError: [WinError 121] 信号灯超时时间已到

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

Traceback (most recent call last):
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
    r = await async_fn()
        ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
    await download_model(model_name, client_id, node)
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
    await download_to_file(
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 657, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 564, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1350, in _create_direct_connection
    raise last_exc
  File "G:\youxi\ComfyUI_windows_portable_nvidia\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 "G:\youxi\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1088, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host huggingface.co:443 ssl:default [信号灯超时时间已到]

2024-09-23 11:56:35,281 - root - INFO - Prompt executed in 21.30 seconds

Attached Workflow

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

{"last_node_id":31,"last_link_id":48,"nodes":[{"id":15,"type":"LoraLoader","pos":{"0":-450,"1":460},"size":{"0":243.7846221923828,"1":126},"flags":{},"order":7,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":17,"label":"模型"},{"name":"clip","type":"CLIP","link":18,"label":"CLIP"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[19],"slot_index":0,"shape":3,"label":"模型"},{"name":"CLIP","type":"CLIP","links":[20],"slot_index":1,"shape":3,"label":"CLIP"}],"properties":{"Node name for S&R":"LoraLoader"},"widgets_values":["80'sFusion.safetensors",0.7000000000000001,0.7000000000000001]},{"id":13,"type":"Get Image Size","pos":{"0":-450,"1":30},"size":{"0":210,"1":46},"flags":{},"order":8,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":10,"label":"图像"}],"outputs":[{"name":"width","type":"INT","links":[11],"slot_index":0,"shape":3,"label":"width"},{"name":"height","type":"INT","links":[12],"slot_index":1,"shape":3,"label":"height"}],"properties":{"Node name for S&R":"Get Image Size"}},{"id":6,"type":"CLIPTextEncode","pos":{"0":-50,"1":200},"size":{"0":210,"1":54},"flags":{"collapsed":false},"order":15,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":22,"label":"CLIP"},{"name":"text","type":"STRING","link":14,"widget":{"name":"text"},"label":"文本"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[27],"slot_index":0,"label":"条件"}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["beautiful scenery nature glass bottle landscape, , purple galaxy bottle,",true]},{"id":19,"type":"CLIPTextEncode","pos":{"0":-50,"1":380},"size":{"0":210,"1":180},"flags":{},"order":17,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":24,"label":"CLIP"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[25],"slot_index":0,"label":"条件"}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["official art, context art, retro anime, complex background, blurry background, depth of field, ",true]},{"id":5,"type":"EmptyLatentImage","pos":{"0":-230,"1":30},"size":{"0":210,"1":110},"flags":{},"order":14,"mode":0,"inputs":[{"name":"width","type":"INT","link":11,"widget":{"name":"width"},"label":"宽度"},{"name":"height","type":"INT","link":12,"widget":{"name":"height"},"label":"高度"}],"outputs":[{"name":"LATENT","type":"LATENT","links":[2],"slot_index":0,"label":"Latent"}],"properties":{"Node name for S&R":"EmptyLatentImage"},"widgets_values":[512,512,1]},{"id":20,"type":"ControlNetApply","pos":{"0":180,"1":130},"size":{"0":263.9114074707031,"1":98},"flags":{},"order":19,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":36,"label":"条件"},{"name":"control_net","type":"CONTROL_NET","link":28,"slot_index":1,"label":"ControlNet"},{"name":"image","type":"IMAGE","link":29,"label":"图像"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[30],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"ControlNetApply"},"widgets_values":[1]},{"id":23,"type":"OpenposePreprocessor","pos":{"0":180,"1":-80},"size":{"0":264.9114990234375,"1":174},"flags":{},"order":10,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":38,"label":"图像"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[29],"slot_index":0,"shape":3,"label":"图像"},{"name":"POSE_KEYPOINT","type":"POSE_KEYPOINT","links":null,"shape":3,"label":"姿态关键点"}],"properties":{"Node name for S&R":"OpenposePreprocessor"},"widgets_values":["enable","enable","enable",512,"disable"]},{"id":25,"type":"Zoe_DepthAnythingPreprocessor","pos":{"0":460,"1":-60},"size":{"0":259.91143798828125,"1":82},"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":39,"label":"图像"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[32],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"Zoe_DepthAnythingPreprocessor"},"widgets_values":["indoor",512]},{"id":27,"type":"LineArtPreprocessor","pos":{"0":740,"1":-60},"size":{"0":260,"1":82},"flags":{},"order":12,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":40,"label":"图像"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[35],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"LineArtPreprocessor"},"widgets_values":["disable",512]},{"id":22,"type":"ControlNetApply","pos":{"0":740,"1":130},"size":{"0":270,"1":100},"flags":{},"order":21,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":33,"label":"条件"},{"name":"control_net","type":"CONTROL_NET","link":34,"slot_index":1,"label":"ControlNet"},{"name":"image","type":"IMAGE","link":35,"label":"图像"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[37],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"ControlNetApply"},"widgets_values":[0.5]},{"id":21,"type":"ControlNetApply","pos":{"0":460,"1":130},"size":{"0":269.91143798828125,"1":98},"flags":{},"order":20,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":30,"label":"条件"},{"name":"control_net","type":"CONTROL_NET","link":31,"slot_index":1,"label":"ControlNet"},{"name":"image","type":"IMAGE","link":32,"label":"图像"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[33],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"ControlNetApply"},"widgets_values":[0.2]},{"id":8,"type":"VAEDecode","pos":{"0":750,"1":310},"size":{"0":210,"1":46},"flags":{},"order":23,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":7,"label":"Latent"},{"name":"vae","type":"VAE","link":41,"slot_index":1,"label":"VAE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[42],"slot_index":0,"label":"图像"}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":9,"type":"SaveImage","pos":{"0":1430,"1":-200},"size":{"0":420,"1":600},"flags":{},"order":25,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":43,"label":"图像"}],"outputs":[],"properties":{},"widgets_values":["ComfyUI"]},{"id":7,"type":"CLIPTextEncode","pos":{"0":180,"1":380},"size":{"0":260,"1":180},"flags":{},"order":16,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":23,"label":"CLIP"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[6,46],"slot_index":0,"label":"条件"}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["embedding:EasyNegative, lowres, text, error, extra digit, fewer digits, cropped, (worst quality:1.2), low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres graffiti, (low quality lowres simple background:1.1)",true]},{"id":18,"type":"ConditioningCombine","pos":{"0":180,"1":290},"size":{"0":260,"1":50},"flags":{},"order":18,"mode":0,"inputs":[{"name":"conditioning_1","type":"CONDITIONING","link":27,"label":"条件1"},{"name":"conditioning_2","type":"CONDITIONING","link":25,"label":"条件2"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[36,45],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"ConditioningCombine"}},{"id":30,"type":"UltimateSDUpscale","pos":{"0":1090,"1":-110},"size":{"0":315,"1":826},"flags":{},"order":24,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":42,"label":"图像"},{"name":"model","type":"MODEL","link":44,"label":"模型"},{"name":"positive","type":"CONDITIONING","link":45,"label":"正面条件"},{"name":"negative","type":"CONDITIONING","link":46,"label":"负面条件"},{"name":"vae","type":"VAE","link":47,"label":"VAE"},{"name":"upscale_model","type":"UPSCALE_MODEL","link":48,"slot_index":5,"label":"放大模型"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[43],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"UltimateSDUpscale"},"widgets_values":[2,597861321121906,"randomize",20,8,"euler","normal",0.2,"Linear",512,512,8,32,"None",1,64,8,16,true,false]},{"id":3,"type":"KSampler","pos":{"0":460,"1":290},"size":{"0":267.9114074707031,"1":493.56451416015625},"flags":{},"order":22,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":21,"label":"模型"},{"name":"positive","type":"CONDITIONING","link":37,"label":"正面条件"},{"name":"negative","type":"CONDITIONING","link":6,"label":"负面条件"},{"name":"latent_image","type":"LATENT","link":2,"label":"Latent"}],"outputs":[{"name":"LATENT","type":"LATENT","links":[7],"slot_index":0,"label":"Latent"}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[907321352880465,"randomize",20,8,"euler","normal",1]},{"id":24,"type":"ControlNetLoader","pos":{"0":180,"1":-180},"size":{"0":264.9114990234375,"1":58},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[28],"shape":3,"label":"ControlNet"}],"properties":{"Node name for S&R":"ControlNetLoader"},"widgets_values":["control_v11p_sd15_lineart.pth"]},{"id":26,"type":"ControlNetLoader","pos":{"0":470,"1":-180},"size":{"0":260,"1":60},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[31],"shape":3,"label":"ControlNet"}],"properties":{"Node name for S&R":"ControlNetLoader"},"widgets_values":["control_v11p_sd15_lineart.pth"]},{"id":28,"type":"ControlNetLoader","pos":{"0":740,"1":-180},"size":{"0":239.95899963378906,"1":58.29811477661133},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[34],"shape":3,"label":"ControlNet"}],"properties":{"Node name for S&R":"ControlNetLoader"},"widgets_values":["control_v11p_sd15_lineart.pth"]},{"id":29,"type":"VAELoader","pos":{"0":-779,"1":585},"size":{"0":315,"1":58},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[41,47],"slot_index":0,"shape":3,"label":"VAE"}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["kl-f8-anime2.ckpt"]},{"id":16,"type":"LoraLoader","pos":{"0":-441,"1":632},"size":{"0":338.93878173828125,"1":148.9244842529297},"flags":{},"order":13,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":19,"label":"模型"},{"name":"clip","type":"CLIP","link":20,"label":"CLIP"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[21,44],"slot_index":0,"shape":3,"label":"模型"},{"name":"CLIP","type":"CLIP","links":[22,23,24],"slot_index":1,"shape":3,"label":"CLIP"}],"properties":{"Node name for S&R":"LoraLoader"},"widgets_values":["Retro_Anime-000002.safetensors",0.5,0.5]},{"id":4,"type":"CheckpointLoaderSimple","pos":{"0":-780,"1":440},"size":{"0":315,"1":98},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[17],"slot_index":0,"label":"模型"},{"name":"CLIP","type":"CLIP","links":[18],"slot_index":1,"label":"CLIP"},{"name":"VAE","type":"VAE","links":[],"slot_index":2,"label":"VAE"}],"properties":{"Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["majicmixSombre_v20.safetensors"]},{"id":12,"type":"LoadImage","pos":{"0":-760,"1":-70},"size":{"0":270,"1":440},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[10,13,38,39,40],"slot_index":0,"shape":3,"label":"图像"},{"name":"MASK","type":"MASK","links":null,"shape":3,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["ComfyUI_temp_uasgg_00002_.png","image"]},{"id":31,"type":"UpscaleModelLoader","pos":{"0":682,"1":399},"size":{"0":369.8782653808594,"1":115.25772857666016},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"UPSCALE_MODEL","type":"UPSCALE_MODEL","links":[48],"shape":3,"label":"放大模型"}],"properties":{"Node name for S&R":"UpscaleModelLoader"},"widgets_values":["4xUltrasharp_4xUltrasharpV10.pt"]},{"id":14,"type":"WD14Tagger|pysssss","pos":{"0":-450,"1":200},"size":{"0":390,"1":220},"flags":{},"order":9,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":13,"label":"图像"}],"outputs":[{"name":"STRING","type":"STRING","links":[14],"slot_index":0,"shape":6,"label":"字符串"}],"properties":{"Node name for S&R":"WD14Tagger|pysssss"},"widgets_values":["wd-v1-4-moat-tagger-v2",0.35,0.85,false,false,"white background, simple background,"]}],"links":[[2,5,0,3,3,"LATENT"],[6,7,0,3,2,"CONDITIONING"],[7,3,0,8,0,"LATENT"],[10,12,0,13,0,"IMAGE"],[11,13,0,5,0,"INT"],[12,13,1,5,1,"INT"],[13,12,0,14,0,"IMAGE"],[14,14,0,6,1,"STRING"],[17,4,0,15,0,"MODEL"],[18,4,1,15,1,"CLIP"],[19,15,0,16,0,"MODEL"],[20,15,1,16,1,"CLIP"],[21,16,0,3,0,"MODEL"],[22,16,1,6,0,"CLIP"],[23,16,1,7,0,"CLIP"],[24,16,1,19,0,"CLIP"],[25,19,0,18,1,"CONDITIONING"],[27,6,0,18,0,"CONDITIONING"],[28,24,0,20,1,"CONTROL_NET"],[29,23,0,20,2,"IMAGE"],[30,20,0,21,0,"CONDITIONING"],[31,26,0,21,1,"CONTROL_NET"],[32,25,0,21,2,"IMAGE"],[33,21,0,22,0,"CONDITIONING"],[34,28,0,22,1,"CONTROL_NET"],[35,27,0,22,2,"IMAGE"],[36,18,0,20,0,"CONDITIONING"],[37,22,0,3,1,"CONDITIONING"],[38,12,0,23,0,"IMAGE"],[39,12,0,25,0,"IMAGE"],[40,12,0,27,0,"IMAGE"],[41,29,0,8,1,"VAE"],[42,8,0,30,0,"IMAGE"],[43,30,0,9,0,"IMAGE"],[44,16,0,30,1,"MODEL"],[45,18,0,30,2,"CONDITIONING"],[46,7,0,30,3,"CONDITIONING"],[47,29,0,30,4,"VAE"],[48,31,0,30,5,"UPSCALE_MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8264462809917354,"offset":[1064.8038184091706,228.06330791533858]},"0246.VERSION":[0,0,4]},"version":0.4}

Additional Context

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

@LeonRui
Copy link

LeonRui commented Oct 14, 2024

首先,你需要一个VPN
其次,需要在ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py文件中更改源码,将
async with aiohttp.ClientSession(trust_env=True, loop=asyncio.get_event_loop()) as session:
加入trust_env=True参数,搞了好几天,这个参数解决了我的问题,感谢chatgpt

@aqz236
Copy link

aqz236 commented Oct 21, 2024

检查你的git clone是否可以正常使用。因为一些国家会屏蔽部分网站的访问,如果不能访问,请准备好vpn,并且给git设置代理,命令如下, 端口为你自己的socks端口
git config --global http.proxy 'socks5://127.0.0.1:port'

git config --global https.proxy 'socks5://127.0.0.1:port'

@shirubei
Copy link

我也碰到这个问题,感觉程序上哪里有错吧
我自己手动上huggingface下载各种文件都是可以的,但这个程序就是报错,跟主贴一模一样的错。99%肯定不是环境问题。
参照首页的那边offline use的说明,到 wd-v1-4-convnext-tagger-v2 下载了model.onnx和selected_tags.csv还是报错,看来一下上面2楼说的修改代码也没有成功,仔细读了一下,发现程序里面默认模型文件是 wd-v1-4-moat-tagger-v2 , 重新下载wd-v1-4-moat-tagger-v2的文件后就不报错了。
但感觉它这个只是发现模型有了,所以就把下载那一步跳过去了,但本身程序还是有些问题的。

@MXXGJ
Copy link

MXXGJ commented Jan 1, 2025

我也碰到这个问题,感觉程序上哪里有错吧 我自己手动上huggingface下载各种文件都是可以的,但这个程序就是报错,跟主贴一模一样的错。99%肯定不是环境问题。 参照首页的那边offline use的说明,到 wd-v1-4-convnext-tagger-v2 下载了model.onnx和selected_tags.csv还是报错,看来一下上面2楼说的修改代码也没有成功,仔细读了一下,发现程序里面默认模型文件是 wd-v1-4-moat-tagger-v2 , 重新下载wd-v1-4-moat-tagger-v2的文件后就不报错了。 但感觉它这个只是发现模型有了,所以就把下载那一步跳过去了,但本身程序还是有些问题的。

nb老哥,鼓捣了三四个小时看你的解决了,将就用着吧先

@foodmade
Copy link

foodmade commented Jan 4, 2025

首先,你需要一个VPN 其次,需要在ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py文件中更改源码,将 async with aiohttp.ClientSession(trust_env=True, loop=asyncio.get_event_loop()) as session: 加入trust_env=True参数,搞了好几天,这个参数解决了我的问题,感谢chatgpt

感谢老哥,按照你这样改一下就可以了。

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

6 participants