java.net.ConnectException: Connection timed out: connect, status=0}

GitHub | huytt1992 | 1 year 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

    GitHub comment 649#217054554

    GitHub | 1 year ago | huytt1992
    java.net.ConnectException: Connection timed out: connect, status=0}
  2. 0

    GitHub comment 649#217054554

    GitHub | 1 year ago | huytt1992
    java.net.ConnectException: Connection timed out: connect, status=0}
  3. 0

    Connection Error:

    Google Groups | 2 years ago | masoom alam
    java.net.ConnectException: Connection timed out, status=0}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven build with Docker plugin fails when executed via Jenkins

    GitHub | 1 year ago | abhitechdojo
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.wouterdanes.docker:docker-maven-plugin:5.0.0:build-images (package) on project SparkIntegrationTest: Execution package of goal net.wouterdanes.docker:docker-maven-plugin:5.0.0:build-images failed: java.net.ConnectException: Connection refused
  6. 0

    GitHub comment 115#224988836

    GitHub | 12 months ago | bijoys
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.wouterdanes.docker:docker-maven-plugin:4.2.1:build-images (build) on project ingest-docker: Execution build of goal net.wouterdanes.docker:docker-maven-plugin:4.2.1:build-images failed: java.net.ConnectException: Connection refused
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.connect0()
  2. Java RT
    HttpURLConnection.getOutputStream
    1. java.net.DualStackPlainSocketImpl.connect0(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)
    9. sun.net.NetworkClient.doConnect(Unknown Source)
    10. sun.net.www.http.HttpClient.openServer(Unknown Source)
    11. sun.net.www.http.HttpClient.openServer(Unknown Source)
    12. sun.net.www.http.HttpClient.<init>(Unknown Source)
    13. sun.net.www.http.HttpClient.New(Unknown Source)
    14. sun.net.www.http.HttpClient.New(Unknown Source)
    15. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    16. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    17. sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    18. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    18 frames
  3. jersey-core-client
    HttpUrlConnector$3.getOutputStream
    1. org.glassfish.jersey.client.HttpUrlConnector$3.getOutputStream(HttpUrlConnector.java:312)
    1 frame
  4. Jersey Core
    CommittingOutputStream.write
    1. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:200)
    2. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:194)
    3. org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:228)
    3 frames
  5. Jackson-core
    UTF8JsonGenerator.flush
    1. com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:1853)
    2. com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1034)
    2 frames
  6. Jackson
    ObjectWriter.writeValue
    1. com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:607)
    1 frame
  7. Jackson-JAXRS-base
    ProviderBase.writeTo
    1. com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:635)
    1 frame
  8. Jersey Core
    MessageBodyFactory.writeTo
    1. org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:263)
    2. org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
    3. org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
    4. org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1154)
    4 frames
  9. jersey-core-client
    JerseyInvocation$1.call
    1. org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:500)
    2. org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:315)
    3. org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:227)
    4. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:224)
    5. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:656)
    6. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:653)
    6 frames
  10. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
    4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
    4 frames
  11. jersey-core-client
    JerseyInvocation$Builder.method
    1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:653)
    2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:413)
    2 frames
  12. OpenStack4j Jersey2 Connector
    HttpExecutorServiceImpl.execute
    1. org.openstack4j.connectors.jersey2.HttpCommand.execute(HttpCommand.java:79)
    2. org.openstack4j.connectors.jersey2.HttpExecutorServiceImpl.invokeRequest(HttpExecutorServiceImpl.java:65)
    3. org.openstack4j.connectors.jersey2.HttpExecutorServiceImpl.invoke(HttpExecutorServiceImpl.java:56)
    4. org.openstack4j.connectors.jersey2.HttpExecutorServiceImpl.execute(HttpExecutorServiceImpl.java:33)
    4 frames
  13. OpenStack4j
    OSClientBuilder$ClientV3.authenticate
    1. org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:51)
    2. org.openstack4j.openstack.internal.OSAuthenticator.authenticateV3(OSAuthenticator.java:156)
    3. org.openstack4j.openstack.internal.OSAuthenticator.invoke(OSAuthenticator.java:78)
    4. org.openstack4j.openstack.client.OSClientBuilder$ClientV3.authenticate(OSClientBuilder.java:163)
    5. org.openstack4j.openstack.client.OSClientBuilder$ClientV3.authenticate(OSClientBuilder.java:127)
    5 frames
  14. com.inet.dms
    OpenStackProvisioning.main
    1. com.inet.dms.openstack4j.OpenStackProvisioning.main(OpenStackProvisioning.java:22)
    1 frame