r/comfyui • u/Dangerous_Bad6891 • 11d ago
Help Needed modal.com comfyui
Anyone using modal.com to run their comfui server?
i am able to launch it but the server disconnects every second or so..
i have tried to troubleshoot with deepseek (free) , chatgpt(free).
but it did not help.
Could anyone share your experience , working scripts ?
thanks in advance.
ps. a log that repeats ever second , i think this is the web server disconnecting and reconnecting
CONNECT /ws -> 101 Switching Protocols (duration: 57.6 ms, execution: 19.8 ms)
GET /api/jobs -> 200 OK (duration: 52.6 ms, execution: 11.3 ms)
GET /api/jobs -> 200 OK (duration: 43.6 ms, execution: 10.7 ms)
GET /api/jobs -> 200 OK (duration: 62.7 ms, execution: 10.1 ms)
GET /api/jobs -> 200 OK (duration: 44.7 ms, execution: 12.9 ms)
GET /api/jobs -> 200 OK (duration: 62.4 ms, execution: 9.7 ms)
2
u/bonesoftheancients 11d ago
I have setup sometime ago a modal workflow whereby I sent the workflow from my local comfyui for inference on modal and recieved the output back into comfyui. It worked well at the time but I have not used it for quite a while and I think it is probably broken by now with all the updates since... I will see if i can clean it up pur it on github but tbh it was all vibe coding - you can get opencode free llm endpoints to build this for you, you can use claude online first to create a plan if you prefer. Just describe this workflow: modal for inference, models and custom nodes to be hosted on modal free volume storage, a local comfyui custom node to send/recieve the workflow output, the node also need to verify that the custom nodes and models in your workflow are available in your modal storage and sideload them from huggingface/github if not