嗨從Windows WCF客戶端向OSR(Oracle Service Registry)發送請求時出現以下錯誤。當從Windows WCF客戶端向Oracle Service Registry發送請求時發生TCP錯誤代碼10060
「無法連接到http://xxxx:xx/registry/uddi/inquiry TCP錯誤代碼10060:連接嘗試失敗,原因是連接方在一段時間後沒有正確響應,或者由於連接的主機未能響應HostIPAddress:端口而導致建立的連接失敗。
內部異常是: 'realProxy'類的方法'handleReturnMessage'中發生了類型'System.ServiceModel.EndpointNotFoundException'的異常。
Env詳細信息: WCF客戶端安裝在通過寬帶連接的多臺遠程計算機上。 OSR安裝在Linux上(我沒有任何控制權)。
WCF客戶端詳細信息: .NET Framewrok 3.5 Win Form app。 客戶端配置文件顯示OSR端點和綁定的詳細信息。
<basicHttpBinding>
<binding name="basHTTPBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
<client>
<endpoint binding="basicHttpBinding" bindingConfiguration="basHTTPBinding" contract="XXXX" name="OSR" />
</client>
請讓我知道你對這個錯誤發生的原因的任何想法。請注意,這發生intermitently。
謝謝。