简体   繁体   中英

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

I am getting this 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) occurred while transmitting data.

Apparently I start getting this error if I try to transfer any file over 50 MB. I am using WCF. I have web services written in Java/Tomcat.

Could it be a problem in server-side configurations?

The server is Tomcat, can you tell me which value to customize in that case?

<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>

If you take your error message and google it you will find many answers.

A 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)

Here is one. http://support.microsoft.com/kb/196271

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM