【TheresaBot】Pixiv日榜 涩图推送 搜索原图 词云 谁是卧底 Web界面
-
-
请问这样要怎么解决啊( -
@lycxx 我已经解决了,加作者的群,拿到sql文件
自己把表建好 -
-
@Hamster 解决了,谢谢~
-
长时间启动之后,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 -
@TeamBreakerr 先检查一下能不能访问lolicon,https://api.lolicon.app/setu/v2
-
This post is deleted! -
{
"Mirai": {
"host": "127.0.0.1",
"port": "8080",
"authKey": "INITKEYJHpFJ0WA",
"botQQ": "2145236018"
},
"Database": {
"ConnectionString": "Data Source=127.0.0.1;port=3306;Initial Catalog=theresa_bot;uid=root;pwd=lzh94666;CharSet=utf8mb4;SslMode=None;"
}
}
大佬好,抱歉打扰了,我在运行到这一步就没反应了,是我把appsettings.Production.json改错了吗? -
@Muxle 也有可能是mirai-http-api的配置不对,你把官方的配置全部复制过来改一遍
-
-
突然的报错。
Unhandled exception. (Line: 24, Col: 34, Idx: 2723) - (Line: 24, Col: 44, Idx: 2733): While parsing a block mapping, did not find expected key.
-
@蔚蓝621 检查一下botsetting.yml,参数是空的时候要留一对单引号,不能直接删掉
-
@Hamster !还真是,找了半天,最后没办法换配置
-
@Hamster 跪谢大佬,连上了(@u@)
-
-
更新到了v0.8.0
-
感谢大佬
-
大佬,QQ群里面消息被吞,是什么原因呢,\n字符?
-
@1234556789lj \n是换行符,消息发不出是风控了,你可以将图片尺寸改为缩略图,或者不发图片也行
-
@Hamster 谢谢大佬,我去试试