@cssxsh
https://github.com/cssxsh/fix-protocol-version/issues/19#issuecomment-1585900334
使用这里提供的方法解决了protocol sync ANDROID_PAD
的问题,现在是8.8.88.7083
了,非常感谢
kuttakke 发布的帖子
-
RE: 协议问题汇报
-
RE: 协议问题汇报
@cssxsh
完整日志20:34:05 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8
20:34:05 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.7 (arch: 64)
20:34:05 [INFO] https://github.com/iTXTech/mirai-console-loader
20:34:05 [INFO] This program is licensed under GNU AGPL v3
20:34:24 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏
如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
`- 如 Unsupported image type for ExternalResource *
` considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose
常用资源整合
`- https://mirai.mamoe.net/topic/653
MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。
20:34:24 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0-RC
20:34:24 [WARN] Package "net.mamoe:mirai-console" has newer version "2.15.0-M1"
20:34:24 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0-RC
20:34:24 [WARN] Package "net.mamoe:mirai-console-terminal" has newer version "2.15.0-M1"
20:34:24 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0-RC
20:34:25 [WARN] Package "net.mamoe:mirai-core-all" has newer version "2.15.0-M1"
20:34:25 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1
20:34:25 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1
20:34:25 [INFO] Verifying "xyz.cssxsh.mirai:mirai-device-generator" v1.2.0
20:34:25 [WARN] Package "xyz.cssxsh.mirai:mirai-device-generator" has newer version "1.1.3"
20:34:25 [WARN] Run ./mcl -u to update packages.
2023-06-21 20:34:26 I/main: Starting mirai-console...
2023-06-21 20:34:26 I/main:
=================================[ Mirai console 2.15.0-RC ]==================================
| \ / \ \ | / \ | \
| ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______
| ▓▓▓\ / ▓▓▓ / \ | | \ ▓▓ \▓▓/ | \ / / | ▓▓/ \
| ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
| ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \
\▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓
2023-06-21 20:34:26 I/main: Backend: version 2.15.0-RC, built on 2023-06-20 22:34:50.
2023-06-21 20:34:26 I/main: Frontend Terminal: version 2.15.0-RC, provided by Mamoe Technologies
2023-06-21 20:34:26 I/main: Welcome to visit https://mirai.mamoe.net/
2023-06-21 20:34:27 I/plugin: Successfully loaded plugin mirai-device-generator v1.2.0
2023-06-21 20:34:27 I/fix-protocol-version: 协议版本检查更新...
2023-06-21 20:34:27 I/fix-protocol-version: 注册服务...
2023-06-21 20:34:27 I/plugin: Successfully loaded plugin fix-protocol-version v1.7.2
2023-06-21 20:34:27 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1
2023-06-21 20:34:27 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
2023-06-21 20:34:27 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2023-06-21 20:34:27 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
2023-06-21 20:34:27 I/Mirai HTTP API: ********************************************************
2023-06-21 20:34:27 I/MahKtorAdapter[http,ws]: Autoreload is disabled because the development mode is off.
2023-06-21 20:34:27 I/MahKtorAdapter[http,ws]: Application started in 0.14 seconds.
2023-06-21 20:34:27 I/MahKtorAdapter[http,ws]: Responding at http://0.0.0.0:****
2023-06-21 20:34:27 I/http adapter: >>> [http adapter] is listening at http://0.0.0.0:****
2023-06-21 20:34:27 I/ws adapter: >>> [ws adapter] is listening at ws://0.0.0.0:****
2023-06-21 20:34:27 I/Mirai HTTP API: Http api server is running with verifyKey: ************
2023-06-21 20:34:27 I/Mirai HTTP API: adaptors: [http,ws]
2023-06-21 20:34:27 I/Mirai HTTP API: ********************************************************
2023-06-21 20:34:27 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
2023-06-21 20:34:27 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2023-06-21 20:34:27 I/main: 4 plugin(s) enabled.
2023-06-21 20:34:27 I/main: Auto-login 1701482626, protocol: ANDROID_PAD, heartbeatStrategy: STAT_HB
2023-06-21 20:34:28 I/TLV544Provider: t544 command: 810_9
2023-06-21 20:34:29 E/main: 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:262) 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(1701482626), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:489) 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(1701482626), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=)]
2023-06-21 20:34:29 V/Bot.1701482626: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Failure@28f05b0c
2023-06-21 20:34:29 I/Bot.1701482626: Bot cancelled: Bot closed
2023-06-21 20:34:29 I/Bot.1701482626: device.json 可能已经被拉黑, 将重新生成,请稍后重新尝试手动重新登陆
2023-06-21 20:34:29 I/main: mirai-console started successfully.
protocol sync ANDROID_PAD
ANDROID_PAD 8.8.88.7083 2022-03-23T11:01:55+08:00
exit
Stopping mirai-console
mirai-console stopped successfully.
然后重新运行,协议还是一样的
ANDROID_PAD 8.9.58.11170 2023-05-19T11:35+08:00
-
RE: 协议问题汇报
@cssxsh 我尝试了在报错之后输入
protocol sync ANDROID_PAD
,显示了> protocol sync ANDROID_PAD ANDROID_PAD 8.8.88.7083 2022-03-23T11:01:55+08:00
但是下次重启还是
ANDROID_PAD 8.9.58.11170 2023-05-19T11:35+08:00
我是缺少了什么步骤吗?
-
RE: 协议问题汇报
1.mirai 版本
2023-06-21 19:54:03 I/main: =================================[ Mirai console 2.15.0-RC ]================================== __ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓ 2023-06-21 19:54:03 I/main: Backend: version 2.15.0-RC, built on 2023-06-20 22:34:50. 2023-06-21 19:54:03 I/main: Frontend Terminal: version 2.15.0-RC, provided by Mamoe Technologies
2.协议版本信息
2023-06-21 19:54:05 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.登录方式及使用的协议
protocol: ANDROID_PAD, password
4.问题Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(********), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=)]
用了1.2的
mirai-device-generator
-
如何在MCL上使用snapshots版本?
https://github.com/mamoe/mirai/issues/2552#issuecomment-1459917906
在这里知道了有个叫snapshots的东西,由于家里网络不稳定问题很需要那个修复了重连问题的版本