mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
can not input comfyui url to dify tools #387
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yuuuuuuan on GitHub (Jun 18, 2025).
Self Checks
Dify version
1.4.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
PluginInvokeError: {"args":{},"error_type":"ToolProviderCredentialValidationError","message":"can not connect to ws://127.0.0.1:8188/ws?clientId=test123. Error: [Errno 111] Connection refused"}
when i using desktop comfyui, i can not input url to dify
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@yt-koike commented on GitHub (Jun 19, 2025):
Hello @yuuuuuuan, I'm yt-koike.
Firstly, could you please try to access to http://127.0.0.1:8188 via your web browser. If it doesn't show the ComfyUI's interface, your ComfyUI is not working well.
If so, please try my personal compose.yaml or some other docker images to start a ComfyUI server.
If your browser successfully showed the ComfyUI's interface, please report about it here again.
Thank you :)
@yuuuuuuan commented on GitHub (Jun 20, 2025):
Hi, @yt-koike
I haven’t tried running ComfyUI in Docker yet — for now, I’ve only deployed it on WSL, and it works fine when accessed through my browser.
However, it still doesn’t seem to work correctly with your Dify plugin.
Here is the error message from Dify, along with a screenshot of ComfyUI running.
PluginInvokeError: {"args":{},"error_type":"ToolProviderCredentialValidationError","message":"can not connect to ws://127.0.0.1:8188/ws?clientId=test123. Error: [Errno 111] Connection refused"}
@yt-koike commented on GitHub (Jun 20, 2025):
@yuuuuuuan
OK, then please change the IP address to your PC's, neither "127.0.0.1" nor "localhost".
I presume you are Windows user as you said you use WSL, you can know the IP address by opening cmd.exe and type
ipconfig.This "can not connect to ws" error might be because the Dify's docker container doesn't understand where "127.0.0.1" or "localhost" is so please use more specific address such as "192.168.0.3".
You can check the connection by running HTTP request node on Dify.
I hope it works!
@yuuuuuuan commented on GitHub (Jun 20, 2025):
@yt-koike
Thanks a ton, I was stuck on this for days!