c# - .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# - C# Windows:如何从触控笔获取更准确的点数据?
- git - 如何从上次提交中取消添加文件但保留本地更改?
- excel - 如何检查重复并显示计数 MsgBox
- java - 如何使用 WorkManager 显示新活动(屏幕)
- sql - Gupta SQL Base 限制返回的行数
- rbac - 使用 RBAC 运行性能工具
- javascript - 如何打开引导模式窗口弹出窗口而不是在新窗口中打开它?
- android - 从片段中的 RecyclerView 按钮打开新片段
- azure - 如何在 Azure cosmosDB 中执行事务性批处理操作
- c# - 如何在 MEF 中动态和按需加载插件?