Software caused connection Abort:recv failed error

Source: Internet
Author: User

Java.net.SocketException:Software caused connection Abort:recv failed
At java.net.SocketInputStream.socketRead0 (Native Method)
At Java.net.SocketInputStream.read (Unknown Source)
At Java.net.SocketInputStream.read (Unknown Source)
At Org.apache.http.impl.conn.LoggingInputStream.read (logginginputstream.java:87)
At Org.apache.http.impl.io.SessionInputBufferImpl.streamRead (sessioninputbufferimpl.java:139)
At Org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer (sessioninputbufferimpl.java:155)
At Org.apache.http.impl.io.SessionInputBufferImpl.readLine (sessioninputbufferimpl.java:284)
At Org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead (defaulthttpresponseparser.java:140)
At Org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead (defaulthttpresponseparser.java:57)
At Org.apache.http.impl.io.AbstractMessageParser.parse (abstractmessageparser.java:261)
At Org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader (Defaultbhttpclientconnection.java : 165)
At Org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader (cpoolproxy.java:167)
At Org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse (httprequestexecutor.java:272)
At Org.apache.http.protocol.HttpRequestExecutor.execute (httprequestexecutor.java:124)
At Org.apache.http.impl.execchain.MainClientExec.execute (mainclientexec.java:271)
At Org.apache.http.impl.execchain.ProtocolExec.execute (protocolexec.java:184)
At Org.apache.http.impl.execchain.RetryExec.execute (retryexec.java:88)
At Org.apache.http.impl.execchain.RedirectExec.execute (redirectexec.java:110)
At Org.apache.http.impl.client.InternalHttpClient.doExecute (internalhttpclient.java:184)
At Org.apache.http.impl.client.CloseableHttpClient.execute (closeablehttpclient.java:82)
At Org.apache.http.impl.client.CloseableHttpClient.execute (closeablehttpclient.java:107)
At Com.yeapoo.carcare.util.HttpClientUtils.doPost (httpclientutils.java:140)
At Com.yeapoo.carcare.util.HttpClientUtils.doPost (httpclientutils.java:55)
At Com.yeapoo.carcare.service.QuNaBaoService.searchCarStyle (qunabaoservice.java:42)
At Com.yeapoo.carcare.controller.QuNaBaoController.searchCarStyle (qunabaocontroller.java:45)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
At Java.lang.reflect.Method.invoke (Unknown Source)
At Org.springframework.web.method.support.InvocableHandlerMethod.invoke (invocablehandlermethod.java:215)
At Org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (Invocablehandlermethod.java : 132)
At Org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle ( SERVLETINVOCABLEHANDLERMETHOD.JAVA:104)
At Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod ( requestmappinghandleradapter.java:745)
At Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal ( requestmappinghandleradapter.java:685)
At Org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle ( ABSTRACTHANDLERMETHODADAPTER.JAVA:80)
At Org.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:919)
At Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:851)
At Org.springframework.web.servlet.FrameworkServlet.processRequest (frameworkservlet.java:953)
At Org.springframework.web.servlet.FrameworkServlet.doGet (frameworkservlet.java:844)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:617)
At Org.springframework.web.servlet.FrameworkServlet.service (frameworkservlet.java:829)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:723)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:290)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent (sitemeshfilter.java:129)
At Com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter (sitemeshfilter.java:77)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:235)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (characterencodingfilter.java:88)
At Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:106)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:235)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:233)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:191)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:127)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:103)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:109)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:293)
At Org.apache.coyote.http11.Http11Processor.process (http11processor.java:861)
At Org.apache.coyote.http11.http11protocol$http11connectionhandler.process (http11protocol.java:606)
At Org.apache.tomcat.util.net.jioendpoint$worker.run (jioendpoint.java:489)
At Java.lang.Thread.run (Unknown Source)

Recent projects using the HttpClient connection interface, there will be a certain frequency to report this error, the same method sometimes through the occasional report this error,

The reason is that the Closeablehttpclient class is defined as a static property, using this tool class to connect the interface, cannot close the httpclient can only use Httpget.releaseconnection (), method, cause the connection is not closed,

Finally, Closeablehttpclient This method is written in the class to create

Software caused connection Abort:recv failed error

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.