ComfyUI Job Failed

Based on the logs, it seems like it tries to connect before it's actually launched. Let me know if I should do anything on my end to fix. It worked well before.
19 Replies
Jason
Jasonβ€’2w ago
I don't see whats wrong in the logs, any error? especially which part? you can modify your handler retries to retry more, or more delay between retry ( to check if comfyui is ready)
WorldObserver
WorldObserverOPβ€’2w ago
how do i change the handler retries?
Jason
Jasonβ€’2w ago
in the handler.py or whatever your handler name is, the code inside it
WorldObserver
WorldObserverOPβ€’2w ago
oh, inside of the docker image?
WorldObserver
WorldObserverOPβ€’2w ago
can i overwrite them here?
No description
WorldObserver
WorldObserverOPβ€’2w ago
in variables
Jason
Jasonβ€’2w ago
yes i dont think so let me see
WorldObserver
WorldObserverOPβ€’2w ago
thanks! yea would kind of suck having to make a new docker
Jason
Jasonβ€’2w ago
okay nvm, you can see that environment variable slot
WorldObserver
WorldObserverOPβ€’2w ago
πŸ‘πŸ» πŸ‘πŸ» πŸ‘πŸ»
Jason
Jasonβ€’2w ago
add a new one then put in COMFY_POLLING_MAX_RETRIES in the left side on the right side set 800 or whatever number works ( usually above 500) if this is the case
WorldObserver
WorldObserverOPβ€’2w ago
hey, i didnt have issues before. do u think its worth terminating the worker and trying again to see if that fixes it?
Jason
Jasonβ€’2w ago
sure, another worker
WorldObserver
WorldObserverOPβ€’2w ago
ok ill try. tahnks so much for your help man
Jason
Jasonβ€’2w ago
your welcome!
WorldObserver
WorldObserverOPβ€’2w ago
terminating worker worked. FYI πŸ™‚ thanks again
Jason
Jasonβ€’2w ago
ah so its a bad worker then if you get this often, feel free to make a support ticket from the website man
ericmsilver
ericmsilverβ€’2w ago
Does anyone have a good python demo code to generate an image against a serverless comfyui @WorldObserver Does anyone have a good python demo code to generate an image against a serverless comfyui
Jason
Jasonβ€’2w ago
Hmm here is an example kn github, search for comfyui-worker then there is a request body payload example

Did you find this page helpful?