妄想社成员 发表于 2024-2-27 09:12:38

[9.0.103.0] 发布显示an error occurred while sending the request




时间
09:10:35

日志类型
异常日志

请求路径
/Publish/Publish

异常调用堆栈
{"ClassName": "System.IO.IOException","Message": "","Data": null,"InnerException": {    "$type": "Microsoft.AspNetCore.Server.HttpSys.HttpSysException, Microsoft.AspNetCore.Server.HttpSys",    "ErrorCode": 995,    "NativeErrorCode": 995,    "Message": "由于线程退出或应用程序请求,已中止 I/O 操作。",    "Data": {      "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib"    },    "InnerException": null,    "HelpLink": null,    "Source": null,    "HResult": -2147467259,    "StackTrace": null},"HelpURL": null,"StackTraceString": "   at Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)   at Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions.DrainAsync(Stream stream, ArrayPool`1 bytePool, Nullable`1 limit, CancellationToken cancellationToken)   at Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter.ReadRequestBodyAsync(InputFormatterContext context, Encoding encoding)   at Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder.BindModelAsync(ModelBindingContext bindingContext)   at Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.BindModelAsync(ActionContext actionContext, IModelBinder modelBinder, IValueProvider valueProvider, ParameterDescriptor parameter, ModelMetadata metadata, Object value, Object container)   at Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegateProvider.<>c__DisplayClass0_0.<<CreateBinderDelegate>g__Bind|0>d.MoveNext()--- End of stack trace from previous location ---   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)   at Forguncy.UserService2.KatanaMiddleware.ControllerMiddleware.InvokeAsync(HttpContext context)   at Forguncy.UserService2.KatanaMiddleware.AdminPortalFrontMiddleware.InvokeAsync(HttpContext context)   at ForguncyServerCommon.HttpHeaderMiddlewareBase.InvokeAsync(HttpContext context)   at Forguncy.KatanaMiddleware.b.InvokeAsync(HttpContext context)","RemoteStackTraceString": null,"RemoteStackIndex": 0,"ExceptionMethod": null,"HResult": -2146232800,"Source": "System.Private.CoreLib","WatsonBuckets": null}

请求Id
7ccb53f5-e82f-4509-8728-cb364ba87cc4

妄想社成员 发表于 2024-2-27 09:12:39

验证了 逆天结果,网络问题,公司网络就一直报错,家里就没有问题

Joe.xu 发表于 2024-2-27 13:40:40

看起来像是发布的线程被其他程序中断了,
楼主检查一下是不是服务管理器上有杀毒软件,360/火绒之内的,
实在无法排查的话,可以收集一下服务器错误日志,说下出错的应用和大概时间,我们结合分析一下
一看就会,超有用活字格技能:四十五,错误日志收集功能
https://gcdn.grapecity.com.cn/showtopic-52854-1-1.html
(出处: 葡萄城开发者社区)

Joe.xu 发表于 2024-2-28 10:07:33

;P;P,找下网管,看看设置了什么针对我活字格
页: [1]
查看完整版本: [9.0.103.0] 发布显示an error occurred while sending the request