1
我想解決與我的應用程序在客戶端的網站上運行的問題。該應用程序使用WCF發送和檢索文件。 它完美地運行,但開始顯示以下錯誤,客戶端開始從不同的機器運行在同一網絡中後:WCF - 當從不同的機器運行應用程序時,通道超時
請求信道超時而00後等待答覆:00:57.6797680。將傳遞給調用的超時值增加到 請求或增加綁定上的SendTimeout值。分配給此操作的時間 可能是更長的 超時的一部分。
配置中的所有超時已增加到10分鐘,並沒有區別。
不幸的是我不能用VS在本地運行它來調試它。
這裏的綁定:
<customBinding>
<binding name="MyServiceSoap12">
<textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
messageVersion="Soap11WSAddressingAugust2004" writeEncoding="utf-8">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</textMessageEncoding>
<security authenticationMode="UserNameOverTransport" >
<localClientSettings maxClockSkew="00:10:00"/>
<localServiceSettings maxClockSkew="00:10:00"/>
<secureConversationBootstrap>
<localClientSettings maxClockSkew="00:30:00"/>
<localServiceSettings maxClockSkew="00:30:00"/>
</secureConversationBootstrap>
</security>
<httpsTransport manualAddressing="false" maxBufferPoolSize="200000000"
maxReceivedMessageSize="200000000" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="200000000" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" requireClientCertificate="false" />
</binding>
</customBinding>
更新:連接到服務是確定 - 應用程序運行的其他服務操作,而不問題,從相同的服務。一個特定的操作(檢索文件)導致錯誤。
你從哪裏開始尋找?
謝謝!
'應用程序使用WCF' - 什麼綁定,配置等?遠程登錄測試是否從客戶端機器工作到WCF服務?將防火牆作爲* test *關閉,然後再試一次 – wal 2012-08-01 15:08:20
Wal,你是對的。我發佈了綁定。 – 2012-08-01 15:16:47
與服務的連接正常 - 應用程序從同一服務運行其他服務操作,沒有問題。一個特定的操作導致錯誤。 – 2012-08-01 15:19:06