FreeAskInternet icon indicating copy to clipboard operation
FreeAskInternet copied to clipboard

联网搜索报错

Open mt-altman opened this issue 1 year ago • 2 comments

部署方式:render 二进制部署 联网搜索报错:

urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='searxng', port=8080): Max retries exceeded with url: /?q=%3Aall+%21general+%E4%B8%8A%E6%B5%B7%E5%A4%A9%E6%B0%94&format=json (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f0c39c151f0>: Failed to resolve 'searxng' ([Errno -2] Name or service not known)"))

chatgpt搜索结果: 根本原因:Caused by NameResolutionError。错误的根本原因是DNS解析失败——即Python的请求库 urllib3 无法将主机名 searxng 解析为IP地址。错误信息 [Errno -2] Name or service not known 表明无法找到对应的服务或名称

解决:

mt-altman avatar Apr 10 '24 16:04 mt-altman

经常出现没有输出完毕的情况

Somnus1437 avatar Apr 11 '24 02:04 Somnus1437

https://github.com/nashsu/FreeAskInternet/issues/46#issue-2235961461 好像是二进制文件部署,并不会run searxng 服务,但是我不知道怎么转成单镜像

mt-altman avatar Apr 11 '24 03:04 mt-altman