Closed smilecat2788 closed 1 year ago
日志?
这个日志相当的多,你是要控制台输出还是bot的log文件(我带的插件很多),今天因为网络意外下线后自动重新登陆反倒是发了,我自己关闭控制台重启没有反应,是不是手动重启无法触发呢
这个日志相当的多,你是要控制台输出还是bot的log文件(我带的插件很多),今天因为网络意外下线后自动重新登陆反倒是发了,我自己关闭控制台重启没有反应,是不是手动重启无法触发呢
主要看 Event: BotOnlineEvent(bot=Bot(...))
之后的日志
另外,你是不是使用 QRLogin 这个插件进行的登录?
曾经使用过,现在转为那个手机滑块验证的登录,还对接了viov50的签名服务 2023-08-14 19:26:10 V/Bot.483392198: Event: BotOnlineEvent(bot=Bot(483392198)) 2023-08-14 19:26:10 I/Bot.483392198: Bot login successful. 2023-08-14 19:26:10 V/Bot.483392198: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Success@69b436a7 2023-08-14 19:26:10 I/main: mirai-console started successfully.
有可能是风控拦截了
但是吧,因为网络问题断线重登会发,我拔掉网线再插上就会发出来,这是什么玄学bug吗
不知道,你一直没提供有效日志
root@ubuntu:/home/mira# ./mcl -u 22:59:26 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 22:59:26 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.7 (arch: 64) 22:59:26 [INFO] https://github.com/iTXTech/mirai-console-loader 22:59:26 [INFO] This program is licensed under GNU AGPL v3 22:59:28 [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 的插件系统,建议更新。
22:59:28 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0 22:59:29 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0 22:59:29 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0 22:59:30 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 22:59:30 [INFO] Verifying "xyz.cssxsh.mirai:mirai-administrator" v1.4.1 22:59:31 [INFO] Verifying "xyz.cssxsh.mirai:mirai-authenticator" v1.0.7 22:59:31 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1 2023-08-15 22:59:33 I/main: Starting mirai-console... 2023-08-15 22:59:34 I/main:
===================================[ Mirai console 2.15.0 ]===================================
| \ / \ \ | \/ \ | \ | ??\ / ??\?? __ __ \?? ??????\ __ __ | ?? __ | ???\ / ??? \/ \ | | \ ?? \??/ | \ / \/ | ??/ \ | ????\ ???? ?? ??????\ \??????\ ?? ?? | ??????\ ???????\ ??????? ??????\ ?? ??????\ | ??\?? ?? ?? ?? ?? \??/ ?? ?? ?? | ?? | ?? ?? | ??\?? | ?? | ?? ?? ?? ?? | ?? \???| ?? ?? ?? | ??????? ?? ??/ \ ??_/ ?? ?? | ??\??????\ ??__/ ?? ?? ???????? | ?? \? | ?? ?? ?? \?? ?? ??\?? ??\?? ?? ?? | ?? ??\?? ?? ??\?? \ \?? \??\??\?? \???????\?? \?????? \?????? \?? \??\??????? \?????? \?? \???????
2023-08-15 22:59:34 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17. 2023-08-15 22:59:34 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies 2023-08-15 22:59:34 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-08-15 22:59:39 W/JvmPlugin[SimpleTarot-1.0.4.jar]: Linked class com.alibaba.druid.pool.DruidDataSource in aimplementation-1.0.mirai.jar but plugin not depend on it. 2023-08-15 22:59:39 W/JvmPlugin[SimpleTarot-1.0.4.jar]: Class loading logic may change in feature. 2023-08-15 22:59:40 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... 2023-08-15 22:59:40 W/stderr: ERROR DruidDataSource testWhileIdle is true, validationQuery not set 2023-08-15 22:59:42 I/fix-protocol-version: 协议版本检查更新... 2023-08-15 22:59:42 I/fix-protocol-version: ANDROID_PAD load from file:///home/mira/android_pad.json 2023-08-15 22:59:42 I/fix-protocol-version: 注册服务... 2023-08-15 22:59:42 I/fix-protocol-version: 服务配置文件: file:///home/mira/KFCFactory.json 2023-08-15 22:59:42 I/plugin: Successfully loaded plugin fix-protocol-version v1.9.11 2023-08-15 22:59:42 I/plugin: Successfully loaded plugin 草图插件 v1.2.1 2023-08-15 22:59:42 I/plugin: Successfully loaded plugin SteamHelper v1.0.14 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.12 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin MinecraftServerListener v0.1.0 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin PetPet v5.4 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin QQChat2MC v1.0-SNAPSHOT 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin mc2qc v1.0-SNAPSHOT 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin mirai-administrator v1.4.1 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin pixiv插画 v1.7.6 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin Tarot v1.0.4 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin Implementation v1.0 2023-08-15 22:59:43 I/MCPing: 配置文件路径: /home/mira/data/tax.cute.mcpingplugins 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin MCPing v2.1.0 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin Chat Command v0.6.0 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin mirai-skia-plugin v1.3.2 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin mirai-authenticator v1.0.7 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin BiliBili Dynamic v3.2.10 2023-08-15 22:59:43 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-08-15 22:59:44 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-08-15 22:59:44 I/fix-protocol-version: protocol commands: info, load, fetch example: protocol info protocol load ANDROID_PHONE protocol fetch ANDROID_PAD 8.9.63
2023-08-15 22:59:44 I/fix-protocol-version: 当前各登录协议版本日期: ANDROID_PHONE 8.9.58.11170 2023-05-19T11:35+08:00 ANDROID_PAD 8.9.63.11390 2023-05-26T10:46:18+08:00 ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00 IPAD 8.9.50.611 2023-02-16T15:10:14+08:00 MACOS 6.8.2.21241 2022-03-14T11:11:35+08:00
2023-08-15 22:59:44 I/fix-protocol-version: 当前签名服务配置信息: v8.9.58 by kiliokuara/magic-signer-guide from http://127.0.0.1:8888 v8.8.88 by TLV544Provider from
缺少 v8.9.63 配置 2023-08-15 22:59:44 W/草图插件: 您正在使用公共投稿通道,如图片违规次数过多,则机器人 IP 就可能会被封禁。 2023-08-15 22:59:44 W/草图插件: 如果您不希望启用公共投稿,请关闭聊群内投稿权限。 2023-08-15 22:59:44 I/草图插件: 正在检查更新... 2023-08-15 22:59:44 I/MinecraftServerListener: Plugin loaded 2023-08-15 22:59:44 E/MinecraftServerListener: java.lang.NumberFormatException: For input string: "group ID" java.lang.NumberFormatException: For input string: "group ID" at java.base/java.lang.NumberFormatException.forInputString(Unknown Source) at java.base/java.lang.Long.parseLong(Unknown Source) at java.base/java.lang.Long.parseLong(Unknown Source) at withConsole.yu-MCListener-0.1.0.mirai2.jar//com.yu.plugs.PluginMain.onEnable$getCfg(PluginMain.kt:161) at withConsole.yu-MCListener-0.1.0.mirai2.jar//com.yu.plugs.PluginMain.onEnable(PluginMain.kt:173) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:237) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:308) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:39) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:54) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:359) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84)
2023-08-15 22:59:44 I/stdout: Petpet GifMakerThreadPoolSize: 5 2023-08-15 22:59:44 I/stdout: ?(???*)o Petpet 初始化成功,使用 pet 以获取keyList! 2023-08-15 22:59:45 I/stdout: 无法读取 /home/mira/data/xmmt.dituon.petpet/ask/data.json: 2023-08-15 22:59:45 I/stdout: 2023-08-15 22:59:45 I/stdout: kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead at path: $ 2023-08-15 22:59:45 I/stdout: JSON input: 2023-08-15 22:59:45 I/org.quartz.impl.StdSchedulerFactory: Using default implementation for ThreadExecutor 2023-08-15 22:59:45 I/org.quartz.simpl.SimpleThreadPool: Job execution threads will use class loader of thread: DefaultDispatcher-worker-1 2023-08-15 22:59:45 I/org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2023-08-15 22:59:45 I/org.quartz.core.QuartzScheduler: Quartz Scheduler v.2.3.2 created. 2023-08-15 22:59:45 I/org.quartz.simpl.RAMJobStore: RAMJobStore initialized. 2023-08-15 22:59:45 I/org.quartz.core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2023-08-15 22:59:45 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2023-08-15 22:59:45 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 2.3.2 2023-08-15 22:59:45 I/org.quartz.impl.StdSchedulerFactory: Using default implementation for ThreadExecutor 2023-08-15 22:59:45 I/org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2023-08-15 22:59:45 I/org.quartz.core.QuartzScheduler: Quartz Scheduler v.2.3.2 created. 2023-08-15 22:59:45 I/org.quartz.simpl.RAMJobStore: RAMJobStore initialized. 2023-08-15 22:59:45 I/org.quartz.core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'EvolvedGhostMiraiSteamhelperScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 4 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2023-08-15 22:59:45 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'EvolvedGhostMiraiSteamhelperScheduler' initialized from the specified file : '/home/mira/config/com.evolvedghost.mirai.steamhelper.steamhelper/quartz.properties' 2023-08-15 22:59:45 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 2.3.2 2023-08-15 22:59:45 I/org.quartz.core.QuartzScheduler: Scheduler EvolvedGhostMiraiSteamhelperScheduler_$_NON_CLUSTERED started. 2023-08-15 22:59:45 I/SteamHelper: SteamHelper已就绪,数据刷新命令已经发出,会延迟于插件启动,请稍后 2023-08-15 22:59:46 I/stdout: registerFontsToAwt成功: [Aller-Bold.ttf, MiSans-Bold.ttf] 2023-08-15 22:59:46 I/stdout: Petpet 加载完毕 (共 101 素材,随机表列包含 63 素材,已禁用 0) 2023-08-15 22:59:46 I/PetPet:
??????? ???????????????????????? ?????????????????
??????????????????????????????????????????????????
?????????????? ??? ?????????????? ???
??????? ?????? ??? ??????? ?????? ???
??? ???????? ??? ??? ???????? ???
??? ???????? ??? ??? ???????? ??? v5.4
2023-08-15 22:59:46 I/QQChat2MC: QQChat2MC loaded! 2023-08-15 22:59:46 I/QQChat2MC: There are 0 of a max of 32 players online:
2023-08-15 22:59:46 I/mc2qc: mc2qc插件启动完成 2023-08-15 22:59:46 W/stderr: Exception in thread "Thread-6" java.lang.RuntimeException: 无法连接到远程资源: https://raw.githubusercontent.com/Dituon/petpet/main/index.json 2023-08-15 22:59:46 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.plugin.DataUpdater.getUrlText(DataUpdater.java:95) 2023-08-15 22:59:46 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.plugin.DataUpdater.checkUpdate(DataUpdater.java:70) 2023-08-15 22:59:46 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.plugin.DataUpdater.autoUpdate(DataUpdater.java:29) 2023-08-15 22:59:46 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.mirai.MiraiPetpet.lambda$onEnable$0(MiraiPetpet.java:64) 2023-08-15 22:59:46 W/stderr: at java.base/java.lang.Thread.run(Unknown Source) 2023-08-15 22:59:46 I/草图插件: 发现插件更新: v1.2.2 2023-08-15 22:59:46 I/草图插件: 访问 https://github.com/NLR-DevTeam/GrassPictures/releases/latest 下载最新版本. 2023-08-15 22:59:47 I/mirai-administrator: 机器人所有者 2788502859 2023-08-15 22:59:47 I/mirai-administrator: 发送上线通知请使用 /perm add g群号 xyz.cssxsh.mirai.plugin.mirai-administrator:online.include 赋予权限 2023-08-15 22:59:47 I/mirai-administrator: 发送留言评论请使用 /perm add u1234 xyz.cssxsh.mirai.plugin.mirai-administrator:comment.include 赋予权限 2023-08-15 22:59:47 I/mirai-administrator: 定时消息部分功能更新了,请查看最新版文档 2023-08-15 22:59:47 I/mirai-administrator: censor_regex 配置项废除, 改为加载 censor 文件夹中的 txt 文件(不需要重启,会监听文件修改) 2023-08-15 22:59:47 I/mirai-administrator: ComparableService Registered [10]: BackupService: default-backup BlackListService: default-blacklist BotOnlineAction: online ContentCensor: default-censor FriendApprover: default-approver GroupApprover: default-approver MemberApprover: mirai-authenticator, default-approver MessageSourceHandler: TimerService: cleaner, curfew-timer, message-timer, status
2023-08-15 22:59:47 I/Tarot: Plugin loaded
2023-08-15 22:59:48 I/Implementation: 前置插件加载完毕
2023-08-15 22:59:48 I/MCPing: github URL: https://github.com/MX233/Mirai-MCPingPlugin
2023-08-15 22:59:48 I/Mirai HTTP API: ****
2023-08-15 22:59:48 I/reverse-ws adapter: >>> [reverse-ws adapter] is running
2023-08-15 22:59:48 I/Mirai HTTP API: Http api server is running with verifyKey: 1234567890
2023-08-15 22:59:48 I/Mirai HTTP API: adaptors: [reverse-ws]
2023-08-15 22:59:48 I/Mirai HTTP API: ****
2023-08-15 22:59:48 I/mirai-skia-plugin: platform: linux-x64, skia: m110-ad42464-1, skiko: 0.7.58
2023-08-15 22:59:48 I/mirai-skia-plugin: fonts: [FZFangSong-Z02S, FZHei-B01S, Noto Color Emoji, FZShuSong-Z01S, FZKai-Z03S]
2023-08-15 22:59:49 I/BiliBili Dynamic: BiliBili Dynamic Plugin loaded
2023-08-15 22:59:50 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
2023-08-15 22:59:50 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2023-08-15 22:59:50 W/reverse-ws adapter: [reverse-ws] Connection to localhost:4096/ interrupted. Trying reconnect in 5000 ms.
2023-08-15 22:59:50 I/main: 18 plugin(s) enabled.
2023-08-15 22:59:50 I/main: Auto-login 483392198, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB
2023-08-15 22:59:51 W/EncryptService.alert: Encrypt service was loaded: KFCFactory(config=file:///home/mira/KFCFactory.json)
2023-08-15 22:59:51 W/EncryptService.alert: All outgoing message may be leaked by this service.
2023-08-15 22:59:51 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider.
2023-08-15 22:59:51 W/EncryptService.alert: Service details:
2023-08-15 22:59:51 W/EncryptService.alert: - Jvm Class: class xyz.cssxsh.mirai.tool.KFCFactory 2023-08-15 22:59:51 W/EncryptService.alert:
- ClassLoader: JvmPluginClassLoader{fix-protocol-version-1.9.11.mirai2.jar}
2023-08-15 22:59:51 W/EncryptService.alert: - Source: file:/home/mira/plugins/fix-protocol-version-1.9.11.mirai2.jar 2023-08-15 22:59:51 W/EncryptService.alert:
- Protected Domain: ProtectionDomain (file:/home/mira/plugins/fix-protocol-version-1.9.11.mirai2.jar
有一个可能性,启动时的登录还未完成群列表的初始化
Logout 483392198 2023-08-15 23:33:04 V/Bot.483392198: Event: BotOfflineEvent.Active(bot=Bot(483392198), cause=null, reconnect=false) 2023-08-15 23:33:04 I/Bot.483392198: Bot cancelled: Job was cancelled 483392198 已登出 Login 483392198 Ss2788502859 2023-08-15 23:33:24 I/KFCFactory: ANDROID_PHONE(8.9.58) server type: kiliokuara/magic-signer-guide, file:///home/mira/KFCFactory.json 2023-08-15 23:33:24 I/KFCFactory: magic-signer-guide by http://127.0.0.1:8888 about {"main_page":"https://github.com/kiliokuara/magic-signer-guide/issues","server_version":"70107d8e1b4acb747026c95a853523b575e7d98f","server_build_time":1690883369515,"supported_protocol_versions":["8.9.58"]} 2023-08-15 23:33:29 I/Bot.483392198: Loaded account secrets from local cache. 2023-08-15 23:33:29 I/ViVo50: Bot(483392198) initialize by http://127.0.0.1:8888 2023-08-15 23:33:29 I/ViVo50: Session(bot=483392198) opened 2023-08-15 23:34:29 W/ViVo50: Session(bot=483392198) rpc.initialize timeout 60000ms java.util.concurrent.TimeoutException at java.base/java.util.concurrent.CompletableFuture.timedGet(Unknown Source) at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source) at fix-protocol-version-1.9.11.mirai2.jar//xyz.cssxsh.mirai.tool.ViVo50$Session.sendCommand(ViVo50.kt:427) at fix-protocol-version-1.9.11.mirai2.jar//xyz.cssxsh.mirai.tool.ViVo50.initialize(ViVo50.kt:106) at net.mamoe.mirai.internal.network.components.EcdhInitialPublicKeyUpdaterImpl.initializeSsoSecureEcdh(EcdhInitialPublicKeyUpdater.kt:123) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:224) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$login$1.invokeSuspend(SsoProcessor.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) 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)
2023-08-15 23:34:29 I/ViVo50: Bot(483392198) initialize complete 2023-08-15 23:35:09 I/Bot.483392198: Saved account secrets to local cache for fast login. 2023-08-15 23:35:10 I/Bot.483392198: Login successful. 2023-08-15 23:35:10 V/Bot.483392198: Event: BotOnlineEvent(bot=Bot(483392198)) 2023-08-15 23:35:10 I/Bot.483392198: Bot login successful. 请狠狠的看我的动态好吗 (483392198) Login successful 2023-08-15 23:35:12 V/Bot.483392198: Group(579469536) <- 滴滴,你的小可爱已上线,支持的功能可以到https://talebook.ipv6kai.icu:444/d/3-mu-qian-de-gong-neng查看,测试新功能期间可能会频繁发 送此消息,还请见谅 [mirai:atall] 2023-08-15 23:35:21 V/Bot.483392198: [Punishing!Open The Door!(1012911721)] 星空本涩(1162512640) -> [mirai:image:{1E2FE3FB-7AC3-5A1C-A571-B72B97E7F5FC}.gif, width=854, height=854, size=352369, type=GIF, isEmoji=true] 2023-08-15 23:35:53 V/Bot.483392198: Group(480460678) <- 滴滴,你的小可爱已上线,支持的功能可以到https://talebook.ipv6kai.icu:444/d/3-mu-qian-de-gong-neng查看,测试新功能期间可能会频繁发 送此消息,还请见谅 [mirai:atall] 2023-08-15 23:35:58 V/Bot.483392198: [Punishing!Open The Door!(1012911721)] 小公主阿舔喵(2788502859) -> 爽 2023-08-15 23:36:06 V/Bot.483392198: [Punishing!Open The Door!(1012911721)] 小公主阿舔喵(2788502859) -> 再来点冰 2023-08-15 23:36:08 V/Bot.483392198: Group(805562274) <- 滴滴,你的小可爱已上线,支持的功能可以到https://talebook.ipv6kai.icu:444/d/3-mu-qian-de-gong-neng查看,测试新功能期间可能会频繁发 送此消息,还请见谅 [mirai:atall] 2023-08-15 23:36:21 V/Bot.483392198: Group(201990767) <- 滴滴,你的小可爱已上线,支持的功能可以到https://talebook.ipv6kai.icu:444/d/3-mu-qian-de-gong-neng查看,测试新功能期间可能会频繁发 送此消息,还请见谅 [mirai:atall] 2023-08-15 23:36:34 V/Bot.483392198: Group(1012911721) <- 滴滴,你的小可爱已上线,支持的功能可以到https://talebook.ipv6kai.icu:444/d/3-mu-qian-de-gong-neng查看,测试新功能期间可能会频繁发送此消息,还请见谅 [mirai:atall]
登出账号重新登录会触发,但是启动mira就不会触发
root@ubuntu:/home/mira# ./mcl 09:13:05 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 09:13:05 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.7 (arch: 64) 09:13:05 [INFO] https://github.com/iTXTech/mirai-console-loader 09:13:05 [INFO] This program is licensed under GNU AGPL v3 09:13:09 [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 的插件系统,建议更新。
09:13:09 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0 09:13:10 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0 09:13:11 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0 09:13:11 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 09:13:12 [INFO] Verifying "xyz.cssxsh.mirai:mirai-administrator" v1.4.2 09:13:12 [INFO] Verifying "xyz.cssxsh.mirai:mirai-authenticator" v1.0.7 09:13:12 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1 2023-08-16 09:13:15 I/main: Starting mirai-console... 2023-08-16 09:13:15 I/main:
===================================[ Mirai console 2.15.0 ]===================================
| \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ __ __ \▓▓ ▓▓▓▓▓▓\ __ __ | ▓▓ __ | ▓▓▓\ / ▓▓▓ \/ \ | | \ ▓▓ \▓▓/ | \ / \/ | ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓/ \ ▓▓_/ ▓▓ ▓▓ | ▓▓\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓
2023-08-16 09:13:15 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17. 2023-08-16 09:13:15 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies 2023-08-16 09:13:15 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-08-16 09:13:19 W/JvmPlugin[SimpleTarot-1.0.4.jar]: Linked class com.alibaba.druid.pool.DruidDataSource in aimplementation-1.0.mirai.jar but plugin not depend on it. 2023-08-16 09:13:19 W/JvmPlugin[SimpleTarot-1.0.4.jar]: Class loading logic may change in feature. 2023-08-16 09:13:20 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... 2023-08-16 09:13:20 W/stderr: ERROR DruidDataSource testWhileIdle is true, validationQuery not set 2023-08-16 09:13:23 I/fix-protocol-version: 协议版本检查更新... 2023-08-16 09:13:23 I/fix-protocol-version: ANDROID_PAD load from file:///home/mira/android_pad.json 2023-08-16 09:13:23 I/fix-protocol-version: 注册服务... 2023-08-16 09:13:23 I/fix-protocol-version: 服务配置文件: file:///home/mira/KFCFactory.json 2023-08-16 09:13:23 I/plugin: Successfully loaded plugin fix-protocol-version v1.9.11 2023-08-16 09:13:23 I/plugin: Successfully loaded plugin 草图插件 v1.2.1 2023-08-16 09:13:23 I/plugin: Successfully loaded plugin SteamHelper v1.0.14 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.12 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin MinecraftServerListener v0.1.0 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin PetPet v5.4 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin QQChat2MC v1.0-SNAPSHOT 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin mc2qc v1.0-SNAPSHOT 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin pixiv插画 v1.7.6 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin Tarot v1.0.4 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin Implementation v1.0 2023-08-16 09:13:24 I/MCPing: 配置文件路径: /home/mira/data/tax.cute.mcpingplugins 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin MCPing v2.1.0 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin Chat Command v0.6.0 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin mirai-administrator v1.4.2 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin mirai-skia-plugin v1.3.2 2023-08-16 09:13:24 I/plugin: Successfully loaded plugin mirai-authenticator v1.0.7 2023-08-16 09:13:25 I/plugin: Successfully loaded plugin BiliBili Dynamic v3.2.10 2023-08-16 09:13:25 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-08-16 09:13:26 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-08-16 09:13:26 I/fix-protocol-version: protocol commands: info, load, fetch example: protocol info protocol load ANDROID_PHONE protocol fetch ANDROID_PAD 8.9.63
2023-08-16 09:13:26 I/fix-protocol-version: 当前各登录协议版本日期: ANDROID_PHONE 8.9.58.11170 2023-05-19T11:35+08:00 ANDROID_PAD 8.9.63.11390 2023-05-26T10:46:18+08:00 ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00 IPAD 8.9.50.611 2023-02-16T15:10:14+08:00 MACOS 6.8.2.21241 2022-03-14T11:11:35+08:00
2023-08-16 09:13:26 I/fix-protocol-version: 当前签名服务配置信息: v8.9.58 by kiliokuara/magic-signer-guide from http://127.0.0.1:8888 v8.8.88 by TLV544Provider from
缺少 v8.9.63 配置 2023-08-16 09:13:26 W/草图插件: 您正在使用公共投稿通道,如图片违规次数过多,则机器人 IP 就可能会被封禁。 2023-08-16 09:13:26 W/草图插件: 如果您不希望启用公共投稿,请关闭聊群内投稿权限。 2023-08-16 09:13:26 I/草图插件: 正在检查更新... 2023-08-16 09:13:26 I/MinecraftServerListener: Plugin loaded 2023-08-16 09:13:26 E/MinecraftServerListener: java.lang.NumberFormatException: For input string: "group ID" java.lang.NumberFormatException: For input string: "group ID" at java.base/java.lang.NumberFormatException.forInputString(Unknown Source) at java.base/java.lang.Long.parseLong(Unknown Source) at java.base/java.lang.Long.parseLong(Unknown Source) at withConsole.yu-MCListener-0.1.0.mirai2.jar//com.yu.plugs.PluginMain.onEnable$getCfg(PluginMain.kt:161) at withConsole.yu-MCListener-0.1.0.mirai2.jar//com.yu.plugs.PluginMain.onEnable(PluginMain.kt:173) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:237) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:308) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:39) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:54) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:359) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84)
2023-08-16 09:13:26 I/stdout: Petpet GifMakerThreadPoolSize: 5 2023-08-16 09:13:26 I/stdout: ヾ(≧▽≦*)o Petpet 初始化成功,使用 pet 以获取keyList! 2023-08-16 09:13:27 I/stdout: 无法读取 /home/mira/data/xmmt.dituon.petpet/ask/data.json: 2023-08-16 09:13:27 I/stdout: 2023-08-16 09:13:27 I/stdout: kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead at path: $ 2023-08-16 09:13:27 I/stdout: JSON input: 2023-08-16 09:13:27 I/org.quartz.impl.StdSchedulerFactory: Using default implementation for ThreadExecutor 2023-08-16 09:13:27 I/org.quartz.simpl.SimpleThreadPool: Job execution threads will use class loader of thread: DefaultDispatcher-worker-2 2023-08-16 09:13:27 I/org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2023-08-16 09:13:27 I/org.quartz.core.QuartzScheduler: Quartz Scheduler v.2.3.2 created. 2023-08-16 09:13:27 I/org.quartz.simpl.RAMJobStore: RAMJobStore initialized. 2023-08-16 09:13:27 I/org.quartz.core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2023-08-16 09:13:27 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2023-08-16 09:13:27 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 2.3.2 2023-08-16 09:13:27 I/org.quartz.impl.StdSchedulerFactory: Using default implementation for ThreadExecutor 2023-08-16 09:13:27 I/org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2023-08-16 09:13:27 I/org.quartz.core.QuartzScheduler: Quartz Scheduler v.2.3.2 created. 2023-08-16 09:13:27 I/org.quartz.simpl.RAMJobStore: RAMJobStore initialized. 2023-08-16 09:13:27 I/org.quartz.core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'EvolvedGhostMiraiSteamhelperScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 4 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2023-08-16 09:13:27 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'EvolvedGhostMiraiSteamhelperScheduler' initialized from the specified file : '/home/mira/config/com.evolvedghost.mirai.steamhelper.steamhelper/quartz.properties' 2023-08-16 09:13:27 I/org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 2.3.2 2023-08-16 09:13:27 I/org.quartz.core.QuartzScheduler: Scheduler EvolvedGhostMiraiSteamhelperScheduler_$_NON_CLUSTERED started. 2023-08-16 09:13:27 I/SteamHelper: SteamHelper已就绪,数据刷新命令已经发出,会延迟于插件启动,请稍后 2023-08-16 09:13:27 I/草图插件: 发现插件更新: v1.2.2 2023-08-16 09:13:27 I/草图插件: 访问 https://github.com/NLR-DevTeam/GrassPictures/releases/latest 下载最新版本. 2023-08-16 09:13:28 I/stdout: registerFontsToAwt成功: [Aller-Bold.ttf, MiSans-Bold.ttf] 2023-08-16 09:13:28 I/stdout: Petpet 加载完毕 (共 101 素材,随机表列包含 63 素材,已禁用 0) 2023-08-16 09:13:28 I/PetPet:
██████╗ ███████╗████████╗██████╗ ███████╗████████╗
██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔════╝╚══██╔══╝
██████╔╝█████╗ ██║ ██████╔╝█████╗ ██║
██╔═══╝ ██╔══╝ ██║ ██╔═══╝ ██╔══╝ ██║
██║ ███████╗ ██║ ██║ ███████╗ ██║
╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ v5.4
2023-08-16 09:13:28 I/QQChat2MC: QQChat2MC loaded! 2023-08-16 09:13:28 I/QQChat2MC: There are 0 of a max of 32 players online:
2023-08-16 09:13:28 I/mc2qc: mc2qc插件启动完成 2023-08-16 09:13:28 W/stderr: Exception in thread "Thread-6" java.lang.RuntimeException: 无法连接到远程资源: https://raw.githubusercontent.com/Dituon/petpet/main/index.json 2023-08-16 09:13:28 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.plugin.DataUpdater.getUrlText(DataUpdater.java:95) 2023-08-16 09:13:28 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.plugin.DataUpdater.checkUpdate(DataUpdater.java:70) 2023-08-16 09:13:28 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.plugin.DataUpdater.autoUpdate(DataUpdater.java:29) 2023-08-16 09:13:28 W/stderr: at petpet-5.4.mirai2.jar//moe.dituon.petpet.mirai.MiraiPetpet.lambda$onEnable$0(MiraiPetpet.java:64) 2023-08-16 09:13:28 W/stderr: at java.base/java.lang.Thread.run(Unknown Source) 2023-08-16 09:13:29 I/Tarot: Plugin loaded 2023-08-16 09:13:29 I/Implementation: 前置插件加载完毕 2023-08-16 09:13:29 I/MCPing: github URL: https://github.com/MX233/Mirai-MCPingPlugin 2023-08-16 09:13:30 I/Mirai HTTP API: **** 2023-08-16 09:13:30 I/reverse-ws adapter: >>> [reverse-ws adapter] is running 2023-08-16 09:13:30 I/Mirai HTTP API: Http api server is running with verifyKey: 1234567890 2023-08-16 09:13:30 I/Mirai HTTP API: adaptors: [reverse-ws] 2023-08-16 09:13:30 I/Mirai HTTP API: **** 2023-08-16 09:13:31 I/mirai-administrator: 机器人所有者 2788502859 2023-08-16 09:13:31 I/mirai-administrator: 发送上线通知请使用 /perm add g群号 xyz.cssxsh.mirai.plugin.mirai-administrator:online.include 赋予权限 2023-08-16 09:13:31 I/mirai-administrator: 发送留言评论请使用 /perm add u1234 xyz.cssxsh.mirai.plugin.mirai-administrator:comment.include 赋予权限 2023-08-16 09:13:31 I/mirai-administrator: 定时消息部分功能更新了,请查看最新版文档 2023-08-16 09:13:31 I/mirai-administrator: censor_regex 配置项废除, 改为加载 censor 文件夹中的 txt 文件(不需要重启,会监听文件修改) 2023-08-16 09:13:31 I/mirai-administrator: ComparableService Registered [10]: BackupService: default-backup BlackListService: default-blacklist BotOnlineAction: online ContentCensor: default-censor FriendApprover: default-approver GroupApprover: default-approver MemberApprover: mirai-authenticator, default-approver MessageSourceHandler: TimerService: cleaner, curfew-timer, message-timer, status
2023-08-16 09:13:31 W/reverse-ws adapter: [reverse-ws] Connection to localhost:4096/ interrupted. Trying reconnect in 5000 ms.
2023-08-16 09:13:32 I/mirai-skia-plugin: platform: linux-x64, skia: m110-ad42464-1, skiko: 0.7.58
2023-08-16 09:13:32 I/mirai-skia-plugin: fonts: [FZFangSong-Z02S, FZHei-B01S, Noto Color Emoji, FZShuSong-Z01S, FZKai-Z03S]
2023-08-16 09:13:32 I/BiliBili Dynamic: BiliBili Dynamic Plugin loaded
2023-08-16 09:13:33 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
2023-08-16 09:13:33 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2023-08-16 09:13:33 I/main: 18 plugin(s) enabled.
2023-08-16 09:13:33 I/main: Auto-login 483392198, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB
2023-08-16 09:13:33 W/EncryptService.alert: Encrypt service was loaded: KFCFactory(config=file:///home/mira/KFCFactory.json)
2023-08-16 09:13:33 W/EncryptService.alert: All outgoing message may be leaked by this service.
2023-08-16 09:13:33 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider.
2023-08-16 09:13:33 W/EncryptService.alert: Service details:
2023-08-16 09:13:33 W/EncryptService.alert: - Jvm Class: class xyz.cssxsh.mirai.tool.KFCFactory 2023-08-16 09:13:33 W/EncryptService.alert:
- ClassLoader: JvmPluginClassLoader{fix-protocol-version-1.9.11.mirai2.jar}
2023-08-16 09:13:33 W/EncryptService.alert: - Source: file:/home/mira/plugins/fix-protocol-version-1.9.11.mirai2.jar 2023-08-16 09:13:33 I/SteamHelper: 信息刷新线程执行完毕 2023-08-16 09:13:33 W/EncryptService.alert:
- Protected Domain: ProtectionDomain (file:/home/mira/plugins/fix-protocol-version-1.9.11.mirai2.jar
确实是下载的这个,一个压缩包打开是1.4.2的jar包,并不是release里的那个
我下午看看配合热重载插件检测一下冲突试试
root@ubuntu:/home/mira# ./mcl -u
15:31:43 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 15:31:43 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.7 (arch: 64) 15:31:43 [INFO] https://github.com/iTXTech/mirai-console-loader 15:31:43 [INFO] This program is licensed under GNU AGPL v3 15:31:48 [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 的插件系统,建议更新。
15:31:48 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0 15:31:50 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0 15:31:50 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0 15:31:51 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 15:31:51 [INFO] Verifying "xyz.cssxsh.mirai:mirai-administrator" v1.4.2 15:31:51 [INFO] Verifying "xyz.cssxsh.mirai:mirai-authenticator" v1.0.7 15:31:52 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1 15:31:52 [INFO] Verifying "io.github.gnuf0rce:debug-helper" v1.3.5 2023-08-16 15:31:54 I/main: Starting mirai-console... 2023-08-16 15:31:54 I/main:
===================================[ Mirai console 2.15.0 ]===================================
| \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ __ __ \▓▓ ▓▓▓▓▓▓\ __ __ | ▓▓ __ | ▓▓▓\ / ▓▓▓ \/ \ | | \ ▓▓ \▓▓/ | \ / \/ | ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓/ \ ▓▓_/ ▓▓ ▓▓ | ▓▓\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓
2023-08-16 15:31:54 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17. 2023-08-16 15:31:54 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies 2023-08-16 15:31:54 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-08-16 15:32:01 I/fix-protocol-version: 协议版本检查更新... 2023-08-16 15:32:01 I/fix-protocol-version: ANDROID_PAD load from file:///home/mira/android_pad.json 2023-08-16 15:32:01 I/fix-protocol-version: 注册服务... 2023-08-16 15:32:01 I/fix-protocol-version: 服务配置文件: file:///home/mira/KFCFactory.json 2023-08-16 15:32:01 I/plugin: Successfully loaded plugin fix-protocol-version v1.9.11 2023-08-16 15:32:02 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.12 2023-08-16 15:32:02 I/plugin: Successfully loaded plugin debug-helper v1.3.5 2023-08-16 15:32:02 I/plugin: Successfully loaded plugin Chat Command v0.6.0 2023-08-16 15:32:02 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1 2023-08-16 15:32:02 I/plugin: Successfully loaded plugin mirai-administrator v1.4.2 2023-08-16 15:32:02 I/plugin: Successfully loaded plugin mirai-authenticator v1.0.7 2023-08-16 15:32:02 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-08-16 15:32:03 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-08-16 15:32:03 I/fix-protocol-version: protocol commands: info, load, fetch example: protocol info protocol load ANDROID_PHONE protocol fetch ANDROID_PAD 8.9.63
2023-08-16 15:32:03 I/fix-protocol-version: 当前各登录协议版本日期: ANDROID_PHONE 8.9.58.11170 2023-05-19T11:35+08:00 ANDROID_PAD 8.9.63.11390 2023-05-26T10:46:18+08:00 ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00 IPAD 8.9.50.611 2023-02-16T15:10:14+08:00 MACOS 6.8.2.21241 2022-03-14T11:11:35+08:00
2023-08-16 15:32:03 I/fix-protocol-version: 当前签名服务配置信息: v8.9.58 by kiliokuara/magic-signer-guide from http://127.0.0.1:8888 v8.8.88 by TLV544Provider from
缺少 v8.9.63 配置 2023-08-16 15:32:03 W/debug-helper: 本插件中机器人管理的相关功能已经拆分至 https://github.com/cssxsh/mirai-administrator 2023-08-16 15:32:03 W/debug-helper: 本插件中机器人管理的相关功能已经拆分至 https://github.com/cssxsh/mirai-administrator 2023-08-16 15:32:03 W/debug-helper: 本插件中机器人管理的相关功能已经拆分至 https://github.com/cssxsh/mirai-administrator 2023-08-16 15:32:04 I/Mirai HTTP API: **** 2023-08-16 15:32:04 I/reverse-ws adapter: >>> [reverse-ws adapter] is running 2023-08-16 15:32:04 I/Mirai HTTP API: Http api server is running with verifyKey: 1234567890 2023-08-16 15:32:04 I/Mirai HTTP API: adaptors: [reverse-ws] 2023-08-16 15:32:04 I/Mirai HTTP API: **** 2023-08-16 15:32:05 I/mirai-administrator: 机器人所有者 2788502859 2023-08-16 15:32:05 I/mirai-administrator: 发送上线通知请使用 /perm add g群号 xyz.cssxsh.mirai.plugin.mirai-administrator:online.include 赋予权限 2023-08-16 15:32:05 I/mirai-administrator: 发送留言评论请使用 /perm add u1234 xyz.cssxsh.mirai.plugin.mirai-administrator:comment.include 赋予权限 2023-08-16 15:32:05 I/mirai-administrator: 定时消息部分功能更新了,请查看最新版文档 2023-08-16 15:32:05 I/mirai-administrator: censor_regex 配置项废除, 改为加载 censor 文件夹中的 txt 文件(不需要重启,会监听文件修改) 2023-08-16 15:32:05 I/mirai-administrator: ComparableService Registered [10]: BackupService: default-backup BlackListService: default-blacklist BotOnlineAction: online ContentCensor: default-censor FriendApprover: default-approver GroupApprover: default-approver MemberApprover: mirai-authenticator, default-approver MessageSourceHandler: TimerService: cleaner, curfew-timer, message-timer, status
2023-08-16 15:32:06 W/reverse-ws adapter: [reverse-ws] Connection to localhost:4096/ interrupted. Trying reconnect in 5000 ms.
2023-08-16 15:32:06 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
2023-08-16 15:32:06 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2023-08-16 15:32:06 I/main: 8 plugin(s) enabled.
2023-08-16 15:32:06 I/main: Auto-login 483392198, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB
2023-08-16 15:32:06 W/EncryptService.alert: Encrypt service was loaded: KFCFactory(config=file:///home/mira/KFCFactory.json)
2023-08-16 15:32:06 W/EncryptService.alert: All outgoing message may be leaked by this service.
2023-08-16 15:32:06 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider.
2023-08-16 15:32:06 W/EncryptService.alert: Service details:
2023-08-16 15:32:06 W/EncryptService.alert: - Jvm Class: class xyz.cssxsh.mirai.tool.KFCFactory 2023-08-16 15:32:06 W/EncryptService.alert:
- ClassLoader: JvmPluginClassLoader{fix-protocol-version-1.9.11.mirai2.jar}
2023-08-16 15:32:06 W/EncryptService.alert: - Source: file:/home/mira/plugins/fix-protocol-version-1.9.11.mirai2.jar 2023-08-16 15:32:06 W/EncryptService.alert:
- Protected Domain: ProtectionDomain (file:/home/mira/plugins/fix-protocol-version-1.9.11.mirai2.jar
你需要等几秒钟
事实上等到现在我也没收到上线提醒,所以我怎么做可以帮助你debug
config/Console/PermissionService.yml
1. 在最后的build下载的 2. 权限都给了
我好像发现问题了,1.4.3放进去,启动后自动下载1.4.2了,加载的插件也是1.4.2
21:36:36 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0
21:36:37 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0
21:36:38 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0
21:36:38 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1
21:36:39 [INFO] Verifying "xyz.cssxsh.mirai:mirai-administrator" v1.4.2
21:36:39 [ERROR] "xyz.cssxsh.mirai:mirai-administrator" is corrupted.
21:36:39 [INFO] Updating "xyz.cssxsh.mirai:mirai-administrator" to v1.4.2
Downloading mirai-administrator-1.4.2.mirai2.jar [==============================] 392.67 KB
Downloading mirai-administrator-1.4.2.mirai2.jar.sha1 [==============================] 40 B
21:36:40 [INFO] Verifying "xyz.cssxsh.mirai:mirai-authenticator" v1.0.7
21:36:41 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1
21:36:41 [INFO] Verifying "io.github.gnuf0rce:debug-helper" v1.3.5
启动命令是./mcl,应该没自动更新吧
mcl 在发现目标版本插件缺失的情况下会自动下载
那我应该怎么安装插件
把 config.json
里关于 mirai-administrator 的那一项删掉不就行了吗
ok,有上线消息了,非常感谢。另外能不能回答我一个小小的问题,我想每天重启一下mira 这应该是个cron的可视化界面,能配置这个重启mira吗,这个shell脚本内容是不是我在控制台输入的命令呢 我对Linux不是很熟悉,不知道shell脚本的格式
GPT写的这个脚本可以用吗
这已经超出本项目的解答范围
好的,非常感谢你
这个上线通知是邮件还是QQ通知呢 配置如下
发送上线消息的类型 XML, PLAIN,
type: CUSTOM
CUSTOM 上线消息的内容
custom: '测试'
逐个发送消息延时,单位秒
duration: 10 也执行了/perm add * xyz.cssxsh.mirai.plugin.mirai-administrator:online.include还是没有通知 不管邮件还是QQ都没有收到消息 我想在上线时向所有群广播消息应该如何配置