cssxsh / bilibili-helper

Mirai Console 插件开发计划
https://github.com/users/cssxsh/projects/4
GNU Affero General Public License v3.0
143 stars 18 forks source link

风控校验失败 #120

Closed Akesaka-Hitsuki closed 3 months ago

Akesaka-Hitsuki commented 4 months ago

环境: ubuntu 20.04 插件版本:bilibili-helper v1.8.0 MiraiConsole 2.16.0

问题描述 今天发现模拟器没似,但是bot在3点多有一条直播通知没发,刚看了下log,发现是风控校验失败,但是快5点的时候还是推送了一条另外一个人的直播通知,可能风控只是暂时性的 我想了想会不会是动态的订阅没取消,一直访问不合理的接口的影响?是不是该先把所有动态订阅取消了

2024-05-07 15:28:10 W/bilibili-helper: LiveWaiter with 3831672 fail.
BiliApiException(data=TempData(code=-352, data={"v_voucher":"voucher_f21d4c50-76cb-4dca-aaa4-cde036c32ce3"}, result=null, message=风控校验失败, ttl=1, msg=null), url=https://api.bilibili.com/x/space/wbi/acc/info?mid=3831672&token=&platform=web&web_location=1550101&wts=1715066890&w_rid=99a5f664a815e152d8e02b711b5e8b96)
        at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.api.UserKt$getUserInfo$$inlined$json$1$1.invokeSuspend(Api.kt:106)
        at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.api.UserKt$getUserInfo$$inlined$json$1$1.invoke(Api.kt)
        at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.api.UserKt$getUserInfo$$inlined$json$1$1.invoke(Api.kt)
        at bilibili-helper-1.8.0.mirai2.jar[private]//io.ktor.client.statement.HttpStatement.execute(HttpStatement.kt:50)
        at bilibili-helper-1.8.0.mirai2.jar[private]//io.ktor.client.statement.HttpStatement$execute$1.invokeSuspend(HttpStatement.kt)
        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)
cssxsh commented 3 months ago

反爬无解