java.net.SocketTimeoutException: Read timed out

MuleSoft JIRA | Daniel Zapata | 7 years ago
  1. 0

    Running the loanbroker example throws the following exception when making 100 loan requests: ERROR 2009-11-13 09:17:02,356 [connector.http.0.dispatcher.2] org.mule.DefaultExceptionStrategy: ******************************************************************************** Message : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:50080/mule/TheBank5?method=getLoanQuote, connector=HttpConnector{this=1e7d12b, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}, transformer=[ObjectToHttpClientMethodRequest{this=1cb2dd1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}], name='endpoint.http.localhost.50080.mule.TheBank5.method.getLoanQuote', properties={method=getLoanQuote}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod Type : org.mule.api.transport.DispatchException Code : MULE_ERROR-42999 Payload : org.apache.commons.httpclient.methods.PostMethod@105dd2c JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html ******************************************************************************** Exception stack is: 1. Read timed out (java.net.SocketTimeoutException) java.net.SocketInputStream:-2 (null) 2. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:50080/mule/TheBank5?method=getLoanQuote, connector=HttpConnector{this=1e7d12b, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}, transformer=[ObjectToHttpClientMethodRequest{this=1cb2dd1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}], name='endpoint.http.localhost.50080.mule.TheBank5.method.getLoanQuote', properties={method=getLoanQuote}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod (org.mule.api.transport.DispatchException) org.mule.transport.http.HttpClientMessageDispatcher:132 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html) ******************************************************************************** Root Exception stack trace: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.mule.transport.http.HttpClientMessageDispatcher.execute(HttpClientMessageDispatcher.java:125) at org.mule.transport.http.HttpClientMessageDispatcher.doDispatch(HttpClientMessageDispatcher.java:99) at org.mule.transport.AbstractMessageDispatcher$Worker.doRun(AbstractMessageDispatcher.java:266) at org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:41) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:619)

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    java.net.SocketTimeoutException: Read timed out
  2. 0

    Running the loanbroker example throws the following exception when making 100 loan requests: ERROR 2009-11-13 09:17:02,356 [connector.http.0.dispatcher.2] org.mule.DefaultExceptionStrategy: ******************************************************************************** Message : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:50080/mule/TheBank5?method=getLoanQuote, connector=HttpConnector{this=1e7d12b, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}, transformer=[ObjectToHttpClientMethodRequest{this=1cb2dd1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}], name='endpoint.http.localhost.50080.mule.TheBank5.method.getLoanQuote', properties={method=getLoanQuote}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod Type : org.mule.api.transport.DispatchException Code : MULE_ERROR-42999 Payload : org.apache.commons.httpclient.methods.PostMethod@105dd2c JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html ******************************************************************************** Exception stack is: 1. Read timed out (java.net.SocketTimeoutException) java.net.SocketInputStream:-2 (null) 2. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:50080/mule/TheBank5?method=getLoanQuote, connector=HttpConnector{this=1e7d12b, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}, transformer=[ObjectToHttpClientMethodRequest{this=1cb2dd1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}], name='endpoint.http.localhost.50080.mule.TheBank5.method.getLoanQuote', properties={method=getLoanQuote}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod (org.mule.api.transport.DispatchException) org.mule.transport.http.HttpClientMessageDispatcher:132 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html) ******************************************************************************** Root Exception stack trace: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.mule.transport.http.HttpClientMessageDispatcher.execute(HttpClientMessageDispatcher.java:125) at org.mule.transport.http.HttpClientMessageDispatcher.doDispatch(HttpClientMessageDispatcher.java:99) at org.mule.transport.AbstractMessageDispatcher$Worker.doRun(AbstractMessageDispatcher.java:266) at org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:41) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:619)

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    java.net.SocketTimeoutException: Read timed out
  3. 0

    Error trying to build Jenkins on ubuntu , FAILURE: testUpload(hudson.PluginManagerTest)

    Google Groups | 5 years ago | Kamal Ahmed
    java.io.IOException: GET http://localhost:51770/pluginManager/advancedfailed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule - User - Could Not Send Message to Mule Followed by Out of Memory Error

    nabble.com | 12 months ago
    org.apache.cxf.interceptor.Fault: Could not send message to Mule.

  1. tfr 7 times, last 5 months ago
  2. kid 1 times, last 4 months ago
  3. danleyb2Interintel 1 times, last 5 months ago
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    BufferedInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(SocketInputStream.java:129)
    3. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    4. java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    4 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
    2. org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
    3. org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
    4. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
    5. org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
    6. org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
    7. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    8. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    9. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    10. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    11. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    11 frames
  4. HTTP Transport
    HttpClientMessageDispatcher.doDispatch
    1. org.mule.transport.http.HttpClientMessageDispatcher.execute(HttpClientMessageDispatcher.java:125)
    2. org.mule.transport.http.HttpClientMessageDispatcher.doDispatch(HttpClientMessageDispatcher.java:99)
    2 frames
  5. Mule Core
    WorkerContext.run
    1. org.mule.transport.AbstractMessageDispatcher$Worker.doRun(AbstractMessageDispatcher.java:266)
    2. org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:41)
    3. org.mule.work.WorkerContext.run(WorkerContext.java:310)
    3 frames
  6. Backport of JSR 166
    ThreadPoolExecutor$Worker.run
    1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
    2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
    2 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame