comfyui-reactor-node
comfyui-reactor-node copied to clipboard
urllib.error.URLError: <urlopen error [WinError 10054] ... >
First, confirm
- [X] I have read the instruction carefully
- [X] I have searched the existing issues
- [X] I have updated the extension to the latest version
What happened?
如图显示ReActorFaceSwap丢失,前台显示[winError 121]信号灯超时时间已到
Steps to reproduce the problem
正常安装后打开工作量就是这样
Sysinfo
comfyui win10 谷歌浏览器 RTX4060ti
Relevant console log
[ERROR] An error occurred while retrieving information for the 'ReActorRestoreFace' node.
Traceback (most recent call last):
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\urllib\request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\http\client.py", line 1283, in request
self._send_request(method, url, body, headers, encode_chunked)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\http\client.py", line 1329, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\http\client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\http\client.py", line 1038, in _send_output
self.send(msg)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\http\client.py", line 976, in send
self.connect()
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\http\client.py", line 1455, in connect
self.sock = self._context.wrap_socket(self.sock,
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\ssl.py", line 1071, in _create
self.do_handshake()
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\ruanjian\ComfyUI-aki-v1.3\server.py", line 414, in get_object_info
out[x] = node_info(x)
File "D:\ruanjian\ComfyUI-aki-v1.3\server.py", line 392, in node_info
info['input'] = obj_class.INPUT_TYPES()
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\comfyui-reactor-node\nodes.py", line 575, in INPUT_TYPES
"model": (get_model_names(get_restorers),),
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\comfyui-reactor-node\nodes.py", line 105, in get_model_names
models = get_models()
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\comfyui-reactor-node\nodes.py", line 99, in get_restorers
download(model_url, model_path, model_name)
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\comfyui-reactor-node\reactor_utils.py", line 106, in download
request = urllib.request.urlopen(url)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\urllib\request.py", line 519, in open
response = self._open(req, data)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\urllib\request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\urllib\request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\urllib\request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10054] 远程主机强迫关闭了一个现有的连接。>
Exception in thread Thread-12 (<lambda>):
Traceback (most recent call last):
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "<enhanced_experience vendors.sentry_sdk.integrations.threading>", line 72, in run
File "<enhanced_experience vendors.sentry_sdk._compat>", line 115, in reraise
File "<enhanced_experience vendors.sentry_sdk.integrations.threading>", line 70, in run
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1576, in <lambda>
threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1573, in default_cache_update
await asyncio.gather(a, b, c, d)
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1561, in get_cache
json_obj = await core.get_data(uri, True)
File "D:\ruanjian\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 570, in get_data
async with session.get(uri) as resp:
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\site-packages\aiohttp\client.py", line 1141, in __aenter__
self._resp = await self._coro
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\site-packages\aiohttp\client.py", line 560, in _request
await resp.start(conn)
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\site-packages\aiohttp\client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "D:\ruanjian\ComfyUI-aki-v1.3\python\lib\site-packages\aiohttp\streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [WinError 121] 信号灯超时时间已到
Additional information
No response
urllib.error.URLError: <urlopen error [WinError 10054]
You should be connected to the Internet to let ReActor download some models
确保你的代理开启了允许其他设备连接,如果是用秋叶等的启动器需要在一般设置中开启代理设置,填写代理服务器地址,把代理应用git等的开关都打开
是的,正如楼上所说,是缺了这几个模型codeformer-v0.1.0.pth,GFPGANv1.3.pth和GFPGANv1.4.pth,这些好像秋叶包认不到SD那里共享的。 我最初也以为是插件版本不对(因为ReActor在没有以上模型的情况下只有load和save模型两个node),下载完这3个模型就ReActor就会有4个node了!