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

[Bug]: 【无法使用newbing】Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue. #941

Open
river7816 opened this issue Jul 10, 2023 · 9 comments

Comments

@river7816
Copy link

Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

Version | 版本

Latest | 最新版

OS | 操作系统

Windows

Describe the bug | 简述

Newbing 请求失败,报错信息如下. 如果是与网络相关的问题,建议更换代理协议(推荐http)或代理节点
Traceback (most recent call last):
File ".\request_llm\bridge_newbingfree.py", line 152, in run
asyncio.run(self.async_run())
File "D:\miniforge3\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\miniforge3\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File ".\request_llm\bridge_newbingfree.py", line 98, in async_run
async for final, response in self.newbing_model.ask_stream(
File ".\request_llm\edge_gpt_free.py", line 676, in ask_stream
async for response in self.chat_hub.ask_stream(
File ".\request_llm\edge_gpt_free.py", line 567, in ask_stream
raise Exception(
Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.
我已经挂上了节点,本地电脑也能使用newbing,但无法调用此模型

Screen Shot | 有帮助的截图

image image

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

No response

@zdevc
Copy link

zdevc commented Jul 10, 2023

Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.
微加了新的验证机制
打开官方聊天窗口,随便说几句,完成人机验证,再回到gpt_academic的窗口对话

@river7816
Copy link
Author

river7816 commented Jul 10, 2023

Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue. 微加了新的验证机制 打开官方聊天窗口,随便说几句,完成人机验证,再回到gpt_academic的窗口对话

image
Traceback (most recent call last):
  File ".\request_llm\bridge_newbingfree.py", line 152, in run
    asyncio.run(self.async_run())
  File "D:\miniforge3\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "D:\miniforge3\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File ".\request_llm\bridge_newbingfree.py", line 98, in async_run
    async for final, response in self.newbing_model.ask_stream(
  File ".\request_llm\edge_gpt_free.py", line 676, in ask_stream
    async for response in self.chat_hub.ask_stream(
  File ".\request_llm\edge_gpt_free.py", line 567, in ask_stream
    raise Exception(
Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.

我已经打开了官方聊天窗口,但是仍然存在User needs to solve CAPTCHA to continue.这个问题

@zdevc
Copy link

zdevc commented Jul 10, 2023

在bing搜索主页的聊天栏聊,然后更新下cookie

@river7816
Copy link
Author

在bing搜索主页的聊天栏聊,然后更新下cookie

image 我已经尝试 1. 在bing搜索主页聊天聊 2. 清除cookie 仍然报错

@river7816 river7816 changed the title [Bug]: 无法使用newbing [Bug]: 【无法使用newbing】Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue. Jul 10, 2023
@zdevc
Copy link

zdevc commented Jul 10, 2023

更新cookie:
把此时可以正常回答问题bing AI网页的当前cookie复制出来,复制到config.py指定位置,重启gpt_academic

@river7816
Copy link
Author

river7816 commented Jul 10, 2023

更新cookie: 把此时可以正常回答问题bing AI网页的当前cookie复制出来,复制到config.py指定位置,重启gpt_academic

image 1. 将cookies导出为JSON格式 image 2. 粘贴到NEWBING_COOKIES下 3. 重启gpt_academic,仍然无法使用

@binary-husky
Copy link
Owner

related issue #931

@shanjilove
Copy link

如果想使用selenium 模仿请求 bing 生成cookie 呢?也需要验证码,有人遇到过吗

@Administor123
Copy link

你好,请问你解决了吗

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

5 participants