簡體   English   中英

TCP 錯誤 10055:無法對套接字執行操作,因為系統缺少足夠的緩沖區空間或隊列已滿

[英]TCP error 10055: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

我收到此 TCP 錯誤: (10055: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full) occurred while transmitting data.

顯然,如果我嘗試傳輸任何超過 50 MB 的文件,我就會開始收到此錯誤。 我正在使用 WCF。 我有用 Java/Tomcat 編寫的 Web 服務。

會不會是服務器端配置的問題?

服務器是Tomcat,你能告訴我在那種情況下定制哪個值嗎?

<bindings>
  <basicHttpBinding>
    <binding name="MyWebService1SoapHttpPortBinding" closeTimeout="00:01:00"
        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:11:00"
        allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
        maxBufferSize="4000000" maxReceivedMessageSize="99999999"
        messageEncoding="Mtom" textEncoding="utf-8" transferMode="StreamedRequest"
        useDefaultWebProxy="true">
     <security mode="None">
        <transport clientCredentialType="None" proxyCredentialType="None"
            realm="" />
        <message clientCredentialType="UserName" algorithmSuite="Default" />
      </security>
    </binding>
  </basicHttpBinding>
</bindings>
<client>
  <endpoint address="http://[IP]/Transfer"
      binding="basicHttpBinding" bindingConfiguration="MyWebService1SoapHttpPortBinding"
      contract="Transfer" name="MyWebService1SoapHttpPort" />
</client>

如果你把你的錯誤信息和谷歌它,你會找到很多答案。

TCP 錯誤(10055:無法對套接字執行操作,因為系統缺少足夠的緩沖區空間或隊列已滿)

這是一個。 http://support.microsoft.com/kb/196271

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM