[BUG]催刀人数过多会报错失败,切成两组分别催就可以
Closed this issue · 1 comments
催刀人数过多会报错失败,切成两组分别催就可以。
20:55:48 [INFO] [NETWORK] Send: MessageSvc.PbSendMsg
20:55:48 [INFO] [NETWORK] Recv: MessageSvcPbSendMsg.Response.Failed(resultType=34, errorCode=0, errorMessage=)
20:55:48 [ERROR] [CQHTTPMirai] java.lang.IllegalStateException: Send group message failed: MessageSvcPbSendMsg.Response.Failed(resultType=34, errorCode=0, errorMessage=)
at net.mamoe.mirai.qqandroid.contact.GroupImpl.sendMessageImpl(GroupImpl.kt:369)
at net.mamoe.mirai.qqandroid.contact.GroupImpl$sendMessageImpl$1.invokeSuspend(GroupImpl.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
[2020-08-24 20:55:48,186] 223.106.49.234:2198 POST /yobot/clan/891617019/api/ 1.1 200 46 4766
Task exception was never retrieved
future: <Task finished coro=<UnifiedApi.call_action() done, defined at /home/qqbot/.local/lib/python3.7/site-packages/aiocqhttp/api_impl.py:179> exception=<ActionFailed, retcode=103>>
Traceback (most recent call last):
File "/home/qqbot/.local/lib/python3.7/site-packages/aiocqhttp/api_impl.py", line 186, in call_action
result = await self._wsr_api.call_action(action, **params)
File "/home/qqbot/.local/lib/python3.7/site-packages/aiocqhttp/api_impl.py", line 162, in call_action
await ResultStore.fetch(seq, self._timeout_sec))
File "/home/qqbot/.local/lib/python3.7/site-packages/aiocqhttp/api_impl.py", line 51, in _handle_api_result
raise ActionFailed(retcode=result.get('retcode'))
aiocqhttp.exceptions.ActionFailed: <ActionFailed, retcode=103>
[2020-08-24 20:55:59,156] 223.106.49.234:2204 POST /yobot/clan/891617019/api/ 1.1 200 46 5014
复现
web登录 /yobot/clan/****/progress/
2.选中未完成
3.催刀
4.群聊催刀16人
5.失败
1.拆分16人为8+8
2.分别选中催刀
3.分别成功
版本
cqhttp-mirai-0.2.2.5
mirai-core-1.2.2
mirai-console-0.5.2
第15个人开始报错,第14个人换成任意成员都可以成功
此问题属于 bot 框架的问题,建议反馈至框架