@cssxsh -RC + 1.8.3 + 8.8.8全了,但还是code = 45。看来方法是没错,运气不好刚好撞上了Tencent搞事。过段时间再说吧
P
Pyswun 发布的帖子
-
RE: 协议问题汇报
- Mirai版本
修改config.json为2.15.0-RC后,报错
20:05:47 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0-RC 20:05:47 [ERROR] "net.mamoe:mirai-console" is corrupted.
因此用回2.15.0-dev-98 + 1.7.1
===============================[ Mirai console 2.15.0-dev-98 ]================================ __ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓ 2023-06-23 20:02:03 I/main: Backend: version 2.15.0-dev-98, built on 2023-06-04 07:47:48. 2023-06-23 20:02:03 I/main: Frontend Terminal: version 2.15.0-M1, provided by Mamoe Technologies 2023-06-23 20:02:03 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-06-23 20:02:05 I/fix-protocol-version: 协议版本检查更新... 2023-06-23 20:02:05 I/fix-protocol-version: 注册服务... 2023-06-23 20:02:05 I/plugin: Successfully loaded plugin fix-protocol-version v1.7.1 2023-06-23 20:02:05 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1 2023-06-23 20:02:05 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.10 2023-06-23 20:02:05 I/plugin: Successfully loaded plugin mirai-device-generator v1.2.0 2023-06-23 20:02:05 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
- 协议信息
登录协议为ANDROID_PAD
2023-06-23 20:02:06 I/main: mirai-console started successfully. > protocol sync ANDROID_PAD ANDROID_PAD 8.8.88.7083 2022-03-23T11:01:55+08:00 > protocol info 当前各协议版本日期: ANDROID_PHONE 8.9.58.11170 2023-05-19T11:35+08:00 ANDROID_PAD 8.8.88.7083 2022-03-23T11:01:55+08:00 ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00 IPAD 8.9.33.614 2021-12-31T11:36:26+08:00 MACOS 6.7.9 1970-01-01T08:00+08:00
- 问题
使用新账号,目前已挂机了2天。
通过账号密码登录,第一次报错
Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(3065781520), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=) ... Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(3065781520), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=)]
因为怀疑是验证时间过长,立马进行了第二次登陆
Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(3065781520), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=) ... Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(3065781520), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=)]
如果2.15.0-RC能解决问题,能否告诉我如何升级呢?
- Mirai版本
-
RE: 协议问题汇报
@cssxsh 用了protocol还是报错code=45
protocol sync ANDROID_PAD ANDROID_PAD 8.8.88.7083 2022-03-23T11:01:55+08:00 2023-06-21 15:22:01 I/TLV544Provider: t544 command: 810_9 Login failed: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. 2023-06-21 15:22:01 E/console: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:242) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(1849216814), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:469) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ... 5 more Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(1849216814), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=)] 2023-06-21 15:22:01 I/Bot.1849216814: Bot cancelled: Bot closed
-
RE: 协议问题汇报
1.版本
===============================[ Mirai console 2.15.0-dev-98 ]================================ _ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ > \▓▓▓▓▓▓ \▓ >▓ \▓▓▓▓▓▓▓ > 2023-06-21 01:21:36 I/main: Backend: version 2.15.0-dev-98, built on 2023-06-04 07:47:48. 2023-06-21 01:21:36 I/main: Frontend Terminal: version 2.15.0-M1, provided by Mamoe Technologies
其他:MCL2.1.2一键安装默认选项
2.协议
2023-06-21 01:21:38 I/plugin: Successfully loaded plugin fix-protocol-version v1.7.1 2023-06-21 01:21:38 I/fix-protocol-version: 当前各协议版本日期: ANDROID_PHONE 8.9.58.11170 2023-05-19T11:35+08:00 ANDROID_PAD 8.9.58.11170 2023-05-19T11:35+08:00 ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00 IPAD 8.9.33.614 2021-12-31T11:36:26+08:00 MACOS 6.7.9 1970-01-01T08:00+08:00
3.登录协议
借助aoki在手机认证后,提取文件,覆盖bot内文件。
Aoki登录协议ANDROID_PAD
Mirai登录协议ANDROID_PAD- 日志
2023-06-21 01:21:39 I/main: 5 plugin(s) enabled. 2023-06-21 01:21:39 I/main: mirai-console started successfully. 2023-06-21 01:21:44 I/TLV544Provider: t544 command: 810_9 2023-06-21 01:21:44 I/Bot.1849216814: Bot cancelled: Bot closed 2023-06-21 01:21:44 E/console: net.mamoe.mirai.utils.channels.IllegalChannelStateException: Consuming(value=null) net.mamoe.mirai.utils.channels.IllegalChannelStateException: Consuming(value=null) at net.mamoe.mirai.utils.channels.CoroutineOnDemandReceiveChannel.expectMore(OnDemandChannelImpl.kt:211) at net.mamoe.mirai.internal.network.auth.AuthControl.actMethodFailed(AuthControl.kt:70) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:276) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$login$1.invokeSuspend(SsoProcessor.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)