<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[掉线重连如果超时不会重试？]]></title><description><![CDATA[<p dir="auto">貌似是重连请求qsign超时然后他就不继续重连了，我手动重新登陆就可以正常用<br />
qsign版本是1.1.6<br />
其中一次报错：</p>
<pre><code>2023-08-04 16:56:53 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-08-04 17:36:54 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-08-04 18:16:57 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-08-04 18:56:58 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-08-04 19:36:58 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-08-04 20:00:45 V/Bot.xxx: Event: BotOfflineEvent.Dropped(bot=Bot(xxx), cause=HeartbeatFailedException: xxx.AliveHeartbeat, recoverable=true, cause=PacketTimeoutException(message=xxx.AliveHeartbeat Scheduler: Timeout receiving action response, cause=kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms), reconnect=true)
2023-08-04 20:00:45 W/Bot.xxx: Connection lost, reconnecting... (HeartbeatFailedException: xxx.AliveHeartbeat, recoverable=true, cause=PacketTimeoutException(message=xxx.AliveHeartbeat Scheduler: Timeout receiving action response, cause=kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms))
2023-08-04 20:00:51 I/UnidbgFetchQsign: Bot(xxx) initialize by http://127.0.0.1:8901
2023-08-04 20:00:51 I/UnidbgFetchQsign: Bot(xxx) initialize complete
2023-08-04 20:01:01 I/UnidbgFetchQsign: Bot(xxx) destroy, Instance destroyed successfully.
2023-08-04 20:01:01 I/Bot.xxx: Bot cancelled: Bot closed
</code></pre>
<p dir="auto">也有时候是这样：</p>
<pre><code>2023-07-31 17:37:17 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-07-31 18:17:18 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-07-31 18:57:21 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-07-31 19:37:22 I/UnidbgFetchQsign: Bot(xxx) request_token, submit success
2023-07-31 20:01:02 V/Bot.xxx: Event: BotOfflineEvent.Dropped(bot=Bot(xxx), cause=NettyChannelException(message=null, cause=java.net.SocketException: Connection reset), reconnect=true)
2023-07-31 20:01:02 W/Bot.xxx: Connection lost, reconnecting... (NettyChannelException(message=null, cause=java.net.SocketException: Connection reset))
2023-07-31 20:01:03 I/UnidbgFetchQsign: Bot(xxx) initialize by http://127.0.0.1:8901
2023-07-31 20:01:03 I/UnidbgFetchQsign: Bot(xxx) initialize complete
2023-07-31 20:01:13 I/UnidbgFetchQsign: Bot(xxx) destroy, Instance destroyed successfully.
2023-07-31 20:01:13 I/Bot.xxx: Bot cancelled: Bot closed
</code></pre>
]]></description><link>https://mirai.mamoe.net/topic/2409/掉线重连如果超时不会重试</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 03:18:09 GMT</lastBuildDate><atom:link href="https://mirai.mamoe.net/topic/2409.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Aug 2023 10:11:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 掉线重连如果超时不会重试？ on Sun, 06 Aug 2023 15:52:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://mirai.mamoe.net/uid/622">@cssxsh</a> 所以这种情况只能手动重连吗，大概每天都会给我踢下线一次，持续很久了，我只能手动去重连，或者可能是什么原因给我踢下线的，貌似没发现其他和我类似的问题，不知道怎么去解决，实在不行就只能写个脚本去定时重启mcl了</p>
]]></description><link>https://mirai.mamoe.net/post/25504</link><guid isPermaLink="true">https://mirai.mamoe.net/post/25504</guid><dc:creator><![CDATA[ArisXu]]></dc:creator><pubDate>Sun, 06 Aug 2023 15:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to 掉线重连如果超时不会重试？ on Sat, 05 Aug 2023 20:38:00 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">BotOfflineEvent.Dropped</p>
</blockquote>
<p dir="auto">你这是被服务器主动踢下线了</p>
]]></description><link>https://mirai.mamoe.net/post/25503</link><guid isPermaLink="true">https://mirai.mamoe.net/post/25503</guid><dc:creator><![CDATA[cssxsh]]></dc:creator><pubDate>Sat, 05 Aug 2023 20:38:00 GMT</pubDate></item></channel></rss>