com.turbomanage.httpclient.HttpRequestException: java.net.SocketTimeoutException: connect timed out

GitHub | micbuczynski | 5 months ago
  1. 0

    NPE while sending request

    GitHub | 5 months ago | micbuczynski
    com.turbomanage.httpclient.HttpRequestException: java.net.SocketTimeoutException: connect timed out
  2. 0

    connect timed out

    GitHub | 2 years ago | meandor
    java.net.SocketTimeoutException: connect timed out
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    My CI/CD environment is behind a proxy and can't access the network. I'm using Zapier to notify a Yammer group of our Build status. Here's the request that times out because of the lack of connectivity. Started by user mdesales Notifying endpoint 'HTTP:https://zapier.com/hooks/catch/o54xyk/' ERROR: Failed to notify endpoint 'HTTP:https://zapier.com/hooks/catch/o54xyk/' java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) at com.tikal.hudson.plugins.notification.Protocol$3.send(Protocol.java:69) at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:42) at com.tikal.hudson.plugins.notification.JobListener.onStarted(JobListener.java:31) at hudson.model.listeners.RunListener.fireStarted(RunListener.java:213) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Failed to notify endpoint 'HTTP:https://zapier.com/hooks/catch/o54xyk/' - java.net.SocketTimeoutException: connect timed out Building in workspace /app/installs/jenkins/jobs/Status Notification/workspace Notifying endpoint 'HTTP:https://zapier.com/hooks/catch/o54xyk/' ERROR: Failed to notify endpoint 'HTTP:https://zapier.com/hooks/catch/o54xyk/' java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) at com.tikal.hudson.plugins.notification.Protocol$3.send(Protocol.java:69) at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:42) at com.tikal.hudson.plugins.notification.JobListener.onCompleted(JobListener.java:36) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1796) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Failed to notify endpoint 'HTTP:https://zapier.com/hooks/catch/o54xyk/' - java.net.SocketTimeoutException: connect timed out Finished: SUCCESS

    Jenkins JIRA | 2 years ago | Marcello de Sales
    java.net.SocketTimeoutException: connect timed out

  1. mortalman7 2 times, last 5 months ago
  2. Aria Pahlavan 1 times, last 1 week ago
  3. Nikolay Rybak 1 times, last 2 weeks ago
  4. aldrinleal 1 times, last 2 weeks ago
  5. tvrmsmith 2 times, last 3 weeks ago
13 more registered users
31 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

    connect timed out

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:579)
    8 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
    1 frame
  4. Java RT
    HttpsURLConnectionImpl.connect
    1. sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    2. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    3. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    4. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    5. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)
    8. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    9. sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
    9 frames
  5. com.turbomanage.httpclient
    AbstractHttpClient.post
    1. com.turbomanage.httpclient.AbstractHttpClient.doHttpMethod(AbstractHttpClient.java:214)
    2. com.turbomanage.httpclient.AbstractHttpClient.execute(AbstractHttpClient.java:173)
    3. com.turbomanage.httpclient.AbstractHttpClient.post(AbstractHttpClient.java:130)
    3 frames
  6. com.mailjet.client
    MailjetClient.post
    1. com.mailjet.client.MailjetClient.post(MailjetClient.java:182)
    1 frame
  7. com.comarch.telco
    test.main
    1. com.comarch.telco.t3arts.agents.mailing.mailjet.test.main(test.java:33)
    1 frame