... Caused by: java.lang.IllegalArgumentException: Password length must be at most 16.
at net.mamoe.mirai.internal.BotAccount.<init>(BotAccount.kt:37)
at net.mamoe.mirai.internal.BotAccount.<init>(BotAccount.kt:32)
at net.mamoe.mirai.internal.BotFactoryImpl.newBot(BotFactory.kt:34)
at net.mamoe.mirai.BotFactory$INSTANCE.newBot(BotFactory.kt:115)
at love.forte.simbot.component.mirai.MiraiBotVerifier.verity(MiraiBotVerifier.kt:78)
... 10 more
之前我使用的 bot 账号密码 20 位左右,是可以登录的。但是升级了后登录就不行了,抛出异常:
但实际上使用 QQ 界面是可以登陆这个 bot 账号的,说明并非历史上所有的密码长度皆为如此。
版本
1.3.0
simbot,2.0.6-BETA.2
补充信息
这个问题导致我升级 mirai 后登不上 QQ,只能改密码。