Skip to content

bug #9630

Description

@mjy1113451

2026-08-11 19:30:08.002] [Core]
[ERRO]
[v4.27.2] [respond.stage:316]: Failed to send the message chain: chain = MessageChain(chain=[Reply(type=<ComponentType.Reply: 'Reply'>, id='618990499', chain=[], sender_id=0, sender_nickname='', time=0, message_str='', text='', qq=0, seq=0), Image(type=<ComponentType.Image: 'Image'>, file='base64://<17340 chars>', url='', path='')], use_t2i_=None, use_markdown_=None, type=None), error = WebSocket API call timeout
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocqhttp/api_impl.py", line 104, in fetch
return await asyncio.wait_for(future, timeout_sec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
async with timeouts.timeout(timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in aexit
raise TimeoutError from exc_val
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/AstrBot/astrbot/core/pipeline/respond/stage.py", line 314, in process
await event.send(chain)
File "/AstrBot/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py", line 190, in send
await self.send_message(
File "/AstrBot/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py", line 152, in send_message
await cls._dispatch_send(bot, event, is_group, session_id, ret)
File "/AstrBot/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py", line 107, in _dispatch_send
await bot.send_group_msg(
File "/usr/local/lib/python3.12/site-packages/aiocqhttp/init.py", line 236, in call_action
return await self._api.call_action(action=action, **params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocqhttp/api_impl.py", line 178, in call_action
result = await self._wsr_api.call_action(action, **params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocqhttp/api_impl.py", line 153, in call_action
return _handle_api_result(await
^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocqhttp/api_impl.py", line 108, in fetch
raise NetworkError('WebSocket API call timeout')
aiocqhttp.exceptions.NetworkError: WebSocket API call timeout
[2026-08-11 19:30:08.008] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAfterMessageSentEvent) -> astrbot_plugin_recall_cancel - after_message_sent
[2026-08-11 19:30:08.009] [Plug] [DBUG] [astrbot_plugin_recall_cancel.main:966]: [RecallCancel] 消息已发送,清理记录 | 消息ID: 618990499
[2026-08-11 19:30:08.009] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAfterMessageSentEvent) -> astrbot_plugin_rg2 - _on_message_sent
[2026-08-11 19:30:08.009] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAfterMessageSentEvent) -> astrbot_plugin_proactive_chat - on_after_message_sent
[2026-08-11 19:30:08.009] [astrbot_plugin_proactive_chat] [DBUG] [core.message_events:310]: [主动消息] 群聊 1101268823 没有待取消的调度任务喵: 'No job by the id of default:GroupMessage:1101268823 was found'
[2026-08-11 19:30:08.009] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAfterMessageSentEvent) -> spectrecore - after_message_sent
[2026-08-11 19:30:08.031] [Plug] [DBUG] [utils.history_storage:370]: 获取的绝对路径:/AstrBot/data/temp/media_image_20260811193008020_dac5.png
[2026-08-11 19:30:08.032] [Plug] [DBUG] [utils.history_storage:401]: 成功将图片保存为持久化文件: /AstrBot/data/chat_history/images/c2b0a5bb162d4d478ed278f2f0b5e852.png
[2026-08-11 19:30:08.046] [Plug] [DBUG] [astrbot_plugin_spectrecore.main:72]: 已保存bot回复消息到历史记录
[2026-08-11 19:30:08.047] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAfterMessageSentEvent) -> input_state_by_napcat - after_message_sent
[2026-08-11 19:30:08.047] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAfterMessageSentEvent) -> meme_manager - after_message_sent
[2026-08-11 19:30:08.047] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAfterMessageSentEvent) -> astrbot - after_message_sent
[2026-08-11 19:30:08.047] [Core] [DBUG] [pipeline.context_utils:98]: hook(OnAft

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions