-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Describe the bug
New feature "ssl_shutdown_timeout" parameter makes a lot of systems report unnecessary error.
Error code:
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
To Reproduce
- git clone https://github.com/comfyanonymous/ComfyUI.git
- git clone https://github.com/Comfy-Org/ComfyUI-Manager.git ComfyUI/custom_nodes/comfyui-manager
- cd ComfyUI && python main.py
- Then you will see tons of error messages:
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
Expected behavior
This error message is unnecessary. It should be backward compatible with a large number of existing projects, i.e. with code prior to the implementation of 3.12.5's ssl_shutdown_timeout parameter.
Logs/tracebacks
Logs:
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-05-31 17:06:26.459
** Platform: Linux
** Python version: 3.11.12 | packaged by conda-forge | (main, Apr 10 2025, 22:23:25) [GCC 13.3.0]
** Python executable: /opt/conda/bin/python
** ComfyUI Path: /app/ComfyUI
** ComfyUI Base Folder Path: /app/ComfyUI
** User directory: /app/ComfyUI/user
** ComfyUI-Manager config path: /app/ComfyUI/user/default/ComfyUI-Manager/config.ini
** Log path: /app/ComfyUI/user/comfyui.log
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[ComfyUI-Manager] 'numpy' dependency were fixed
Prestartup times for custom nodes:
13.5 seconds: /app/ComfyUI/custom_nodes/ComfyUI-Manager
Checkpoint files will always be loaded safely.
Total VRAM 7841 MB, total RAM 7640 MB
pytorch version: 2.7.0+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
Using pytorch attention
Python version: 3.11.12 | packaged by conda-forge | (main, Apr 10 2025, 22:23:25) [GCC 13.3.0]
ComfyUI version: 0.3.39
ComfyUI frontend version: 1.20.7
[Prompt Server] web root: /opt/conda/lib/python3.11/site-packages/comfyui_frontend_package/static
### Loading: ComfyUI-Manager (V3.32.5)
[ComfyUI-Manager] network_mode: public
### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
Import times for custom nodes:
0.0 seconds: /app/ComfyUI/custom_nodes/websocket_image_save.py
0.1 seconds: /app/ComfyUI/custom_nodes/ComfyUI-Manager
Starting server
To see the GUI go to: http://0.0.0.0:8188
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
FETCH ComfyRegistry Data: 5/87
FETCH ComfyRegistry Data: 10/87
FETCH ComfyRegistry Data: 15/87
FETCH ComfyRegistry Data: 20/87
FETCH ComfyRegistry Data: 25/87
FETCH ComfyRegistry Data: 30/87
FETCH ComfyRegistry Data: 35/87
FETCH ComfyRegistry Data: 40/87
FETCH ComfyRegistry Data: 45/87
FETCH ComfyRegistry Data: 50/87
FETCH ComfyRegistry Data: 55/87
FETCH ComfyRegistry Data: 60/87
FETCH ComfyRegistry Data: 65/87
FETCH ComfyRegistry Data: 70/87
FETCH ComfyRegistry Data: 75/87
FETCH ComfyRegistry Data: 80/87
FETCH ComfyRegistry Data: 85/87
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.jsonError while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
[DONE]
[ComfyUI-Manager] All startup tasks have been completed.
Error while closing connector: ClientConnectionError('Connection lost: SSL shutdown timed out')
Python Version
$ python --version
3.12.10
aiohttp Version
$ python -m pip show aiohttp
Name: aiohttp
Version: 3.12.6
Summary: Async http client/server framework (asyncio)
Home-page: https://github.com/aio-libs/aiohttp
Author:
Author-email:
License: Apache-2.0
Location: /home/**/codespace/ComfyUI/venv/lib/python3.12/site-packages
Requires: aiohappyeyeballs, aiosignal, attrs, frozenlist, multidict, propcache, yarl
Required-by:
multidict Version
$ python -m pip show multidict
Name: multidict
Version: 6.4.4
Summary: multidict implementation
Home-page: https://github.com/aio-libs/multidict
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache 2
Location: /home/**/codespace/ComfyUI/venv/lib/python3.12/site-packages
Requires:
Required-by: aiohttp, yarl
propcache Version
$ python -m pip show propcache
Name: propcache
Version: 0.3.1
Summary: Accelerated property cache
Home-page: https://github.com/aio-libs/propcache
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache-2.0
Location: /home/**/codespace/ComfyUI/venv/lib/python3.12/site-packages
Requires:
Required-by: aiohttp, yarl
yarl Version
$ python -m pip show yarl
Name: yarl
Version: 1.20.0
Summary: Yet another URL library
Home-page: https://github.com/aio-libs/yarl
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache-2.0
Location: /home/**/codespace/ComfyUI/venv/lib/python3.12/site-packages
Requires: idna, multidict, propcache
Required-by: aiohttp
OS
Ubuntu 22.04
Related component
Server, Client
Additional context
Rolling back to aiohttp 3.12.4 removes the error message.
Code of Conduct
- I agree to follow the aio-libs Code of Conduct
feliixx