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

Closed
opened 2026-02-21 17:59:15 -05:00 by yindo · 0 comments
Owner

Originally created by @huangfup on GitHub (May 22, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • 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

Originally created by @huangfup on GitHub (May 22, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [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 <img width="1319" alt="Screenshot 2024-05-22 at 16 35 34" src="https://github.com/langgenius/dify/assets/16588370/3d8b27f6-62c0-4667-a880-a865d8c8144d"> <img width="1522" alt="Screenshot 2024-05-22 at 16 38 24" src="https://github.com/langgenius/dify/assets/16588370/2ac4b2ac-f1b6-4d53-afa8-6ddcd7cc3bbe"> ### ✔️ 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
yindo added the 🐞 bug label 2026-02-21 17:59:15 -05:00
yindo closed this issue 2026-02-21 17:59:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#3557