Custom Node Testing
Expected Behavior
No reconnection issue.
Actual Behavior
WebSocket /ws seems to be completed with status 101 within less than 1 second from the time it got connected instead of staying alive/connected, thus causing ComfyUI to repeatedly keeps trying to reconnects.
Steps to Reproduce
This happened on cloud GPU (modal.com) deployed with https://github.com/caru-ini/modal-comfyui using the example models.py and plugins.py
Which install and launch ComfyUI using comfy-cli.
Debug Logs
CONNECT /ws -> 101 Switching Protocols (duration: 323.1 ms, execution: 194.8 ms)
Other
As seen in the screenshot, ComfyUI Logs can't show any logs because there is no active websocket connection.
While the logs on the container only shows:
CONNECT /ws -> 101 Switching Protocols (duration: 323.1 ms, execution: 194.8 ms)
Custom Node Testing
Expected Behavior
No reconnection issue.
Actual Behavior
WebSocket
/wsseems to be completed with status 101 within less than 1 second from the time it got connected instead of staying alive/connected, thus causing ComfyUI to repeatedly keeps trying to reconnects.Steps to Reproduce
This happened on cloud GPU (modal.com) deployed with https://github.com/caru-ini/modal-comfyui using the example models.py and plugins.py
Which install and launch ComfyUI using comfy-cli.
Debug Logs
Other
As seen in the screenshot, ComfyUI Logs can't show any logs because there is no active websocket connection.
While the logs on the container only shows: