Harry-Jing / nonebot-plugin-bing-chat

一个可以使用新版Bing进行聊天的NoneBot插件
GNU General Public License v3.0
170 stars 13 forks source link

突然出现异常,无法进行回复 #38

Closed ability66 closed 1 year ago

ability66 commented 1 year ago

可以在new_bing里面对话但是通过qq不行 03-20 15:02:23 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_bing_chat.common.utils) failed. Traceback (most recent call last): File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\EdgeGPT.py", line 212, in init raise NotAllowedToAccess(self.struct["result"]["message"]) EdgeGPT.NotAllowedToAccess: Sorry, you need to login first to access this service.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "", line 17, in File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot__init__.py", line 273, in run get_driver().run(*args, *kwargs) File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run uvicorn.run( File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\uvicorn\main.py", line 569, in run server.run() File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\uvicorn\server.py", line 60, in run return asyncio.run(self.serve(sockets=sockets)) File "D:\Anaconda\envs\py3-11-0\Lib\asyncio\runners.py", line 190, in run return runner.run(main) File "D:\Anaconda\envs\py3-11-0\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) File "D:\Anaconda\envs\py3-11-0\Lib\asyncio\base_events.py", line 637, in run_until_complete self.run_forever() File "D:\Anaconda\envs\py3-11-0\Lib\asyncio\windows_events.py", line 321, in run_forever super().run_forever() File "D:\Anaconda\envs\py3-11-0\Lib\asyncio\base_events.py", line 604, in run_forever self._run_once() File "D:\Anaconda\envs\py3-11-0\Lib\asyncio\base_events.py", line 1909, in _run_once handle._run() File "D:\Anaconda\envs\py3-11-0\Lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, self._args) File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot\message.py", line 141, in _check_matcher await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)

File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot\message.py", line 187, in _run_matcher await matcher.run(bot, event, state, stack, dependency_cache) File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 732, in run await self.simple_run(bot, event, state, stack, dependency_cache) File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 707, in simple_run await handler( File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot\dependencies__init.py", line 108, in call return await cast(Callable[..., Awaitable[R]], self.call)(**values) File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot_plugin_bing_chat\onebotv11\main.py", line 91, in bingchat_command_chat raise exc File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\nonebot_plugin_bing_chat\onebotv11\main.py", line 86, in bingchat_command_chat current_user_data.chatbot = Chatbot( File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\EdgeGPT.py", line 290, in init__ self.chat_hub: ChatHub = ChatHub(Conversation(self.cookiePath, self.cookies)) File "D:\Anaconda\envs\py3-11-0\Lib\site-packages\EdgeGPT.py", line 214, in init raise Exception( Exception: Authentication failed. You have not been accepted into the beta.

Harry-Jing commented 1 year ago

你被Bing ban掉了,你试试可以通过网页访问吗