Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,

    Check if your MariaDB is running and available.

Solutions on the web

via Google Groups by masoom alam, 1 year ago
Connection timed out, status=0}
via GitHub by elenamarkoska
, 2 years ago
Connection timed out: connect, status=0}
via GitHub by huytt1992
, 1 year ago
Connection timed out: connect, status=0}
via GitHub by huytt1992
, 1 year ago
Connection timed out: connect, status=0}
via Stack Overflow by little.toblerone
, 2 years ago
Connection timed out: connect, status=0} What could be causing this? Thanks in advance. Stack trace: Exception in thread "main" ConnectionException{message=java.net.ConnectException: Connection timed out: connect, status=0}
java.net.ConnectException: Connection 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.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.http.HttpClient.(HttpClient.java:211)	at sun.net.www.http.HttpClient.New(HttpClient.java:308)	at sun.net.www.http.HttpClient.New(HttpClient.java:326)	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1092)	at org.glassfish.jersey.client.HttpUrlConnector$3.getOutputStream(HttpUrlConnector.java:312)	at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:200)	at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:194)	at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:228)	at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:1853)	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1034)	at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:607)	at com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:635)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:263)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)	at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1154)	at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:500)	at org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:315)	at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:227)	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:224)	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:656)	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:653)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:653)	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:413)	at org.openstack4j.connectors.jersey2.HttpCommand.execute(HttpCommand.java:79)	at org.openstack4j.connectors.jersey2.HttpExecutorServiceImpl.invokeRequest(HttpExecutorServiceImpl.java:65)	at org.openstack4j.connectors.jersey2.HttpExecutorServiceImpl.invoke(HttpExecutorServiceImpl.java:56)	at org.openstack4j.connectors.jersey2.HttpExecutorServiceImpl.execute(HttpExecutorServiceImpl.java:33)	at org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:51)	at org.openstack4j.openstack.internal.OSAuthenticator.authenticateV2(OSAuthenticator.java:96)	at org.openstack4j.openstack.internal.OSAuthenticator.invoke(OSAuthenticator.java:47)	at org.openstack4j.openstack.client.OSClientBuilder$ClientV2.authenticate(OSClientBuilder.java:95)	at org.openstack4j.openstack.client.OSClientBuilder$ClientV2.authenticate(OSClientBuilder.java:70)	at testingKeystone.main(testingKeystone.java:21)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)