MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    无法接收合并转发消息

    BUG反馈
    1
    3
    134
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tsudzuki
      tsudzuki 摸鱼 last edited by

      2021-11-23 15:37:14 E/Bot.BotID: Exception on parsing packet.
      java.lang.IllegalStateException: Exception in net.mamoe.mirai.internal.network.notice.priv.PrivateMessageProcessor@2626c626 while processing packet Msg.
              at net.mamoe.mirai.internal.network.components.NoticeProcessorPipelineImpl.process$suspendImpl(NoticeProcessorPipeline.kt:241)
              at net.mamoe.mirai.internal.network.components.NoticeProcessorPipelineImpl$process$1.invokeSuspend(NoticeProcessorPipeline.kt)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
              at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:194)
              at io.ktor.util.pipeline.SuspendFunctionGun.access$resumeRootWith(SuspendFunctionGun.kt:15)
              at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:89)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
              at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:194)
              at io.ktor.util.pipeline.SuspendFunctionGun.access$resumeRootWith(SuspendFunctionGun.kt:15)
              at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:89)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
              at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:194)
              at io.ktor.util.pipeline.SuspendFunctionGun.access$resumeRootWith(SuspendFunctionGun.kt:15)
              at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:89)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
              at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:194)
              at io.ktor.util.pipeline.SuspendFunctionGun.access$resumeRootWith(SuspendFunctionGun.kt:15)
              at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:89)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
              at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
              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)
      Caused by: java.lang.IllegalStateException: Failed to download forward message `yk0BVERsQYR9PjpTNGYi3kH/B/+sZLPmbKIkBqIBfz7Aj8ce7n0CXBG3LcA5ARry`
              at net.mamoe.mirai.internal.MiraiImpl.downloadForwardMessage$suspendImpl(MiraiImpl.kt:843)
              at net.mamoe.mirai.internal.MiraiImpl$downloadForwardMessage$1.invokeSuspend(MiraiImpl.kt)
              ... 25 more
      Caused by: java.lang.IllegalStateException: Cannot download forward message
              at net.mamoe.mirai.internal.MiraiImpl.downloadMultiMsgTransmit(MiraiImpl.kt:1221)
              at net.mamoe.mirai.internal.MiraiImpl.access$downloadMultiMsgTransmit(MiraiImpl.kt:71)
              at net.mamoe.mirai.internal.MiraiImpl$downloadMultiMsgTransmit$1.invokeSuspend(MiraiImpl.kt)
              ... 25 more
      Caused by: java.net.UnknownHostException: ssl.htdata.qq.com
              at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:801)
              at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1509)
              at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1367)
              at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1301)
              at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
              at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164)
              at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129)
              at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71)
              at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:213)
              at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108)
              at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76)
              at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245)
              at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
              at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
              at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
              at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
              at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)
              at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
              ... 1 more
      

      也不是很严重的问题(对于我)就是看着比较难受

      在自己的电脑上测试没有问题,在腾讯云服务器出现了这个问题

      Windows Server 2019 Java 17.0.1 mirai 2.9.0-M1

      tsudzuki 1 Reply Last reply Reply Quote 0
      • tsudzuki
        tsudzuki 摸鱼 @tsudzuki last edited by

        我估摸着是dns有问题?

        5f50d03a-93ae-4095-bb4d-a6f0ccbdc049-image.png

        tsudzuki 1 Reply Last reply Reply Quote 0
        • tsudzuki
          tsudzuki 摸鱼 @tsudzuki last edited by

          已解决,通过修改hosts文件

          Error

          1 Reply Last reply Reply Quote 0
          • Referenced by  tsudzuki tsudzuki 
          • 1 / 1
          • First post
            Last post
          Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact