lss233 / chatgpt-mirai-qq-bot

🚀 一键部署!真正的 AI 聊天机器人!支持ChatGPT、文心一言、讯飞星火、Bing、Bard、ChatGLM、POE,多账号,人设调教,虚拟女仆、图片渲染、语音发送 | 支持 QQ、Telegram、Discord、微信 等平台
GNU Affero General Public License v3.0
13.08k stars 1.56k forks source link

[BUG] bing使用不了,并报错200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub') #1050

Open 2521245392 opened 1 year ago

2521245392 commented 1 year ago

提交 issue 前,请先确认:

表现
描述 BUG 的表现情况

运行环境:

复现步骤
描述你是如何触发这个 BUG 的

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

预期行为
描述你认为正常情况下应该看见的情况

截图
相关日志、聊天记录的截图,没有可跳过

其他内容
chatgpt-qq-gocqhttp-1 | [2023-07-13 11:14:03] [INFO]: 收到好友 余温(2521245392) 的消息: 你好 (1913479678) chatgpt-qq-chatgpt-1 | 2023-07-13 03:14:03.462 | DEBUG | platforms.onebotbot::148 - 私聊消息:你好 chatgpt-qq-chatgpt-1 | 2023-07-13 03:14:03.462 | DEBUG | middlewares.concurrentlock:handle_request:40 - [Concurrent] 排队中,前面还有 0 个人! chatgpt-qq-chatgpt-1 | 2023-07-13 03:14:03.462 | DEBUG | middlewares.concurrentlock:handle_request:42 - [Concurrent] 排到了! chatgpt-qq-chatgpt-1 | 2023-07-13 03:14:03.462 | DEBUG | middlewares.timeout:create_timeout_task:55 - [Timeout] 开始计时…… chatgpt-qq-chatgpt-1 | 2023-07-13 03:14:03.734 | ERROR | universal:handle_message:297 - 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub') chatgpt-qq-chatgpt-1 | Traceback (most recent call last): chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/bot.py", line 59, in chatgpt-qq-chatgpt-1 | loop.run_until_complete(asyncio.gather(bots)) chatgpt-qq-chatgpt-1 | │ │ │ │ └ [<Task pending name='Task-2' coro=<start_task() running at /app/platforms/onebot_bot.py:356> wait_for=<_GatheringFuture pendi... chatgpt-qq-chatgpt-1 | │ │ │ └ <function gather at 0x7f7a1cf4c720> chatgpt-qq-chatgpt-1 | │ │ └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/init.py'> chatgpt-qq-chatgpt-1 | │ └ <function BaseEventLoop.run_until_complete at 0x7f7a1cf514e0> chatgpt-qq-chatgpt-1 | └ <_UnixSelectorEventLoop running=True closed=False debug=False> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete chatgpt-qq-chatgpt-1 | self.run_forever() chatgpt-qq-chatgpt-1 | │ └ <function BaseEventLoop.run_forever at 0x7f7a1cf51440> chatgpt-qq-chatgpt-1 | └ <_UnixSelectorEventLoop running=True closed=False debug=False> chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever chatgpt-qq-chatgpt-1 | self._run_once() chatgpt-qq-chatgpt-1 | │ └ <function BaseEventLoop._run_once at 0x7f7a1cf53240> chatgpt-qq-chatgpt-1 | └ <_UnixSelectorEventLoop running=True closed=False debug=False> chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once chatgpt-qq-chatgpt-1 | handle._run() chatgpt-qq-chatgpt-1 | │ └ <function Handle._run at 0x7f7a1d4b4180> chatgpt-qq-chatgpt-1 | └ <Handle Task.task_wakeup()> chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run chatgpt-qq-chatgpt-1 | self._context.run(self._callback, self._args) chatgpt-qq-chatgpt-1 | │ │ │ │ │ └ <member '_args' of 'Handle' objects> chatgpt-qq-chatgpt-1 | │ │ │ │ └ <Handle Task.task_wakeup()> chatgpt-qq-chatgpt-1 | │ │ │ └ <member '_callback' of 'Handle' objects> chatgpt-qq-chatgpt-1 | │ │ └ <Handle Task.task_wakeup()> chatgpt-qq-chatgpt-1 | │ └ <member '_context' of 'Handle' objects> chatgpt-qq-chatgpt-1 | └ <Handle Task.task_wakeup()> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/platforms/onebotbot.py", line 151, in chatgpt-qq-chatgpt-1 | await handle_message( chatgpt-qq-chatgpt-1 | └ <function handle_message at 0x7f79de56d800> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | > File "/app/universal.py", line 271, in handle_message chatgpt-qq-chatgpt-1 | await action(session_id, message.strip(), conversation_context, respond) chatgpt-qq-chatgpt-1 | │ │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ │ └ <method 'strip' of 'str' objects> chatgpt-qq-chatgpt-1 | │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | └ <function handle_message..wrap_request..call at 0x7f79dc3bda80> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/universal.py", line 53, in call chatgpt-qq-chatgpt-1 | await m.handle_request(session_id, message, respond, conversation_context, n) chatgpt-qq-chatgpt-1 | │ │ │ │ │ │ └ <function handle_message..wrap_request..call at 0x7f79dc3bd760> chatgpt-qq-chatgpt-1 | │ │ │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | │ └ <function MiddlewareConcurrentLock.handle_request at 0x7f79de287e20> chatgpt-qq-chatgpt-1 | └ <middlewares.concurrentlock.MiddlewareConcurrentLock object at 0x7f79de2dcb50> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/middlewares/concurrentlock.py", line 43, in handle_request chatgpt-qq-chatgpt-1 | await action(session_id, prompt, conversation_context, respond) chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | └ <function handle_message..wrap_request..call at 0x7f79dc3bd760> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/universal.py", line 53, in call chatgpt-qq-chatgpt-1 | await m.handle_request(session_id, message, respond, conversation_context, n) chatgpt-qq-chatgpt-1 | │ │ │ │ │ │ └ <function handle_message..wrap_request..call at 0x7f79dc3bd1c0> chatgpt-qq-chatgpt-1 | │ │ │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | │ └ <function Middleware.handle_request at 0x7f79de287100> chatgpt-qq-chatgpt-1 | └ <middlewares.baiducloud.MiddlewareBaiduCloud object at 0x7f79de2dcbd0> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/middlewares/middleware.py", line 9, in handle_request chatgpt-qq-chatgpt-1 | await action(session_id, prompt, conversation_context, respond) chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | └ <function handle_message..wrap_request..call at 0x7f79dc3bd1c0> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/universal.py", line 53, in call chatgpt-qq-chatgpt-1 | await m.handle_request(session_id, message, respond, conversation_context, n) chatgpt-qq-chatgpt-1 | │ │ │ │ │ │ └ <function handle_message..wrap_request..call at 0x7f79dc3bca40> chatgpt-qq-chatgpt-1 | │ │ │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | │ └ <function MiddlewareRatelimit.handle_request at 0x7f79de287060> chatgpt-qq-chatgpt-1 | └ <middlewares.ratelimit.MiddlewareRatelimit object at 0x7f79de2dcb90> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/middlewares/ratelimit.py", line 23, in handle_request chatgpt-qq-chatgpt-1 | await action(session_id, prompt, conversation_context, respond) chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | └ <function handle_message..wrap_request..call at 0x7f79dc3bca40> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/universal.py", line 53, in call chatgpt-qq-chatgpt-1 | await m.handle_request(session_id, message, respond, conversation_context, n) chatgpt-qq-chatgpt-1 | │ │ │ │ │ │ └ <function handle_message..request at 0x7f79dc3bd440> chatgpt-qq-chatgpt-1 | │ │ │ │ │ └ None chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function handle_message..respond at 0x7f79dc3bd6c0> chatgpt-qq-chatgpt-1 | │ │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ │ └ 'friend-2521245392' chatgpt-qq-chatgpt-1 | │ └ <function MiddlewareTimeout.handle_request at 0x7f79de287ec0> chatgpt-qq-chatgpt-1 | └ <middlewares.timeout.MiddlewareTimeout object at 0x7f79df5a0910> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/middlewares/timeout.py", line 27, in handle_request chatgpt-qq-chatgpt-1 | await asyncio.wait_for(coro_task, config.response.max_timeout) chatgpt-qq-chatgpt-1 | │ │ │ │ │ └ 600.0 chatgpt-qq-chatgpt-1 | │ │ │ │ └ Response(mode='mixed', buffer_delay=15.0, default_ai='bing', error_format='出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚会话” 来... chatgpt-qq-chatgpt-1 | │ │ │ └ Config(onebot=Onebot(manager_qq=2521245392, reverse_ws_host='0.0.0.0', reverse_ws_port=8554), mirai=None, telegram=None, disc... chatgpt-qq-chatgpt-1 | │ │ └ <Task finished name='Task-652' coro=<handle_message..request() done, defined at /app/universal.py:107> exception=WSSe... chatgpt-qq-chatgpt-1 | │ └ <function wait_for at 0x7f7a1cf4c180> chatgpt-qq-chatgpt-1 | └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/init.py'> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/asyncio/tasks.py", line 479, in wait_for chatgpt-qq-chatgpt-1 | return fut.result() chatgpt-qq-chatgpt-1 | │ └ <method 'result' of '_asyncio.Task' objects> chatgpt-qq-chatgpt-1 | └ <Task finished name='Task-652' coro=<handle_message..request() done, defined at /app/universal.py:107> exception=WSSe... chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/universal.py", line 224, in request chatgpt-qq-chatgpt-1 | async for rendered in task: chatgpt-qq-chatgpt-1 | └ <async_generator object retry..decorator..wrapper at 0x7f79de2895a0> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/utils/retry.py", line 21, in wrapper chatgpt-qq-chatgpt-1 | async for result in func(*args, **kwargs): chatgpt-qq-chatgpt-1 | │ │ └ {'prompt': '你好', 'chain': MessageChain([Plain(text='你好')]), 'name': '余温'} chatgpt-qq-chatgpt-1 | │ └ (<conversation.ConversationContext object at 0x7f79de30d1d0>,) chatgpt-qq-chatgpt-1 | └ <function ConversationContext.ask at 0x7f79de2868e0> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/conversation.py", line 195, in ask chatgpt-qq-chatgpt-1 | async for item in self.adapter.ask(prompt): chatgpt-qq-chatgpt-1 | │ │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ │ └ <function BingAdapter.ask at 0x7f79de52efc0> chatgpt-qq-chatgpt-1 | │ └ <adapter.ms.bing.BingAdapter object at 0x7f79dec06750> chatgpt-qq-chatgpt-1 | └ <conversation.ConversationContext object at 0x7f79de30d1d0> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/adapter/ms/bing.py", line 127, in ask chatgpt-qq-chatgpt-1 | raise e chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/app/adapter/ms/bing.py", line 63, in ask chatgpt-qq-chatgpt-1 | async for final, response in self.bot.ask_stream(prompt=prompt, chatgpt-qq-chatgpt-1 | │ │ │ └ '你好' chatgpt-qq-chatgpt-1 | │ │ └ <function Chatbot.ask_stream at 0x7f79deb211c0> chatgpt-qq-chatgpt-1 | │ └ <EdgeGPT.Chatbot object at 0x7f79de30f790> chatgpt-qq-chatgpt-1 | └ <adapter.ms.bing.BingAdapter object at 0x7f79dec06750> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/site-packages/EdgeGPT.py", line 784, in ask_stream chatgpt-qq-chatgpt-1 | async for response in self.chat_hub.ask_stream( chatgpt-qq-chatgpt-1 | │ │ └ <function _ChatHub.ask_stream at 0x7f79deb20cc0> chatgpt-qq-chatgpt-1 | │ └ <EdgeGPT._ChatHub object at 0x7f79de31ff90> chatgpt-qq-chatgpt-1 | └ <EdgeGPT.Chatbot object at 0x7f79de30f790> chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/site-packages/EdgeGPT.py", line 546, in ask_stream chatgpt-qq-chatgpt-1 | self.wss = await self.session.ws_connect( chatgpt-qq-chatgpt-1 | │ │ │ │ └ <function ClientSession.ws_connect at 0x7f7a1c032a20> chatgpt-qq-chatgpt-1 | │ │ │ └ <aiohttp.client.ClientSession object at 0x7f79dc3ae610> chatgpt-qq-chatgpt-1 | │ │ └ <EdgeGPT._ChatHub object at 0x7f79de31ff90> chatgpt-qq-chatgpt-1 | │ └ None chatgpt-qq-chatgpt-1 | └ <EdgeGPT._ChatHub object at 0x7f79de31ff90> chatgpt-qq-chatgpt-1 | File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 795, in _ws_connect chatgpt-qq-chatgpt-1 | raise WSServerHandshakeError( chatgpt-qq-chatgpt-1 | └ <class 'aiohttp.client_exceptions.WSServerHandshakeError'> chatgpt-qq-chatgpt-1 | chatgpt-qq-chatgpt-1 | aiohttp.client_exceptions.WSServerHandshakeError: 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub') chatgpt-qq-chatgpt-1 | 2023-07-13 03:14:03.739 | DEBUG | platforms.onebot_bot:respond:112 - [OneBot] 尝试发送消息:出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚会话” 来回溯到上一条对话,你上一条说的我就当作没看见。 chatgpt-qq-chatgpt-1 | 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')

gig123554 commented 1 year ago

一样不知道怎么解决

karlcrane2015 commented 1 year ago

一样,今天开始出现此故障,目前无解

bobandbrony commented 1 year ago

一样

2521245392 commented 1 year ago

就没有大佬知道怎么解决吗?

RickWang000 commented 1 year ago

同样的报错: 出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。 原因:200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')

bobandbrony commented 1 year ago

找到解决办法了,需要自建cfworker,https://canxin121.github.io/docs/docs/Spark_GPT.html#_1-newbing和sydney无法使用-自建cf代理-并替换wsslink

yuanshangyujingshierlou commented 1 year ago

找到解决办法了,需要自建cfworker,https://canxin121.github.io/docs/docs/Spark_GPT.html#_1-newbing和sydney无法使用-自建cf代理-并替换wsslink

已解决,谢谢大佬,这是因为ip被拉黑了吗

Demonwls commented 1 year ago

找到解决办法了,需要自建cfworker,https://canxin121.github.io/docs/docs/Spark_GPT.html#_1-newbing和sydney无法使用-自建cf代理-并替换wsslink

已解决,谢谢大佬,这是因为ip被拉黑了吗

我找不到worker.js文件在哪里

yuanshangyujingshierlou commented 1 year ago

找到解决办法了,需要自建cfworker,https://canxin121.github.io/docs/docs/Spark_GPT.html#_1-newbing和sydney无法使用-自建cf代理-并替换wsslink

已解决,谢谢大佬,这是因为ip被拉黑了吗

我找不到worker.js文件在哪里

https://github.com/adams549659584/go-proxy-bingai/blob/master/cloudflare/worker.js

Gho6 commented 1 year ago

找到解决办法了,需要自建cfworker,https://canxin121.github.io/docs/docs/Spark_GPT.html#_1-newbing和sydney无法使用-自建cf代理-并替换wsslink

已解决,谢谢大佬,这是因为ip被拉黑了吗

我找不到worker.js文件在哪里

https://github.com/adams549659584/go-proxy-bingai/blob/master/cloudflare/worker.js

佬,纯小白把chatgpt里的config.cfg的wss:link换了,还显示的是原来的wsslink...是不是还要改其他东西呢?

yomatu commented 1 year ago

按照大佬的方法仍然显示错误200....后面的地址换了仍然无法使用...

你好 200, message='Invalid response status', url=URL('wss://yomatuforbing.xxxxxxxxxxxx.workers.dev/sydney/ChatHub'

gig123554 commented 1 year ago

按照大佬的方法仍然显示错误200....后面的地址换了仍然无法使用...

你好 200, message='Invalid response status', url=URL('wss://yomatuforbing.xxxxxxxxxxxx.workers.dev/sydney/ChatHub'

前两天还好好的,现在又不行了

Demonwls commented 1 year ago

按照大佬的方法仍然显示错误200....后面的地址换了仍然无法使用...

你好 200, message='Invalid response status', url=URL('wss://yomatuforbing.xxxxxxxxxxxx.workers.dev/sydney/ChatHub'

前两天还好好的,现在又不行了 是的,现在又不行了,你找到什么好的解决方法了么?

AthanaD commented 1 year ago

这个方法只能用两~三天然后又不行了

0smium commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

Lxuo commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么

0smium commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么 这是一个bing sydney的身份验证(?) 使用cookie editor在bing.com查看即可 image

Lxuo commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么 这是一个bing sydney的身份验证(?) 使用cookie editor在bing.com查看即可 image

谢谢大佬,我试试去

Lxuo commented 1 year ago

KievRPSSecAuth

大佬,我加上了还是不行,只是申明这个常量,但是不用再其他地方引用他吗

gig123554 commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

谢谢大佬bing好了

0smium commented 1 year ago

KievRPSSecAuth

大佬,我加上了还是不行,只是申明这个常量,但是不用再其他地方引用他吗

哦对 忘附上后续的内容了 自己进cloudflare替换一下 workerfixed.txt

Lxuo commented 1 year ago

KievRPSSecAuth

大佬,我加上了还是不行,只是申明这个常量,但是不用再其他地方引用他吗

哦对 忘附上后续的内容了 自己进cloudflare替换一下 workerfixed.txt

替换了,但是还是同样的报错,不知道是VPN节点的问题还是别的,cookie也更新了。

Lxuo commented 1 year ago

KievRPSSecAuth

大佬,我加上了还是不行,只是申明这个常量,但是不用再其他地方引用他吗

哦对 忘附上后续的内容了 自己进cloudflare替换一下 workerfixed.txt

替换了,但是还是同样的报错,不知道是VPN节点的问题还是别的,cookie也更新了。

已经弄好了,多谢大佬了

a1448125 commented 1 year ago

KievRPSSecAuth

大佬,我加上了还是不行,只是申明这个常量,但是不用再其他地方引用他吗

哦对 忘附上后续的内容了 自己进cloudflare替换一下 workerfixed.txt

替换了,但是还是同样的报错,不知道是VPN节点的问题还是别的,cookie也更新了。

已经弄好了,多谢大佬了

您好,请问您是怎么解决的啊,我目前也替换了worker.js ,添加了KievRPSSecAuth, 替换了gptbot里的ws_link

Lxuo commented 1 year ago

KievRPSSecAuth

大佬,我加上了还是不行,只是申明这个常量,但是不用再其他地方引用他吗

哦对 忘附上后续的内容了 自己进cloudflare替换一下 workerfixed.txt

替换了,但是还是同样的报错,不知道是VPN节点的问题还是别的,cookie也更新了。

已经弄好了,多谢大佬了

大佬怎么解决的

额,你这个问题我也不太清楚,我的账号是有KievRPSSecAuth这个参数的。我就是按照他的步骤,js文件加了代码,然后就重启程序就行了

Anzu0831 commented 1 year ago

找到解决办法了,需要自建cfworker,https://canxin121.github.io/docs/docs/Spark_GPT.html#_1-newbing和sydney无法使用-自建cf代理-并替换wsslink

server rejected WebSocket connection: HTTP 200 是个什么情况?拒绝链接😡

gig123554 commented 1 year ago

为什么我又出现了新的问题。。。。。。。。。

出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。 原因:CaptchaChallenge: User needs to solve CAPTCHA to continue.

第一个去官网随便问个问题过下人机验证,第二个网络问题

33stones commented 1 year ago

为什么我又出现了新的问题。。。。。。。。。 出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。 原因:CaptchaChallenge: User needs to solve CAPTCHA to continue.

第一个去官网随便问个问题过下人机验证,第二个网络问题

好的非常感写

XYTsunny commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么 这是一个bing sydney的身份验证(?) 使用cookie editor在bing.com查看即可 image

请问为什么我的cookie editor没有看到 KievRPSSecAuth的值?

0smium commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么 这是一个bing sydney的身份验证(?) 使用cookie editor在bing.com查看即可 image

请问为什么我的cookie editor没有看到 KievRPSSecAuth的值?

重新登录一遍微软账号 确保加载的是bing.com页面

XYTsunny commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么 这是一个bing sydney的身份验证(?) 使用cookie editor在bing.com查看即可 image

请问为什么我的cookie editor没有看到 KievRPSSecAuth的值?

重新登录一遍微软账号 确保加载的是bing.com页面

行了,有KievRPSSecAuth了,但弄完cloudflare那边之后机器人回复 “出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。 原因:CaptchaChallenge: User needs to solve CAPTCHA to continue.” 这个是什么原因

33stones commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么 这是一个bing sydney的身份验证(?) 使用cookie editor在bing.com查看即可 image

请问为什么我的cookie editor没有看到 KievRPSSecAuth的值?

重新登录一遍微软账号 确保加载的是bing.com页面

行了,有KievRPSSecAuth了,但弄完cloudflare那边之后机器人回复 “出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。 原因:CaptchaChallenge: User needs to solve CAPTCHA to continue.” 这个是什么原因

你需要在bing聊天界面随便问个东西进行人机验证,然后就可以了

XYTsunny commented 1 year ago

在works.js第一行加一个const KievRPSSecAuth ='你的值'就可以了

请教一下这个值是什么 这是一个bing sydney的身份验证(?) 使用cookie editor在bing.com查看即可 image

请问为什么我的cookie editor没有看到 KievRPSSecAuth的值?

重新登录一遍微软账号 确保加载的是bing.com页面

行了,有KievRPSSecAuth了,但弄完cloudflare那边之后机器人回复 “出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。 原因:CaptchaChallenge: User needs to solve CAPTCHA to continue.” 这个是什么原因

你需要在bing聊天界面随便问个东西进行人机验证,然后就可以了

又显示这个:InvalidRequest: Culture is not supported. (Parameter 'name') Chinese (Simplified)-China is an invalid culture identifier.

leadscloud commented 1 year ago

WebSocket error: Error: Unexpected server response: 200 出现这个错误是怎么回事,只要换个 代理就能用。

wss://sydney.bing.com/sydney/ChatHub 换个新代理可以用。 自定义域名 **.worker.dev,无论用不用代理都出现 WebSocket error: Error: Unexpected server response: 200