首页 > 解决方案 > .net core 3.1 - 读取操作失败,见内部异常。System.Net.Http.WinHttpException (0x80004004): Operation aborted;

问题描述

以下请求到达服务器,服务器将响应返回给客户端。

response = ServiceInterfaceClient.OperationName(request);

但是客户端总是抛出这个问题。

"发生一个或多个错误。(读取操作失败,请参阅内部异常。)System.IO.IOException: 读取操作失败,请参阅内部异常。\r\n ---> System.Net.Http.WinHttpException (0x80004004 ): 操作中止\r\n --- 内部异常堆栈跟踪结束 ---\r\n 在 System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult 结果)\r\n 在 System.ServiceModel.Channels。 ServiceChannel.SendAsyncResult.End(SendAsyncResult 结果)\r\n 在 System.ServiceModel.Channels.Service

标签: c#.net

解决方案


推荐阅读