每日新闻速报, 每日 Bilibili 番剧速报
-
2022-01-15 13:46:52 E/Reporter: java.net.SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at java.base/java.net.SocketInputStream.socketRead(Unknown Source)
at java.base/java.net.SocketInputStream.read(Unknown Source)
at java.base/java.net.SocketInputStream.read(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:367)
at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:325)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:197)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249)
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.execute(RealCall.kt:148)
at online.ruin_of_future.reporter.HTTPGetter.get(HTTPGetter.kt:16)
at online.ruin_of_future.reporter.AnimeCrawler.getData(AnimeCrawler.kt:88)
at online.ruin_of_future.reporter.AnimeCrawler.animeByDate(AnimeCrawler.kt:189)
at online.ruin_of_future.reporter.AnimeCrawler.animeToday(AnimeCrawler.kt:208)
at online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendAnimeToTarget$1.invokeSuspend(App.kt:124)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:142)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) -
请问我给群聊授权了,但是机器人还是不能给群聊播报是怎么回事啊
-
那个,请问一下能不能直接修改config里面的yml文件,我也碰到了可以回应今日速报但是不能回应help和添加指令的问题
-
最近两天的新闻都获取出错了,但是动漫可以正常获取,是新闻那边出现了什么情况吗
-
@月森优姬 github 更新了你可以看看
-
@猫外星人 解决了吗?我也有
-
求助,不是很会用/permission指令授权自己(主要是哪个permissionID也不是很清楚 还有permission列表编好什么的)
-
@Teresa 去看了1.3.2版本的,但是我这边会报错,是因为我这边mirai console是2.8.2的原因吗?这样是不是就没法用了……
-
@月森优姬 更新了mirai版本 好像就是2.8.2 可以github上提一下
-
@月森优姬 我这边是2.9.0版本也是没法用,升级成2.11.0就正常了 可以升级版本试一下
-
@SaLivR 白名单是用于指定群聊的,跟机器人本身在 Mirai 的权限是两回事。你可以用命令 /help 试试看,应该能看到 /news_group 和 /anime_group 两个命令,这俩就是添加白名单的。
-
@月森优姬 可能需要更新下 console,上次修复新闻问题的时候,插件本身的依赖也更新了。目前而言应该下载最新的稳定版 console(2.10.1) 就能运行了。
-
为什么私聊可以用,但群里触发不了啊,白名单也设置了啊
-
@KevinT3Hu 有几个可能的原因:
- 机器人被风控了,群聊发图有限制,所以没发出去消息。可以看下日志确认一下
- 白名单没配置对。可以用白名单命令 list 一下来确认。
-
作者大大,这个插件不支持多个bot呀
-
发起动画请求的时候报错
2022-07-16 11:26:25 E/Reporter: Exception in coroutine Plugin online.ruin_of_future.reporter of Reporter java.lang.IllegalStateException: Send message failed: MessageSvcPbSendMsg.Response.Failed(resultType=55, errorCode=0, errorMessage=) at net.mamoe.mirai.internal.contact.SendMessageHandler.sendMessagePacket(SendMessageHandler.kt:191) at net.mamoe.mirai.internal.contact.SendMessageHandler$sendMessagePacket$1.invokeSuspend(SendMessageHandler.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) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
请问可以定时推送吗
-
群内或者私聊都发不出图片
效果如下这是今天的新闻速报
q(≧▽≦q)这是今天的 B 站番剧
( •̀ ω •́ )✧2022-07-21 13:48:21 V/Bot.打码: Friend(打码) <- 这是今天的新闻速报 \nq(≧▽≦q)
2022-07-21 13:48:22 I/stdout: https://zhuanlan.zhihu.com/p/544210433
2022-07-21 13:48:22 E/Reporter: Exception in coroutine Plugin online.ruin_of_future.reporter of Reporter
java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.desktop/java.awt.image.BufferedImage.createGraphics(Unknown Source)
at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.NewsCrawler.newsToday(NewsCrawler.kt:124)
at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendNewsToTarget$1.invokeSuspend(App.kt:96)
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)
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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)2022-07-21 13:48:26 V/Bot.打码: Pumilk(打码) -> 今日番剧
2022-07-21 13:48:26 I/Reporter: Pumilk 发起了动画请求...
2022-07-21 13:48:26 V/Bot.打码: Friend(打码) <- 这是今天的 B 站番剧 \n( •̀ ω •́ )✧
2022-07-21 13:48:26 E/Reporter: Exception in coroutine Plugin online.ruin_of_future.reporter of Reporter
java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.desktop/java.awt.image.BufferedImage.createGraphics(Unknown Source)
at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.AnimeCrawler.buildImageByteArray(AnimeCrawler.kt:103)
at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.AnimeCrawler.animeByDate(AnimeCrawler.kt:202)
at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.AnimeCrawler.animeToday(AnimeCrawler.kt:210)
at news-reporter-1.3.3.mirai.jar//online.ruin_of_future.reporter.ReporterPlugin$onEnable$sendAnimeToTarget$1.invokeSuspend(App.kt:124)
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)
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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) -
字体有点小,可以调大点嘛,我没有找到配置文件
-
@HOLIC 可以