dify icon indicating copy to clipboard operation
dify copied to clipboard

Run into "[Errno -2] Name or service not known" error in HTTP node or Customzed Tool

Open huangfup opened this issue 9 months ago • 8 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.8

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I want to leverage HTTP node or customzed tool to fetch some data fom my local DB, so I developed Flask service for this, and I can access corresponding API via its swagger UI, but when I use it in HTTP node or customzed tool, [Errno -2] Name or service not known always occurs Screenshot 2024-05-22 at 16 35 34 Screenshot 2024-05-22 at 16 38 24

✔️ Expected Behavior

I expect HTTP node or customzed tool to return data via my service so that those can be used in successor node

❌ Actual Behavior

Run into "[Errno -2] Name or service not known" error in HTTP node or Customzed Tool

huangfup avatar May 22 '24 08:05 huangfup