"[Errno 11001] getaddrinfo failed" on Generate with ComfyUI in WSL
Models set up, everything installed, but for some reason generate is failing with that error.
Could you try it with the new release I just uploaded? Probably won't solve it but at least we could get some more info on it.
Done.
Could not resolve ComfyUI server address: 'http://127.0.0.1:8671/'. Please check the hostname/IP and port in preferences and your network settings.
Straightforward. Server is up, I'm viewing it in Chrome. This is Blender 4.4.3, Allow Online Access checked, etc.
That seems like the thing I was talking about on Reddit. I probably wasn't clear enough on it.
You need to put the IP in the Server Address field in preferences without the "http://". So in your case, you should put 127.0.0.1:8671 there, if that's where your ComfyUI is running at.
Thanks, I must have missed that. Though updating to that ends up with a 400 error Bad Request.
Also, something I discovered while trying to check this out -- changing Blender tabs (Modeling -> Sculpting/UV Editing/whatever, then back to Modeling) makes the StableGen tool tab disappear until reload.
Checking Comfy, this is happening during the attempt:
Failed to validate prompt for output 25:
-
LoadImage 200:
- Custom validation failed for node: image - Invalid image file: E:\Art\Stablegen\Scene\2025-05-19T11-17-28\controlnet\depth\depth_map00001.png
Output will be ignored
Well, at least that's a move in the right direction. With 400 error, you will generally want to check the ComfyUI console for further details.
As for the second part, StableGen tab is intentionally only in the Layout section.
Just updated with the Comfy output. And alright, but what I mean is that that the tab disappears altogether once you return to the original screen.
Can you manually check if the file at E:\Art\Stablegen\Scene\2025-05-19T11-17-28\controlnet\depth\depth_map00001.png is present?
It is, I see it there. Simple little depth mapped default cube.
but what I mean is that that the tab disappears altogether once you return to the original screen.
I am not able to reproduce this. For me, it is always present when in Layout.
What I would suggest for getting more info on the LoadImage error is to load ComfyUI in a browser and manually load the prompt.json file, which should be present in E:\Art\Stablegen\Scene\2025-05-19T11-17-28\. Then try to run the workflow within the browser. Even though the input images (for ControlNet or otherwise) won't show initially, it should proceed and generate the image. If there is a problem, you might get another error, but it might be more informative there. Or you might even get an error upon loading the workflow which could also help.
What I'm noticing when I load the workflow in is that it initially created an unconnected duplicate of the load image node, and the Load Image (depth) node has the correct file path, but the image itself is not actually loaded into the node.
Unconnected load image node is normal. Can you try to run it within the browser?
That's what I'm doing. The connected node has the image path in it, but not loaded in the node initially. Attempting to run it gives the same error. Once I actually load the image into that node, everything seems to work fine.
SS included to flesh out what I mean here.
I see.
Can you first extend the load image node so the full path is visible, then take a reference screenshot, and then try to manually point it to the same image via the choose file to upload button and then compare if the paths look the same?
Sort of. I can't copy it directly from the node, but I can just copy the "invalid" address from the comfyui logs and paste that in. If I do that, it works and loads.
Can you share the "broken" prompt.json file?
That's puzzling. I tried to replicate your setup and made the same path. The json looks exactly the same, except for timestamp of course.
Is your ComfyUI up to date?
Just noticed this in the console output:
view:1
GET http://127.0.0.1:8671/api/view?type=input&filename=depth_map00001.png&subfolder=E%3A%2FArt%2FStablegen%2FScene%2F2025-05-19T10-33-15%2Fcontrolnet%2Fdepth&rand=0.24193900861708262 404 (Not Found)
I do have the latest comfyui. But I also have a lot of nodes set up -- I'll try a fresh comfy install just for this.
But thanks for the assist, this looks supremely promising.
I guess it must be something you modified with your install. A clean install is definitely worth a try.