kukume / tgbot

kuku's telegram bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeSeek签到失败

SkyAerope opened this issue · comments

从12/13开始签到均失败
12/16的日志如下
cookie=session%3Dxxx已脱敏处理)

#NodeSeek签到失败异常信息
Expected response body of the type 'class com.fasterxml.jackson.databind.JsonNode' but was 'class io.ktor.utils.io.ByteBufferChannel'
In response from `https://api.jpa.cc/nodeseek/sign/query?cookie=session%3Dxxx`
Response status `200 `
Response header `ContentType: text/plain; charset=UTF-8` 
Request header `Accept: */*`

You can read how to resolve NoTransformationFoundException at FAQ: 
https://ktor.io/docs/faq.html#no-transformation-found-exception
io.ktor.client.call.NoTransformationFoundException: Expected response body of the type 'class com.fasterxml.jackson.databind.JsonNode' but was 'class io.ktor.utils.io.ByteBufferChannel'
In response from `https://api.jpa.cc/nodeseek/sign/query?cookie=session%3Dxxx`
Response status `200 `
Response header `ContentType: text/plain; charset=UTF-8` 
Request header `Accept: */*`

You can read how to resolve NoTransformationFoundException at FAQ: 
https://ktor.io/docs/faq.html#no-transformation-found-exception
 at io.ktor.client.call.HttpClientCall.bodyNullable(HttpClientCall.kt:94)
 at me.kuku.telegram.logic.NodeSeekLogic.querySign(NodeSeekLogic.kt:64)
 at me.kuku.telegram.logic.NodeSeekLogic$querySign$1.invokeSuspend(NodeSeekLogic.kt)
 at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
 at kotlinx.coroutines.internal.DispatchedContinuation.resumeWith(DispatchedContinuation.kt:204)
 at io.ktor.utils.io.internal.CancellableReusableContinuation.resumeWith(CancellableReusableContinuation.kt:93)
 at io.ktor.utils.io.ByteBufferChannel.resumeReadOp(ByteBufferChannel.kt:2104)
 at io.ktor.utils.io.ByteBufferChannel.tryTerminate$ktor_io(ByteBufferChannel.kt:390)
 at io.ktor.utils.io.ByteBufferChannel.close(ByteBufferChannel.kt:135)
 at io.ktor.utils.io.CoroutinesKt$launchChannel$1.invoke(Coroutines.kt:158)
 at io.ktor.utils.io.CoroutinesKt$launchChannel$1.invoke(Coroutines.kt:157)
 at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1385)
 at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1497)
 at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:325)
 at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:242)
 at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:910)
 at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:867)
 at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:832)
 at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
 at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
 at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
 at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
 at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
 at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

由于网络问题,此issue被重复提交了。请帮我删除。