Comfy-Org / Comfy-Org/ComfyUI

Cannot receive WebSocket messages.

Open
#9,393 4 comments 0 reactions 0 assignees View on GitHub
bug-cop:response-received Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

WebSocket messages can be received continuously until the task is completed.

### Actual Behavior

The service starts normally, but after running for some time (possibly more than 10 hours, the time is random), it becomes unable to receive WebSocket messages. The symptom is that initially, a WebSocket message is received: `{"type": "status", "data": {"status": {"exec_info": {"queue_remaining": 0}}, "sid": "2d72ff08-c7b6-4792-ac4f-a4d8d95308ef"}}`, and then it remains unchanged, causing the polling to get stuck. I am using ComfyUI version 0.3.43.

### Steps to Reproduce

just run for a long time

### Debug Logs

```powershell
{"type": "status", "data": {"status": {"exec_info": {"queue_remaining": 0}}, "sid": "2d72ff08-c7b6-4792-ac4f-a4d8d95308ef"}}
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.