Outbound HTTP requests sent from your nodes?
Hello,
I'm running ComfyUI in a Docker container to create a server using your custom nodes for Krita Diffusion. It used to run fine but I rebuilt my container recently and it is now failing with the error:
2025-05-19 10:01:58.687 | (URLError(TimeoutError(110, 'Connection timed out')),)
I have tried the following:
- Rebuilt my container without
comfyui-tooling-nodes - Deployed the container
- Access the ComfyUI server and generate an image for testing (success)
- Start Krita / Krita Diffusion
- The plugin connects well to the server but indicates that
comfyui-tooling-nodesis missing (which is expected)
Then I added comfyui-tooling-nodes to the Dockerfile
- Rebuilt my container with
comfyui-tooling-nodes - Deployed the container
- Access the ComfyUI server and generate an image for testing (success)
- Start Krita / Krita Diffusion
- The plugin fails to connect and the ComfyUI server crashes / becomes inaccessible
- I can see the error in the server logs:
2025-05-19 11:14:19.766 | (URLError(TimeoutError(110, 'Connection timed out')),)
Could you please explain how the Krita Diffusion plugin interacts with the comfyui-tooling-nodes? Do the nodes send any outbound requests (cf. error message) and to whom?
Thanks
EDIT: Some additional info, the Krita Diffusion client logs show an error message like this:
2025-05-19 15:19:20,697 ERROR Could not list available languages for translation: Error transferring https://myconfyuiserver.com/api/etn/languages - server replied: Gateway Timeout
[...]
2025-05-19 15:24:20,993 ERROR Error while inspecting models in checkpoints: Error transferring https://myconfyuiserver.com/api/etn/model_info/checkpoints - server replied: Gateway Timeout
2025-05-19 15:29:21,280 ERROR Error while inspecting models in diffusion_models: Error transferring https://myconfyuiserver.com/api/etn/model_info/diffusion_models - server replied: Gateway Timeout
2025-05-19 15:34:21,571 ERROR Error while inspecting models in unet_gguf: Error transferring https://myconfyuiserver.com/api/etn/model_info/unet_gguf - server replied: Gateway Timeout
Could this be the cause of the server crashing?
The nodes do not send outbound requests. They provide some additional endpoints (to inspect available models, languages, exchange custom workflows, etc.). The client (Krita plugin) makes queries these endpoints.
It looks like the connection to those is not working properly. I don't know why though. Do they work when you try them manually, eg. in the browser?
I see, thank you for the prompt answer!
Do they work when you try them manually, eg. in the browser?
They do not work, the whole ComfyUI server is not loading anymore when I try to access it in the browser.
Is it all the endpoints or just the one for eg. checkpoints? Do you have like a massive library of models on a slow hdd or something? It might time out / block the server if inspection takes too long.
Is it all the endpoints or just the one for eg. checkpoints?
It is all the endpoints that do not work, the whole server does not load anymore
Do you have like a massive library of models on a slow hdd or something?
The list of models is not massive
- 17 checkpoints
- 11 diffusion models
I'm thinking maybe this is due to my infrastructure setup as well as the slowness of my network (I'm in China and my server is in North America)... I'll dig further on my side and will let you know.