[BUG]发送通知时报错
lyyqqw opened this issue · 2 comments
系统:Ubuntu
报错:
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/usr/lib/python3.10/multiprocessing/spawn.py", line 129, in _main
return self._bootstrap(parent_sentinel)
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_reboot/reloader.py", line 27, in _run
_nb_run(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/nonebot/init.py", line 309, in run
get_driver().run(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/nonebot/drivers/fastapi.py", line 198, in run
uvicorn.run(
File "/usr/local/lib/python3.10/dist-packages/uvicorn/main.py", line 578, in run
server.run()
File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/dist-packages/nonebot/message.py", line 141, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
File "/usr/local/lib/python3.10/dist-packages/nonebot/message.py", line 187, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/matcher/matcher.py", line 753, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/matcher/matcher.py", line 728, in simple_run
await handler(
File "/usr/local/lib/python3.10/dist-packages/nonebot/dependencies/init.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_send/notice.py", line 15, in notice_receive
await bot.call_api('send_group_msg', **{
File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/adapter/bot.py", line 120, in call_api
raise exception
File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/adapter/bot.py", line 98, in call_api
result = await self.adapter._call_api(self, api, **data)
File "/usr/local/lib/python3.10/dist-packages/nonebot/adapters/onebot/v11/adapter.py", line 140, in _call_api
return handle_api_result(await self._result_store.fetch(seq, timeout))
File "/usr/local/lib/python3.10/dist-packages/nonebot/adapters/onebot/v11/utils.py", line 58, in handle_api_result
raise ActionFailed(**result)
nonebot.adapters.onebot.v11.exception.ActionFailed: ActionFailed(data=None, echo='22', message='send group message failed: blocked by server', msg='SEND_MSG_API_ERROR', retcode=100, status='failed', wording='send group message failed: blocked by server')
账号风控,自行解决