Comments (6)
自行检查是否能正常连接到腾讯服务器。
from miraimc.
自行检查是否能正常连接到腾讯服务器。
我服也有如此问题,且我挨个ping了server.json的服务器,都没有问题。
而且连不上服务器为何会报没有此方法的错呢
from miraimc.
自行检查是否能正常连接到腾讯服务器。
我服也有如此问题,且我挨个ping了server.json的服务器,都没有问题。 而且连不上服务器为何会报没有此方法的错呢
你应该去看看方法名和stack trace
from miraimc.
自行检查是否能正常连接到腾讯服务器。
我服也有如此问题,且我挨个ping了server.json的服务器,都没有问题。 而且连不上服务器为何会报没有此方法的错呢
你应该去看看方法名和stack trace
哦……但还是很奇怪:
我如果关闭机器人 删除cache 再打开机器人的话 大多数时候就又能正常使用了。总感觉问题的源头不是这里能不能连服务器
from miraimc.
问题描述
服务器装了此插件后,一直循环报错一个问题(不管有没有输入指令),不能绑定机器人.希望快速解决此问题.急
复现方法
开启服务器
服务端类型
Bukkit(包括Paper)
服务端版本
spigot-1.16.5
MiraiMC 插件版本
1.5和1.6
服务端日志
[21:37:55] [DefaultDispatcher-worker-1/INFO]: [MiraiMC] ECDH key is invalid, start to fetch ecdh public key from server. [21:37:55] [DefaultDispatcher-worker-1/ERROR]: [MiraiMC] Failed to fetch ECDH public key from server, using default key instead java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; at io.ktor.utils.io.bits.MemoryJvmKt.sliceSafe(MemoryJvm.kt:211) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.bits.Memory.slice-SK3TCg8(MemoryJvm.kt:47) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.CharsetJVMKt.encodeImpl(CharsetJVM.kt:356) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encodeToImpl(Encoding.kt:204) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encode(Encoding.kt:62) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encode$default(Encoding.kt:57) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.CodecsKt.encodeURLParameter(Codecs.kt:123) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt$formUrlEncodeTo$1.invoke(HttpUrlEncoded.kt:68) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt$formUrlEncodeTo$1.invoke(HttpUrlEncoded.kt:67) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.text.StringsKt__AppendableKt.appendElement(Appendable.kt:85) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.collections.CollectionsKt___CollectionsKt.joinTo(_Collections.kt:3347) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.collections.CollectionsKt___CollectionsKt.joinTo$default(_Collections.kt:3341) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:67) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:108) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:90) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.URLUtilsKt.appendUrlFullPath(URLUtils.kt:101) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.URLUtilsKt.getFullPath(URLUtils.kt:79) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.Url.toString(URLBuilder.kt:169) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngineKt.convertToOkHttpRequest(OkHttpEngine.kt:183) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngineKt.access$convertToOkHttpRequest(OkHttpEngine.kt:1) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngine.execute(OkHttpEngine.kt:71) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.HttpClientEngine$executeWithinCallContext$2.invokeSuspend(HttpClientEngine.kt:85) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) [mirai-core-all-2.10.0.jar:2.10.0] [21:37:55] [nioEventLoopGroup-4-2/ERROR]: [MiraiMC] Exception in decoding packet. java.lang.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {353=[B@7f993fc7} at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.decode(WtLogin.kt:188) ~[mirai-core-all-2.10.0.jar:2.10.0] at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:368) ~[mirai-core-all-2.10.0.jar:2.10.0] at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$send$1.invokeSuspend(NettyNetworkHandler.kt:175) [mirai-core-all-2.10.0.jar:2.10.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [mirai-core-all-2.10.0.jar:2.10.0] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:465) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281] [21:37:56] [Craft Scheduler Thread - 7/WARN]: 从皮肤站读取玩家Black_XY的profile失败! [21:37:56] [Craft Scheduler Thread - 7/WARN]: 请检查<https://skin.prinzeugen.net/Black_XY.json>是否能够正常访问! [21:37:58] [DefaultDispatcher-worker-1/INFO]: [MiraiMC] ECDH key is invalid, start to fetch ecdh public key from server. [21:37:58] [DefaultDispatcher-worker-1/ERROR]: [MiraiMC] Failed to fetch ECDH public key from server, using default key instead java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; at io.ktor.utils.io.bits.MemoryJvmKt.sliceSafe(MemoryJvm.kt:211) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.bits.Memory.slice-SK3TCg8(MemoryJvm.kt:47) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.CharsetJVMKt.encodeImpl(CharsetJVM.kt:356) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encodeToImpl(Encoding.kt:204) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encode(Encoding.kt:62) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encode$default(Encoding.kt:57) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.CodecsKt.encodeURLParameter(Codecs.kt:123) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt$formUrlEncodeTo$1.invoke(HttpUrlEncoded.kt:68) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt$formUrlEncodeTo$1.invoke(HttpUrlEncoded.kt:67) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.text.StringsKt__AppendableKt.appendElement(Appendable.kt:85) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.collections.CollectionsKt___CollectionsKt.joinTo(_Collections.kt:3347) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.collections.CollectionsKt___CollectionsKt.joinTo$default(_Collections.kt:3341) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:67) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:108) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:90) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.URLUtilsKt.appendUrlFullPath(URLUtils.kt:101) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.URLUtilsKt.getFullPath(URLUtils.kt:79) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.Url.toString(URLBuilder.kt:169) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngineKt.convertToOkHttpRequest(OkHttpEngine.kt:183) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngineKt.access$convertToOkHttpRequest(OkHttpEngine.kt:1) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngine.execute(OkHttpEngine.kt:71) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.HttpClientEngine$executeWithinCallContext$2.invokeSuspend(HttpClientEngine.kt:85) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) [mirai-core-all-2.10.0.jar:2.10.0] [21:37:58] [nioEventLoopGroup-5-2/ERROR]: [MiraiMC] Exception in decoding packet. java.lang.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {353=[B@79724360} at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.decode(WtLogin.kt:188) ~[mirai-core-all-2.10.0.jar:2.10.0] at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:368) ~[mirai-core-all-2.10.0.jar:2.10.0] at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$send$1.invokeSuspend(NettyNetworkHandler.kt:175) [mirai-core-all-2.10.0.jar:2.10.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [mirai-core-all-2.10.0.jar:2.10.0] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:465) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [1.16.5.jar:3096a-Spigot-9fb885e-af1a232] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281] [21:38:01] [DefaultDispatcher-worker-2/INFO]: [MiraiMC] ECDH key is invalid, start to fetch ecdh public key from server. [21:38:01] [DefaultDispatcher-worker-2/ERROR]: [MiraiMC] Failed to fetch ECDH public key from server, using default key instead java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; at io.ktor.utils.io.bits.MemoryJvmKt.sliceSafe(MemoryJvm.kt:211) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.bits.Memory.slice-SK3TCg8(MemoryJvm.kt:47) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.CharsetJVMKt.encodeImpl(CharsetJVM.kt:356) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encodeToImpl(Encoding.kt:204) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encode(Encoding.kt:62) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.utils.io.charsets.EncodingKt.encode$default(Encoding.kt:57) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.CodecsKt.encodeURLParameter(Codecs.kt:123) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt$formUrlEncodeTo$1.invoke(HttpUrlEncoded.kt:68) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt$formUrlEncodeTo$1.invoke(HttpUrlEncoded.kt:67) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.text.StringsKt__AppendableKt.appendElement(Appendable.kt:85) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.collections.CollectionsKt___CollectionsKt.joinTo(_Collections.kt:3347) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.collections.CollectionsKt___CollectionsKt.joinTo$default(_Collections.kt:3341) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:67) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:108) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.HttpUrlEncodedKt.formUrlEncodeTo(HttpUrlEncoded.kt:90) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.URLUtilsKt.appendUrlFullPath(URLUtils.kt:101) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.URLUtilsKt.getFullPath(URLUtils.kt:79) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.http.Url.toString(URLBuilder.kt:169) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngineKt.convertToOkHttpRequest(OkHttpEngine.kt:183) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngineKt.access$convertToOkHttpRequest(OkHttpEngine.kt:1) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.okhttp.OkHttpEngine.execute(OkHttpEngine.kt:71) ~[mirai-core-all-2.10.0.jar:2.10.0] at io.ktor.client.engine.HttpClientEngine$executeWithinCallContext$2.invokeSuspend(HttpClientEngine.kt:85) ~[mirai-core-all-2.10.0.jar:2.10.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) [mirai-core-all-2.10.0.jar:2.10.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) [mirai-core-all-2.10.0.jar:2.10.0] [21:38:01] [nioEventLoopGroup-6-2/ERROR]: [MiraiMC] Exception in decoding packet. java.lang.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {353=[B@6ef81e4b} 完整日志在下面的额外说明,辛苦了qwq
额外说明
嗨,你找到解决方法了吗 我找不出来任何限制我网络的地方
from miraimc.
这种情况,需要使用ANDROID_PHONE登陆一次之后,再切换到其他的协议。具体原因不明
from miraimc.
Related Issues (20)
- 插件加载失败 HOT 1
- 开发版报错NoClassDefFoundError HOT 1
- 增加对Fabric的支持
- Unable to login
- 使用 unidbg-fetch-qsign 后无法正常登入 HOT 3
- Velocity下报错 HOT 1
- 不会释放 services.json 文件
- MiraiMC-1.8 QQ禁止登陆,提示版本号过低,试过手机和平板模式都如此
- 我无法在对接QQ签名服务器时确定miraimc使用的QQ版本
- 插件在 Velocity 平台无法正常加载。 HOT 5
- 插件命令无法使用
- 1.8.2版本无法使用
- 在 Bukkit 重载配置后丢失修改的值 HOT 2
- Bukkit 执行命令显示 `Unknown command` HOT 3
- Waterfall使用MiraiMC发送消息提示Illegal input HOT 1
- 我好像无法在bukkit上登录他在Bungee上登录
- 收到的全部消息为null
- Paper-1.19.4端加载MiraiMC-Bukkit报错
- 添加websocket相关功能
- 添加外部核心支持以实现对接如Overflow的修改核心 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miraimc.