2023-07-27 00:29:08 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:263)
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: java.lang.IllegalStateException: Mutex is not locked
at kotlinx.coroutines.sync.MutexImpl.unlock(Mutex.kt:326)
at qsign-1.0.5.mirai2.jar//moe.fuqiuluo.api.UnidbgFetchQSign.sign(UnidbgFetchQSign.kt:342)
at qsign-1.0.5.mirai2.jar//moe.fuqiuluo.api.UnidbgFetchQSign.sign$default(UnidbgFetchQSign.kt:141)
at qsign-1.0.5.mirai2.jar//top.mrxiaom.qsign.QSignService$qSecurityGetSign$data$1.invokeSuspend(QSignService.kt:95)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at qsign-1.0.5.mirai2.jar//top.mrxiaom.qsign.QSignService.qSecurityGetSign(QSignService.kt:94)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket(OutgoingPacket.kt:382)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket$default(OutgoingPacket.kt:352)
at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1.invoke(WtLogin9.kt:30)
at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1.invoke(WtLogin9.kt:27)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.buildLoginOutgoingPacket(OutgoingPacket.kt:310)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.buildLoginOutgoingPacket$default(OutgoingPacket.kt:278)
at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9.Password(WtLogin9.kt:27)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin$lambda$8$SSOWtLogin9(SsoProcessor.kt:417)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:423)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doSlowLogin$suspendImpl(SsoProcessor.kt:175)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doSlowLogin(SsoProcessor.kt)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:273)
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)
... 5 more
Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Mutex is not locked]
mythm 发布的最新帖子
-
RE: qsign —— 签名 不要指望用来解决code=45
-
RE: qsign —— 签名 不要指望用来解决code=45
Login failed: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
2023-07-26 18:54:04 E/console: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.这是怎么回事呢?
-
登录失败...
23:09:37 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 23:09:37 [INFO] Runtime: OpenJDK 64-Bit Server VM 18.0.2-ea (arch: 64) 23:09:37 [INFO] https://github.com/iTXTech/mirai-console-loader 23:09:37 [INFO] This program is licensed under GNU AGPL v3 23:09:38 [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 的插件系统,建议更新。 23:09:38 [INFO] Verifying "net.mamoe:mirai-console" v2.13.2 23:09:38 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.2 23:09:39 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.2 23:09:39 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 23:09:39 [INFO] Verifying "org.bouncycastle:bcprov-jdk15on" v1.64 2023-01-12 23:09:41 I/main: Starting mirai-console... 2023-01-12 23:09:41 I/main: ==================================[ Mirai consosle 2.13.2 ]=================================== __ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓ 2023-01-12 23:09:41 I/main: Backend: version 2.13.2, built on 2022-12-05 01:50:53. 2023-01-12 23:09:41 I/main: Frontend Terminal: version 2.13.2, provided by Mamoe Technologies 2023-01-12 23:09:41 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-01-12 23:09:41 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2023-01-12 23:09:41 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2023-01-12 23:09:41 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2023-01-12 23:09:42 I/plugin: Successfully loaded plugin Soyuz v1.0.0 2023-01-12 23:09:42 I/plugin: Successfully loaded plugin Chat Command v0.5.0 2023-01-12 23:09:42 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2 2023-01-12 23:09:42 I/plugin: Successfully loaded plugin iam.xiaoan.RanImage v1.0-SNAPSHOT 2023-01-12 23:09:42 I/plugin: Successfully loaded plugin Plum v1.0 2023-01-12 23:09:42 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-01-12 23:09:42 W/mirai-login-solver-sakura: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-18-openjdk-amd64/lib/libawt_xawt.so java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-18-openjdk-amd64/lib/libawt_xawt.so at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398) at java.base/java.lang.Runtime.load0(Runtime.java:785) at java.base/java.lang.System.load(System.java:1979) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:395) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:234) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:176) at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:322) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:289) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848) at java.base/java.lang.System.loadLibrary(System.java:2015) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1392) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1390) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1389) at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1427) at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1401) at mirai-login-solver-sakura-0.0.7.mirai2.jar//com.kasukusakura.mlss.console.ConsolePluginMain.onLoad(ConsolePluginMain.kt:61) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnLoad$mirai_console(JvmPluginInternal.kt:248) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:283) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:90) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:146) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:279) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:508) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) 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-01-12 23:09:42 W/WindowHelperJvm: Failed to initialize module `java.desktop` java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:383) at java.base/java.lang.Class.forName(Class.java:376) at net.mamoe.mirai.utils.WindowHelperJvm.<clinit>(SwingSolver.kt:247) at net.mamoe.mirai.utils.PlatformLoginSolverImplementations$default$2.invoke(LoginSolver.jvm.kt:34) at net.mamoe.mirai.utils.PlatformLoginSolverImplementations$default$2.invoke(LoginSolver.jvm.kt:33) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at net.mamoe.mirai.utils.PlatformLoginSolverImplementations.getDefault(LoginSolver.jvm.kt:33) at net.mamoe.mirai.utils.LoginSolver.<clinit>(LoginSolver.kt:135) at mirai-login-solver-sakura-0.0.7.mirai2.jar//com.kasukusakura.mlss.console.ConsolePluginMain.onLoad(ConsolePluginMain.kt:70) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnLoad$mirai_console(JvmPluginInternal.kt:248) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:283) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:90) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:146) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:279) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:508) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) 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) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-18-openjdk-amd64/lib/libawt_xawt.so [in thread "main"] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398) at java.base/java.lang.Runtime.load0(Runtime.java:785) at java.base/java.lang.System.load(System.java:1979) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:395) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:234) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:176) at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:322) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:289) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848) at java.base/java.lang.System.loadLibrary(System.java:2015) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1392) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1390) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1389) at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1427) at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1401) at mirai-login-solver-sakura-0.0.7.mirai2.jar//com.kasukusakura.mlss.console.ConsolePluginMain.onLoad(ConsolePluginMain.kt:61) ... 23 more 2023-01-12 23:09:42 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.7 2023-01-12 23:09:42 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-01-12 23:09:43 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-01-12 23:09:43 I/Soyuz: iTXTech Soyuz is listening on ws://localhost:9876 2023-01-12 23:09:43 I/Mirai HTTP API: ******************************************************** 2023-01-12 23:09:43 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2023-01-12 23:09:43 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2023-01-12 23:09:43 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2023-01-12 23:09:43 I/http adapter: >>> [http adapter] is listening at http://localhost:8080 2023-01-12 23:09:43 I/Mirai HTTP API: Http api server is running with verifyKey: 123456789 2023-01-12 23:09:43 I/Mirai HTTP API: adaptors: [http] 2023-01-12 23:09:43 I/Mirai HTTP API: ******************************************************** 2023-01-12 23:09:43 I/iam.xiaoan.RanImage: Plugin loaded! 2023-01-12 23:09:43 I/iam.xiaoan.RanImage: 你好!我是小安!感谢你使用这款随机二次元图片插件! 2023-01-12 23:09:43 I/Plum: Plum >> Enable. 2023-01-12 23:09:43 I/Plum: Start Init... 2023-01-12 23:09:43 I/Plum: [CommandSystem] Init CommandSystem. 2023-01-12 23:09:43 I/Plum: [FileSystem] Init FileSystem. 2023-01-12 23:09:43 I/Plum: [FileSystem] Init All Configs... 2023-01-12 23:09:43 I/Plum: [FileSystem] Init >> ApplicationConfig.json 2023-01-12 23:09:43 I/Plum: [FileSystem] Load Local File to Memory >> ApplicationConfig.json 2023-01-12 23:09:43 I/Plum: Init AudioUtils. OpenJDK 64-Bit Server VM warning: You have loaded library /home/ubuntu/mirai/plugins/Plum/voice-files/mirai_audio_lib_1673536183477.lib which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. 2023-01-12 23:09:43 I/Plum: [TimerSystem] Start TimerSystem. 2023-01-12 23:09:43 I/Plum: End Init... 2023-01-12 23:09:43 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2023-01-12 23:09:43 I/main: 7 plugin(s) enabled. 2023-01-12 23:09:43 I/main: Auto-login 3446718347, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB 2023-01-12 23:09:44 E/main: net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException at net.mamoe.mirai.internal.utils.crypto.TEA.fail(TEA.kt:299) at net.mamoe.mirai.internal.utils.crypto.TEA.doOption$decrypt(TEA.kt:275) at net.mamoe.mirai.internal.utils.crypto.TEA.doOption(TEA.kt:295) at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt(TEA.kt:319) at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt$default(TEA.kt:318) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLoginExt.analyzeTlv106(WtLoginExt.kt:623) at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.onLoginSuccess(WtLogin.kt:368) at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.decode(WtLogin.kt:231) at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:491) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:157) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:102) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:126) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) at kotlinx.coroutines.BuildersKt.launch(Unknown Source) at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:126) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833) 2023-01-12 23:09:44 I/main: mirai-console started successfully. 2023-01-12 23:09:44 I/Bot.3446718347: Bot cancelled: Bot closed >
-
RE: ChatLearning——让bot学会你的群聊
2022-04-04 20:51:55
Traceback (most recent call last):
File "ChatClass.py", line 107, in run
File "Chatmain.py", line 953, in getcommand_chat
File "simuse.py", line 76, in Fetch_Message
TypeError: 'int' object is not subscriptable这是咋回事啊
-
RE: ChatLearning——让bot学会你的群聊
添加回复和学习后
2022-04-04 20:51:55
Traceback (most recent call last):
File "ChatClass.py", line 107, in run
File "Chatmain.py", line 953, in getcommand_chat
File "simuse.py", line 76, in Fetch_Message
TypeError: 'int' object is not subscriptable2022-04-04 20:59:08
Traceback (most recent call last):
File "ChatClass.py", line 107, in run
File "ChatReply.py", line 252, in main
File "ChatReply.py", line 227, in listening
File "simuse.py", line 76, in Fetch_Message
TypeError: 'int' object is not subscriptable2022-04-04 20:59:18
Traceback (most recent call last):
File "ChatClass.py", line 107, in run
File "ChatLearning.py", line 196, in main
File "ChatLearning.py", line 157, in listening
File "ChatLearning.py", line 117, in extractmessage
File "simuse.py", line 76, in Fetch_Message
TypeError: 'int' object is not subscriptablenet.mamoe.mirai-api-http/setting.yml
adapters:- http
debug: false
enableVerify: true
verifyKey: 123456789
singleMode: false
cacheSize: 4096
adapterSettings:
http:
host: localhost
port: 8080
cors: []
http:
host: localhost
port: 1234
cors: []
ChatLearning/data.json:
{
"Key": "123456789",
"host": "127.0.0.1:1234",
"port": "1234",
"qq": "1545215360",
"session": "XXX"
} - http
-
net.mamoe:mirai-api-http 无法安装
15:26:32 [ERROR] "net.mamoe:mirai-api-http" is corrupted.
15:26:33 [ERROR] Cannot download package "net.mamoe:mirai-api-http"
15:26:33 [ERROR] The local file "net.mamoe:mirai-api-http" is still corrupted, please check the network.