【发布时间】:2011-04-28 18:52:59
【问题描述】:
CommunicationException was unhandled by user code
The socket connection was aborted. This could be caused by an error processing your message
or a receive timeout being exceeded by the remote host, or an underlying network resource
issue. Local socket timeout was '02:48:04.9840000'.
几个月来我一直在测试这个应用程序,并且在对其中一项服务进行小幅更改后刚刚看到这个错误。只有几秒钟,所以我认为这不是超时问题。
InnerException: System.IO.IOException : 读取操作失败,查看内部异常
(Inner) InnerException: System.Net.Sockets.SocketException - 现有连接被远程主机强行关闭。
非常感谢任何建议!
提前致谢
【问题讨论】:
-
我建议你调查一下远程主机关闭连接的原因。
-
好吧,当我调试它时,一切似乎都很好,但是当从管理器返回到代理(客户端)时,抛出异常。我想说更多的数据通过是允许的,但不会比平常更多的数据通过
-
您尝试过 WCF 跟踪吗?
-
你能为这个拉迪斯拉夫推荐一个好的资源吗?