-
-
Notifications
You must be signed in to change notification settings - Fork 47
Description
so it will work once and then the second time I will get this error on the remote worker logs on the remote computer on the lan. it works again if I restart the main instance of comfyui. I have also noticed after running it once and it errors I can no longer access the ui of comfyui on the lan. only on the main computer itself can I access it.
got prompt
[Distributed] Distributor - Worker 0: seed=606329187112549 → 606329187112550
loaded partially; 4694.15 MB usable, 4313.57 MB loaded, 15170.38 MB offloaded, 378.09 MB buffer reserved, lowvram patches: 0
(RES4LYF) rk_type: res_2s
0%| | 0/4 [00:00<?, ?it/s]
25%|██▌ | 1/4 [00:57<02:52, 57.51s/it]
50%|█████ | 2/4 [01:55<01:55, 57.59s/it]
75%|███████▌ | 3/4 [02:52<00:57, 57.61s/it]
100%|██████████| 4/4 [03:50<00:00, 57.68s/it]
100%|██████████| 4/4 [04:19<00:00, 64.88s/it]
Requested to load WanVAE
Unloaded partially: 2314.92 MB freed, 1998.65 MB remains loaded, 378.09 MB buffer reserved, lowvram patches: 891
loaded completely; 287.28 MB usable, 242.03 MB loaded, full load: True
[Distributed] Worker - Job exec_1768914529807_417 complete. Sending 1 image(s) to master
[Distributed] Worker - Failed to send chunk to master: Cannot connect to host 192.168.0.211:8188 ssl:default [The semaphore timeout period has expired]
[Distributed] Worker - Full error details: URL=http://192.168.0.211:8188/distributed/job_complete
!!! Exception during processing !!! Cannot connect to host 192.168.0.211:8188 ssl:default [The semaphore timeout period has expired]
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1268, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 122, in start_connection
raise first_exception
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 73, in start_connection
sock = await _connect_sock(
^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohappyeyeballs\impl.py", line 208, in _connect_sock
await loop.sock_connect(sock, address)
File "asyncio\proactor_events.py", line 728, in sock_connect
File "asyncio\windows_events.py", line 804, in _poll
File "asyncio\windows_events.py", line 600, in finish_connect
OSError: [WinError 121] The semaphore timeout period has expired
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 518, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 329, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 303, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 291, in process_inputs
result = f(**inputs)
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Distributed\distributed.py", line 1878, in run
result = run_async_in_server_loop(
self.execute(images, multi_job_id, is_worker, master_url, enabled_worker_ids, worker_batch_size, worker_id, delegate_only)
)
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Distributed\utils\async_helpers.py", line 49, in run_async_in_server_loop
raise error
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Distributed\utils\async_helpers.py", line 34, in wrapper
result = await coro
^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Distributed\distributed.py", line 1931, in execute
await self.send_batch_to_master(images, multi_job_id, master_url, worker_id)
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Distributed\distributed.py", line 1919, in send_batch_to_master
async with session.post(url, data=data) as response:
~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 1517, in aenter
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 786, in _request
resp = await handler(req)
^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\client.py", line 741, in _connect_and_send_request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
req, traces=traces, timeout=real_timeout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 642, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1209, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1581, in _create_direct_connection
raise last_exc
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1550, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1291, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.0.211:8188 ssl:default [The semaphore timeout period has expired]
Prompt executed in 284.41 seconds