com.microsoft.windowsazure.exception.ServiceException: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection timed out: connect

Stack Overflow | sjohnston | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can I set a proxy for Azure service bus connections in Java SDK 0.9.0?

    Stack Overflow | 5 months ago | sjohnston
    com.microsoft.windowsazure.exception.ServiceException: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection timed out: connect
  2. 0

    Unexpected HttpURLConnection connection behavior

    Stack Overflow | 4 months ago | David Zapata
    java.net.ConnectException: Connection timed out: connect
  3. 0

    ERROR org.apache.cxf.binding.soap.SoapFault: Connection timed out

    Stack Overflow | 2 weeks ago | bentakayze
    org.apache.cxf.binding.soap.SoapFault: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Recurly : Connection refused during Recurly server connection through my code

    Stack Overflow | 1 year ago | Jitendra Yadav
    java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: connect

  1. Andreas Häber 9 times, last 3 months ago
  2. mortalman7 1 times, last 7 months ago
  3. kid 5 times, last 11 months ago
  4. iferca 1 times, last 2 weeks ago
  5. Nikolay Rybak 1010 times, last 2 weeks ago
50 more registered users
45 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.ConnectException

    Connection timed out: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    8 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    1 frame
  4. Java RT
    HttpsURLConnectionImpl.getOutputStream
    1. sun.net.NetworkClient.doConnect(Unknown Source)
    2. sun.net.www.http.HttpClient.openServer(Unknown Source)
    3. sun.net.www.http.HttpClient.openServer(Unknown Source)
    4. sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    5. sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    8. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    9. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    10. sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)
    11. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    12. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    12 frames
  5. jersey-client
    CommittingOutputStream.flush
    1. com.sun.jersey.client.urlconnection.URLConnectionClientHandler$1$1.getOutputStream(URLConnectionClientHandler.java:234)
    2. com.sun.jersey.api.client.CommittingOutputStream.commitWrite(CommittingOutputStream.java:117)
    3. com.sun.jersey.api.client.CommittingOutputStream.flush(CommittingOutputStream.java:100)
    3 frames
  6. Java RT
    BufferedWriter.flush
    1. sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
    2. sun.nio.cs.StreamEncoder.flush(Unknown Source)
    3. java.io.OutputStreamWriter.flush(Unknown Source)
    4. java.io.BufferedWriter.flush(Unknown Source)
    4 frames
  7. jersey-core
    StringProvider.writeTo
    1. com.sun.jersey.core.util.ReaderWriter.writeToAsString(ReaderWriter.java:191)
    2. com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeToAsString(AbstractMessageReaderWriterProvider.java:128)
    3. com.sun.jersey.core.impl.provider.entity.StringProvider.writeTo(StringProvider.java:88)
    4. com.sun.jersey.core.impl.provider.entity.StringProvider.writeTo(StringProvider.java:58)
    4 frames
  8. jersey-client
    URLConnectionClientHandler.handle
    1. com.sun.jersey.api.client.RequestWriter.writeRequestEntity(RequestWriter.java:300)
    2. com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:213)
    3. com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
    3 frames
  9. com.microsoft.windowsazure
    ClientFilterRequestAdapter.handle
    1. com.microsoft.windowsazure.services.servicebus.implementation.AuthorizationFilter.handle(AuthorizationFilter.java:39)
    2. com.microsoft.windowsazure.core.pipeline.jersey.ClientFilterRequestAdapter.handle(ClientFilterRequestAdapter.java:35)
    2 frames
  10. jersey-client
    WebResource.post
    1. com.sun.jersey.api.client.Client.handle(Client.java:648)
    2. com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)
    3. com.sun.jersey.api.client.WebResource.post(WebResource.java:251)
    3 frames
  11. com.microsoft.windowsazure
    ServiceBusExceptionProcessor.receiveQueueMessage
    1. com.microsoft.windowsazure.services.servicebus.implementation.ServiceBusRestProxy.receiveMessage(ServiceBusRestProxy.java:248)
    2. com.microsoft.windowsazure.services.servicebus.implementation.ServiceBusRestProxy.receiveQueueMessage(ServiceBusRestProxy.java:216)
    3. com.microsoft.windowsazure.services.servicebus.implementation.ServiceBusExceptionProcessor.receiveQueueMessage(ServiceBusExceptionProcessor.java:137)
    3 frames
  12. com.mycompany.dr
    TheirCompanyDataListener.lambda$0
    1. com.mycompany.dr.theircompany.TheirCompanyDataListener.receiveMessage(TheirCompanyDataListener.java:127)
    2. com.mycompany.dr.theircompany.TheirCompanyDataListener.lambda$0(TheirCompanyDataListener.java:75)
    2 frames
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame