Open blue-lf opened 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
1 accessTokenContainer_GetFirstOrDefaultAppIdAsyncFunc, Func
3 accessTokenContainer_GetAccessTokenResultAsyncFunc, Int32 invalidCredentialValue, Func
2 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, ValueTask
由于长时间用户OpenId未和微信公众号做互动消息,微信公众号会停止对用户进行消息推送。
{"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.<b 0>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, Funcg__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
1 accessTokenContainer_GetFirstOrDefaultAppIdAsyncFunc, Func
2 accessTokenContainer_CheckRegisteredAsyncFunc, Func3 accessTokenContainer_GetAccessTokenResultAsyncFunc, Int32 invalidCredentialValue, Func
2 fun, String accessTokenOrAppId, Boolean retryIfFaild)\r\n at Senparc.Weixin.CommonAPIs.ApiHandlerWapper.ApiHandlerWapperBase.TryCommonApiBaseAsync[T](PlatformType platformType, Func1 accessTokenContainer_GetFirstOrDefaultAppIdAsyncFunc, Func
2 accessTokenContainer_CheckRegisteredAsyncFunc, Func3 accessTokenContainer_GetAccessTokenResultAsyncFunc, Int32 invalidCredentialValue, Func
2 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, ValueTask
1 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.