1

クライアントのサイトで実行されているアプリの問題のトラブルシューティングを試みています。アプリはWCFを使用してファイルを送受信します。正常に実行されていましたが、クライアントが同じネットワーク内の別のマシンから実行を開始した後、次のエラーが表示され始めました。

00:00:57.6797680以降、応答を待っている間に要求チャネルがタイムアウトしました。Requestの呼び出しに渡されるタイムアウト値を増やすか、Bindingの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>

更新:サービスへの接続はOKです-アプリは同じサービスから他のサービス操作を問題なく実行します。1つの特定の操作(ファイルを取得する)がエラーの原因です。

どこから探し始めますか?

ありがとう!

4

1 に答える 1

1

大きなファイルを送信していますか?

SendTimeout属性を増やしましたか?(私はあなたの設定でそれを見ませんでした)

于 2012-08-01T17:16:20.763 に答える