-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
更新到mirai 2.15.0-M1后无法进入登录验证 #2623
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
哈,我其实也意识到了,但我非常不确定这些错误信息和我用来登录的账号有没有关系
|
全部日志:
|
也遇到了这个情况 有什么解决办法吗
|
这是bug,重启一下应该就没问题了 |
重新启动mcl好像还是不行QAQ 请问一下是哪方面原因呢 |
重启了,还是老样子 |
重启了,不行呀 |
跟重启没关系我觉得 |
同上 |
可能修复的 commit |
有编译好的jar吗 |
本 commit 的预览版本号: 2.15.0-dev-65 在 https://github.com/mamoe/mirai/blob/dev/docs/UsingSnapshots.md 查看如何使用预览版本 试试这个 |
依然无法启动,但是stack trace和上一次不同: 2023-04-17 17:10:03 V/Net 1328876289: Validated caches. 2023-04-17 17:10:04 W/Net 1328876289: Network selector received exception, closing bot. (net.mamoe.mirai.internal.network.auth.IllegalProducerStateException: Consuming(value=QRCode)) |
请使用1.8.10再看看 看起来是没切换好 |
|
试试预览版本号: 2.15.0-him188-revise-on-demand-scope-12 |
谢谢,可以登录了 |
问题描述
我的机器人在2周前已经升级到 2.15.0-M1,在阿里云服务器上可以正常弹出登录。但是从昨天开始却不行了,在弹出登录验证之前会被报错中断。
我的登录代码(Kotlin)是这样写的:
bot = BotFactory.newBot(Config.qq, BotAuthorization.byQRCode()) {
protocol = BotConfiguration.MiraiProtocol.MACOS
fileBasedDeviceInfo()
}
bot.login()
报错的前几行是这样的:
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J: Ignoring binding found at [jar:file:/raven-bot/mirai-slf4j-bridge-1.2.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
报错出现于bot.login()执行期间
全部报错信息:https://paste.ubuntu.com/p/F2P5579J4S/
然而奇怪的是,我的代码在Windows上运行虽然也有以上的6行警告,但没有Pastbin里的异常,并且可以正常登录。
我的build.gradle.kts中已经加入
implementation("org.slf4j:slf4j-api:2.0.5")
implementation("net.mamoe:mirai-slf4j-bridge:1.2.0")
implementation("org.apache.logging.log4j:log4j-to-slf4j:2.20.0")
复现
bot = BotFactory.newBot(Config.qq, BotAuthorization.byQRCode()) {
protocol = BotConfiguration.MiraiProtocol.MACOS
fileBasedDeviceInfo()
}
bot.login()
mirai-core 版本
2.15.0-M1
bot-protocol
ANDROID_PAD
其他组件版本
net.mamoe:mirai-core:2.15.0-M1
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10
org.jetbrains.kotlin:kotlin-reflect:1.7.10
com.aliyun:aliyun-java-sdk-core:4.6.3
com.aliyun:aliyun-java-sdk-alidns:3.0.1
org.jsoup:jsoup:1.15.4
org.slf4j:slf4j-api:2.0.5
net.mamoe:mirai-slf4j-bridge:1.2.0
org.apache.logging.log4j:log4j-to-slf4j:2.20.0
系统日志
No response
网络日志
No response
补充信息
No response
The text was updated successfully, but these errors were encountered: