siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.67k stars 1.21k forks source link

微信公众号私聊报错 #3160

Open blue-lf opened 3 years ago

blue-lf commented 3 years ago

{"message":"微信 POST 请求发生错误!错误代码:45015,说明:response out of time limit or subscription is canceled rid: 60f7d92a-2e17c5c3-0a882e27","stackTrace":" at Senparc.Weixin.CommonAPIs.CommonJsonSend.<>c.<.cctor>b6_1(String apiUrl, String returnText)\r\n at Senparc.CO2NET.HttpUtility.Post.PostGetJsonAsync[T](IServiceProvider serviceProvider, String url, CookieContainer cookieContainer, Stream fileStream, Encoding encoding, String certName, Boolean useAjax, Boolean checkValidationResult, Action`2 afterReturnText, Int32 timeOut)\r\n at Senparc.Weixin.CommonAPIs.CommonJsonSend.SendAsync[T](String accessToken, String urlFormat, Object data, CommonJsonSendType sendType, Int32 timeOut, Boolean checkValidationResult, JsonSetting jsonSetting)\r\n at Senparc.Weixin.CommonAPIs.CommonJsonSend.SendAsync(String accessToken, String urlFormat, Object data, CommonJsonSendType sendType, Int32 timeOut, Boolean checkValidationResult, JsonSetting jsonSetting)\r\n at Senparc.Weixin.MP.AdvancedAPIs.CustomApi.<>c__DisplayClass12_0.<b0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Senparc.Weixin.CommonAPIs.ApiHandlerWapper.ApiHandlerWapperBase.TryCommonApiBaseAsync[T](PlatformType platformType, Func1 accessTokenContainer_GetFirstOrDefaultAppIdAsyncFunc, Func2 accessTokenContainer_CheckRegisteredAsyncFunc, Func3 accessTokenContainer_GetAccessTokenResultAsyncFunc, Int32 invalidCredentialValue, Func2 fun, String accessTokenOrAppId, Boolean retryIfFaild)\r\n at Senparc.Weixin.CommonAPIs.ApiHandlerWapper.ApiHandlerWapperBase.TryCommonApiBaseAsync[T](PlatformType platformType, Func1 accessTokenContainer_GetFirstOrDefaultAppIdAsyncFunc, Func2 accessTokenContainer_CheckRegisteredAsyncFunc, Func3 accessTokenContainer_GetAccessTokenResultAsyncFunc, Int32 invalidCredentialValue, Func2 fun, String accessTokenOrAppId, Boolean retryIfFaild)\r\n at Senparc.Weixin.MP.ApiHandlerWapper.TryCommonApiAsync[T](Func2 fun, String accessTokenOrAppId, Boolean retryIfFaild)\r\n at Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendTextAsync(String accessTokenOrAppId, String openId, String content, Int32 timeOut, String kfAccount)\r\n at SSCMS.Core.Services.WxManager.CustomSendTextAsync(String accessTokenOrAppId, String openId, Int32 siteId, String text) in F:\\源码\\新1\\CMS\\cms\\src\\SSCMS.Core\\Services\\WxManager.Send.cs:line 75\r\n at SSCMS.Web.Controllers.Admin.Wx.ChatSendController.Submit(SubmitRequest request) in F:\\源码\\新1\\CMS\\cms\\src\\SSCMS.Web\\Controllers\\Admin\\Wx\\ChatSendController.Submit.cs:line 28\r\n at lambda_method(Closure , Object )\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State

Coding-Yu commented 3 years ago

由于长时间用户OpenId未和微信公众号做互动消息,微信公众号会停止对用户进行消息推送。