掉线重连如果超时不会重试?
-
貌似是重连请求qsign超时然后他就不继续重连了,我手动重新登陆就可以正常用
qsign版本是1.1.6
其中一次报错: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
也有时候是这样:
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
-
BotOfflineEvent.Dropped
你这是被服务器主动踢下线了
-
@cssxsh 所以这种情况只能手动重连吗,大概每天都会给我踢下线一次,持续很久了,我只能手动去重连,或者可能是什么原因给我踢下线的,貌似没发现其他和我类似的问题,不知道怎么去解决,实在不行就只能写个脚本去定时重启mcl了