Fail to Set Up Authorization of SearXNG base url #17463
Unanswered
MinzhiHuang
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I followed the steps at https://docs.dify.ai/guides/tools/tool-configuration/searxng.
I modified the setting file at dify/api/core/tools/provider/builtin/searxng/docker/settings.yml,
formats: [html, csv, json, rss]
formats:
I ran docker run --rm -d -p 8081:8080 -v "${PWD}/api/core/tools/provider/builtin/searxng/docker:/etc/searxng" searxng/searxng at terminal.
( I tired with curl and it worked)
HTTPConnectionPool(host='host.docker.internal', port=8081): Max retries exceeded with url: /?q=SearXNG&format=json&categories=general (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f2a9f93e360>: Failed to resolve 'host.docker.internal' ([Errno -2] Name or service not known)"))
I am not sure why this happened. Any one can help?
Also I noticed that I have two locations where there are settings.yml.
One is at /home/jsops/dify/api/core/tools/provider/builtin/searxng/docker and the other one is at /home/jsops/dify/api/core/tools/provider/builtin/searxng/docker/api/core/tools/provider/builtin/searxng/docker.
For both setiings.yml I edited the file and added -json. Still get this Max retries exceeded with url error.
Anyone can help? Please let me know if there is more detailed needed. Thank you!
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions