Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comfy run --workflow WebSocketTimeoutException #200

Open
kning opened this issue Oct 22, 2024 · 0 comments
Open

comfy run --workflow WebSocketTimeoutException #200

kning opened this issue Oct 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kning
Copy link

kning commented Oct 22, 2024

Describe the bug
Occasionally for long-running workflows triggered via API, the websocket connection gets lost.

To Reproduce
Difficult to reproduce because it only happens occasionally, with long running workflows in particular.

Expected behavior
I would expect much more durable performance from comfy run --workflow. This command also seems fairly undocumented so would be nice to know how mature this feature is.

Nice to have
This issue is well documented in our repo here.

Additional context
I work at Modal, a serverless compute / gpu platform. We have a lot of inbound customers searching for "comfyui api" that land on our ComfyUI example, which uses comfy-cli. Even before comfy-cli, we've anecdotally had many customers run into this websocket timeout issue for long-running workflows triggered via API. It would be great to understand if this is a known issue and/or if you have any official workarounds. For instance, many of our customers have just reverted back to using the basic HTTP api example and avoid web sockets entirely.

@kning kning added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant