Issue: I have been working on an issue related to WCF endpoint not found exception. We have around 30 WCF services running on an apppool that recycles every night. It has queue size of 1000. All services have basichttpbinding
with open/close timeout of 1 min and receive timeout of 10 mins. Windows Server 2008 and IIS 7 is used to host the services
问题:我一直在处理与WCF端点未找到异常相关的问题。我们在apppool上运行大约30个WCF服务,每晚都进行回收。它的队列大小为1000.所有服务都有basichttpbinding,开启/关闭超时为1分钟,接收超时为10分钟。 Windows Server 2008和IIS 7用于托管服务
Exception:
Type: EndpointNotFoundException
Details: There was no endpoint listening at https://url.com/WCFServices/LoginService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Inner Exception:
Type: System.Net.WebException
Details: The Remote name could not be resolved.
Troubleshooting:
- Issue occurs randomly throughout the day. Only happening on login service and other services are not affected.
- IIS performance monitoring done and queues are not reaching 1000.
- IIS apppool does not restart in middle of day. It has been configured to recycle at 2 am in night.
- No exception on the server side.
-
WCF logging enabled on server and client. Client shows the end point not found exception. No Exceptions on server.
在服务器和客户端上启用WCF日志记录。客户端显示未找到结束点的异常。服务器上没有例外。
Image:
问题全天随机发生。仅在登录服务和其他服务上发生不受影响。
IIS性能监控已完成,队列未达到1000。
IIS apppool在中午不会重新启动。它已被配置为在凌晨2点回收。
服务器端也不例外。
Please let me know what we can do about it as I have run out of options.
请告诉我我们可以做些什么,因为我已经没有选择。
1 个解决方案
#1
0
Given the intermittent nature of the issue, these posts may be relevant:
鉴于问题的间歇性,这些帖子可能是相关的:
-
Intermittent 'the remote name could not be resolved'?
间歇'远程名称无法解决'?
-
ASP.NET Exception: The remote name could not be resolved: 'apiconnector.com'
ASP.NET异常:无法解析远程名称:'apiconnector.com'
#1
0
Given the intermittent nature of the issue, these posts may be relevant:
鉴于问题的间歇性,这些帖子可能是相关的:
-
Intermittent 'the remote name could not be resolved'?
间歇'远程名称无法解决'?
-
ASP.NET Exception: The remote name could not be resolved: 'apiconnector.com'
ASP.NET异常:无法解析远程名称:'apiconnector.com'