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

【错误回报】bilireq报错刷屏 #441

Open
QwindF opened this issue Jun 19, 2024 · 0 comments
Open

【错误回报】bilireq报错刷屏 #441

QwindF opened this issue Jun 19, 2024 · 0 comments

Comments

@QwindF
Copy link

QwindF commented Jun 19, 2024

运行环境

windows11

HarukaBot 版本

1.5.2

go-cqhttp 版本

LLOneBot v3.26.6

错误描述

启动失败

报错日志(如果有)

06-19 23:57:09 [SUCCESS] nonebot_plugin_tortoise_orm | 数据库: default 连接成功 URL: sqlite:///C:\Users\wind-\AppData\Local\nonebot2\db.sqlite3
06-19 23:57:09 [SUCCESS] nonebot_plugin_tortoise_orm | 数据库: learning_chat 连接成功 URL: sqlite://data/learning_chat/learning_chat.db
06-19 23:57:11 [INFO] uvicorn | Application startup complete.
06-19 23:57:11 [INFO] uvicorn | Uvicorn running on http://127.0.0.1:4080 (Press CTRL+C to quit)
06-19 23:57:12 [ERROR] apscheduler | Job "dy_sched (trigger: date[2024-06-19 23:57:12 CST], next run at: 2024-06-19 23:57:12 CST)" raised an exception
Traceback (most recent call last):
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\utils\__init__.py", line 48, in wrapper
    result = await func(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\dynamic\__init__.py", line 26, in grpc_get_user_dynamics
    return await stub.DynSpace(req, **kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\grpc\aio\_call.py", line 306, in __await__
    raise _create_rpc_error(
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "-352"
	debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"-352", grpc_status:2, created_time:"2024-06-19T15:57:12.8376337+00:00"}"
>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\BOT\CirnoBot\bot.py", line 28, in <module>
    nonebot.run()
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\nonebot\__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 186, in run
    uvicorn.run(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\uvicorn\main.py", line 569, in run
    server.run()
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\uvicorn\server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "C:\Python311\Lib\asyncio\runners.py", line 190, in run
    return runner.run(main)
  File "C:\Python311\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
  File "C:\Python311\Lib\asyncio\base_events.py", line 640, in run_until_complete
    self.run_forever()
  File "C:\Python311\Lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()
  File "C:\Python311\Lib\asyncio\base_events.py", line 607, in run_forever
    self._run_once()
  File "C:\Python311\Lib\asyncio\base_events.py", line 1922, in _run_once
    handle._run()
  File "C:\Python311\Lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "D:\BOT\CirnoBot\venv\Lib\site-packages\apscheduler\executors\base_py3.py", line 30, in run_coroutine_job
    retval = await job.func(*job.args, **job.kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\haruka_bot\plugins\pusher\dynamic_pusher.py", line 38, in dy_sched
    await grpc_get_user_dynamics(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\utils\__init__.py", line 66, in wrapper
    raise GrpcError(
bilireq.exceptions.GrpcError: 错误码: -352, 信息: -352
06-19 23:57:12 [ERROR] apscheduler | Job "dy_sched (trigger: date[2024-06-19 23:57:12 CST], next run at: 2024-06-19 23:57:12 CST)" raised an exception
Traceback (most recent call last):
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\utils\__init__.py", line 48, in wrapper
    result = await func(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\dynamic\__init__.py", line 26, in grpc_get_user_dynamics
    return await stub.DynSpace(req, **kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\grpc\aio\_call.py", line 306, in __await__
    raise _create_rpc_error(
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "-352"
	debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"-352", grpc_status:2, created_time:"2024-06-19T15:57:12.9689438+00:00"}"
>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\BOT\CirnoBot\bot.py", line 28, in <module>
    nonebot.run()
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\nonebot\__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 186, in run
    uvicorn.run(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\uvicorn\main.py", line 569, in run
    server.run()
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\uvicorn\server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "C:\Python311\Lib\asyncio\runners.py", line 190, in run
    return runner.run(main)
  File "C:\Python311\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
  File "C:\Python311\Lib\asyncio\base_events.py", line 640, in run_until_complete
    self.run_forever()
  File "C:\Python311\Lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()
  File "C:\Python311\Lib\asyncio\base_events.py", line 607, in run_forever
    self._run_once()
  File "C:\Python311\Lib\asyncio\base_events.py", line 1922, in _run_once
    handle._run()
  File "C:\Python311\Lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "D:\BOT\CirnoBot\venv\Lib\site-packages\apscheduler\executors\base_py3.py", line 30, in run_coroutine_job
    retval = await job.func(*job.args, **job.kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\haruka_bot\plugins\pusher\dynamic_pusher.py", line 38, in dy_sched
    await grpc_get_user_dynamics(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\utils\__init__.py", line 66, in wrapper
    raise GrpcError(
bilireq.exceptions.GrpcError: 错误码: -352, 信息: -352
06-19 23:57:13 [ERROR] apscheduler | Job "dy_sched (trigger: date[2024-06-19 23:57:12 CST], next run at: 2024-06-19 23:57:12 CST)" raised an exception
Traceback (most recent call last):
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\utils\__init__.py", line 48, in wrapper
    result = await func(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\dynamic\__init__.py", line 26, in grpc_get_user_dynamics
    return await stub.DynSpace(req, **kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\grpc\aio\_call.py", line 306, in __await__
    raise _create_rpc_error(
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "-352"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-06-19T15:57:13.0945717+00:00", grpc_status:2, grpc_message:"-352"}"
>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\BOT\CirnoBot\bot.py", line 28, in <module>
    nonebot.run()
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\nonebot\__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 186, in run
    uvicorn.run(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\uvicorn\main.py", line 569, in run
    server.run()
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\uvicorn\server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "C:\Python311\Lib\asyncio\runners.py", line 190, in run
    return runner.run(main)
  File "C:\Python311\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
  File "C:\Python311\Lib\asyncio\base_events.py", line 640, in run_until_complete
    self.run_forever()
  File "C:\Python311\Lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()
  File "C:\Python311\Lib\asyncio\base_events.py", line 607, in run_forever
    self._run_once()
  File "C:\Python311\Lib\asyncio\base_events.py", line 1922, in _run_once
    handle._run()
  File "C:\Python311\Lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "D:\BOT\CirnoBot\venv\Lib\site-packages\apscheduler\executors\base_py3.py", line 30, in run_coroutine_job
    retval = await job.func(*job.args, **job.kwargs)
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\haruka_bot\plugins\pusher\dynamic_pusher.py", line 38, in dy_sched
    await grpc_get_user_dynamics(
  File "D:\BOT\CirnoBot\venv\Lib\site-packages\bilireq\grpc\utils\__init__.py", line 66, in wrapper
    raise GrpcError(
bilireq.exceptions.GrpcError: 错误码: -352, 信息: -352
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

1 participant