@cssxsh 所以这种情况是正常的么?就是要一两天重新登陆下。
TeamBreakerr 发布的帖子
-
RE: Weibo Helper 一个简单的将微博转发到QQ的插件
io.ktor.client.plugins.ClientRequestException: Client request(GET https://weibo.com/ajax/feed/groupstimeline?list_id=4924304942694829&refresh=1&count=100) invalid: 400 . Text: "<h2>400 Bad Request</h2>"
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invokeSuspend(DefaultResponseValidation.kt:54)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invoke(DefaultResponseValidation.kt)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invoke(DefaultResponseValidation.kt)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator.validateResponse(HttpCallValidator.kt:51)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator.access$validateResponse(HttpCallValidator.kt:43)
at weibo-helper-1.6.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Companion$install$3.invokeSuspend(HttpCallValidator.kt:152)
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)
请问这种错误是什么原因?重新登录下会恢复正常,但是坚持不了几天。 -
RE: MonopolyForMirai 大富翁插件
@何梓Black
触发条件是,在掷完之后,在机器人还没有说消息时,立马回复"是"
多试几次就会出现多个人进入OnTerm状态,只有一个人能继续进行游戏。
应该搞个互斥啥的? -
RE: 【TheresaBot】Pixiv日榜 涩图推送 搜索原图 词云 谁是卧底 Web界面
长时间启动之后,Lolicon的接口会报错,其他接口没问题。重启恢复正常。
sendGeneralLoliconImageAsync异常
The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
详细请查看Log日志2022-11-04 07:54:00,713 [184] ERROR RollingLog [(null)] - sendGeneralLoliconImageAsync异常
System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
---> System.TimeoutException: The operation was canceled.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
---> System.Net.Sockets.SocketException (125): Operation canceled
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Theresa3rd_Bot.Util.HttpHelper.PostJsonAsync(String url, String postJsonStr, Dictionary
2 headerDic, Int32 timeout) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\Util\HttpHelper.cs:line 104
at Theresa3rd_Bot.Business.LoliconBusiness.getLoliconResultAsync(Int32 r18Mode, String[] tags) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\Business\LoliconBusiness.cs:line 50
at Theresa3rd_Bot.Handler.LoliconHandler.sendGeneralLoliconImageAsync(IMiraiHttpSession session, IGroupMessageEventArgs args, String message) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\Handler\LoliconHandler.cs:line 55 -
RE: 简单的Rss订阅插件 已添加RssHub支持 番剧订阅Bt种子自动上传
@cssxsh 我的服务器在境外。
我尝试访问其他一些测试没问题的连接
他们往往是没反应。
后台也不输出 -
RE: 【TheresaBot】Pixiv日榜 涩图推送 搜索原图 词云 谁是卧底 Web界面
@Hamster 库删除了重新生成还是一样的错误。
不知道是不是8.0.30和8.0.31语法规则不同的问题,但是linux降级mysql版本好像太麻烦了,搞不来😭 -
RE: 【TheresaBot】Pixiv日榜 涩图推送 搜索原图 词云 谁是卧底 Web界面
@Hamster 就是release的最新版。
系统是ubuntu 20.04
mysq是8.0.31
数据表没有动过呀,自动建表时我能看到数据库建立成功了,但是表没有
我也不知道c#的sql写在哪😭