Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to get the VQD for query "X" #4

Closed
FrostMiKu opened this issue Jul 18, 2023 · 3 comments
Closed

Failed to get the VQD for query "X" #4

FrostMiKu opened this issue Jul 18, 2023 · 3 comments

Comments

@FrostMiKu
Copy link

描述问题
启用联网查找后出现 Failed to get the VQD for query "啊对对对对" 错误
Snazzah/duck-duck-scrape/issues/119
有过相关BUG报告,但似乎已经修复,我检查过package.json 确实也是 2.2.4以上,但仍存在该问题。

如何复现
启用联网查找

截图

chat-chat-1  | [Tools]  Error: Failed to get the VQD for query "jobs是谁?".
chat-chat-1  |     at getVQD (/app/.next/server/chunks/2180.js:1159:15)
chat-chat-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
chat-chat-1  |     at async search (/app/.next/server/chunks/2180.js:325:21)
chat-chat-1  |     at async handle (/app/.next/server/app/api/tools/ddg/route.js:350:31)
chat-chat-1  |     at async /app/.next/server/chunks/2180.js:16459:37

一些必要的信息

  • 版本:main分支
  • 部署方式:docker
@Hk-Gosuto
Copy link
Owner

描述问题 启用联网查找后出现 Failed to get the VQD for query "啊对对对对" 错误 Snazzah/duck-duck-scrape/issues/119 有过相关BUG报告,但似乎已经修复,我检查过package.json 确实也是 2.2.4以上,但仍存在该问题。

如何复现 启用联网查找

截图

chat-chat-1  | [Tools]  Error: Failed to get the VQD for query "jobs是谁?".
chat-chat-1  |     at getVQD (/app/.next/server/chunks/2180.js:1159:15)
chat-chat-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
chat-chat-1  |     at async search (/app/.next/server/chunks/2180.js:325:21)
chat-chat-1  |     at async handle (/app/.next/server/app/api/tools/ddg/route.js:350:31)
chat-chat-1  |     at async /app/.next/server/chunks/2180.js:16459:37

一些必要的信息

  • 版本:main分支
  • 部署方式:docker

试了一下当前的最新镜像,并没有复现该问题。
有可能是网络问题导致,请尝试配置代理 PROXY_URL

docker run --rm -it -p 3000:3000 -e OPENAI_API_KEY="sk-xxxx" -e PROXY_URL="http://127.0.0.1:7890" gosuto/chatgpt-next-web

@mingyue0094
Copy link

"Error: Failed to get the VQD for query "2023马斯克的活动。"."


同样的代理, 用 https://github.com/binjie09/duckduckgo-api.git docker 部署的ddg 就可以正常用。

使用 v2.9.1 https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain/tree/377a50e2a6bf3a3a51e76ae0b0805d914ac741dd

docker 部署 hatGPT-Next-Web-LangChain 设置代理。 开启联网搜索 , 就提示 "Error: Failed to get the VQD for query ...

--- 这联网搜索太难了

@mingyue0094
Copy link

"Error: Failed to get the VQD for query "2023马斯克的活动。"."

同样的代理, 用 https://github.com/binjie09/duckduckgo-api.git docker 部署的ddg 就可以正常用。

使用 v2.9.1 https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain/tree/377a50e2a6bf3a3a51e76ae0b0805d914ac741dd

docker 部署 hatGPT-Next-Web-LangChain 设置代理。 开启联网搜索 , 就提示 "Error: Failed to get the VQD for query ...

--- 这联网搜索太难了

最终,没解决直接用内置的ddg 这个方式,完成联网搜索。在最后,通过中转搜索的请求,处理了此问题。
#25 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants