You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
07-24 23:55:24 [ERROR] nonebot | QQ Guild | Error while process data from websocket wss://sandbox.api.sgroup.qq.com/websocket. Trying to reconnect...
Traceback (most recent call last):
File "<string>", line 15, in <module>
File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/__init__.py", line 333, in run
get_driver().run(*args, **kwargs)
File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/drivers/none.py", line 70, in run
loop.run_until_complete(self._serve())
File "/usr/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete
self.run_forever()
File "/usr/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
self._run_once()
File "/usr/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
handle._run()
File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
> File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/adapters/qqguild/adapter.py", line 151, in _forward_ws
result = await self._authenticate(bot, ws, shard)
File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/adapters/qqguild/adapter.py", line 251, in _authenticate
assert isinstance(
AssertionError: Received unexpected payload: InvalidSession(opcode=<Opcode.INVALID_SESSION: 9>, d=False)
07-24 23:55:24 [ERROR] nonebot | QQ Guild | Error while setup websocket to wss://sandbox.api.sgroup.qq.com/websocket. Trying to reconnect...
Traceback (most recent call last):
File "<string>", line 15, in <module>
File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/__init__.py", line 333, in run
get_driver().run(*args, **kwargs)
File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/drivers/none.py", line 70, in run
loop.run_until_complete(self._serve())
File "/usr/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete
self.run_forever()
File "/usr/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
self._run_once()
File "/usr/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
handle._run()
File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
> File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/adapters/qqguild/adapter.py", line 180, in _forward_ws
self.bot_disconnect(bot)
File "/mnt/data/project/universal_bot/.venv/lib/python3.11/site-packages/nonebot/internal/adapter/adapter.py", line 70, in bot_disconnect
raise RuntimeError(f"{bot} not found in adapter {self.get_name()}")
RuntimeError: Bot(type='QQ Guild', self_id=删除) not found in adapter QQ Guild
^C07-24 23:55:26 [INFO] nonebot | Shutting down
07-24 23:55:26 [INFO] nonebot | Waiting for application shutdown.
Shutting down process [140750]...
07-24 23:55:26 [INFO] nonebot | Application shutdown complete.
Stopped reloader.
下面是启动报错
文件树
The text was updated successfully, but these errors were encountered: