更新之前启动mirai都是可以正常自动登录QQ的,但现在需要手动输入“/login xxx xxx”指令才能登录QQ了,是新版有什么变化吗,但我在更新日志里面没有看到有登录QQ相关的修改啊
以下为最新版Mirai自动登录QQ时的报错日志:
2022-08-30 10:21:41 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭. 2022-08-30 10:21:41 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by w indow popup. You can add `mirai.no-desktop` to JVM properties (-Dmirai.no-desktop) to disa ble it. 2022-08-30 10:21:41 I/main: Auto-login 123456789 2022-08-30 10:21:41 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implement ation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... 2022-08-30 10:21:42 I/Bot.123456789: Loaded account secrets from local cache. 2022-08-30 10:21:42 I/Bot.123456789: Saved account secrets to local cache for fast login. 2022-08-30 10:21:52 I/Bot.123456789: Bot cancelled: Bot closed 2022-08-30 10:21:52 E/main: kotlinx.coroutines.TimeoutCancellationException: Timed out wai ting for 5000 ms kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184) at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154) at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.k t:502) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279) at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108) at java.base/java.lang.Thread.run(Unknown Source) 2022-08-30 10:21:52 I/main: mirai-console started successfully.