org.openstack4j.api.exceptions.ConnectionException: Connect to **** failed: Connection timed out

tip

Check if your MongoDB is available.


rp
tip

host port isnt set

tip

To restart the Selenium Webdriver mock browser in a testcase, first use 'driver.close()' and then reinstantiate the driver.

tip

Firewall might be blocking your connection, or MySQL it's not running on your server machine.


rafael
tip

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


rafael
tip

Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.


rafael
tip

spring-data-redis requires redis 2.6+ to work properly.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 380#106480510
    via GitHub by symcssn
    ,
  • GitHub comment 380#106480510
    via GitHub by symcssn
    ,
  • GitHub comment 177#275369417
    via GitHub by MichaelRoeder
    ,
  • Play akka connection Timed out
    via Stack Overflow by MilesToGo
    ,
    • org.openstack4j.api.exceptions.ConnectionException: Connect to **** failed: Connection timed out at org.openstack4j.connectors.httpclient.HttpExecutorServiceImpl.invoke(HttpExecutorServiceImpl.java:55)[openstack4j-httpclient-2.0.2.jar:na] at org.openstack4j.connectors.httpclient.HttpExecutorServiceImpl.execute(HttpExecutorServiceImpl.java:29)[openstack4j-httpclient-2.0.2.jar:na] at org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:51)[openstack4j-2.0.2.jar:na] at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.executeWithResponse(BaseOpenStackService.java:173)[openstack4j-2.0.2.jar:na] at org.openstack4j.openstack.storage.object.internal.ObjectStorageObjectServiceImpl.download(ObjectStorageObjectServiceImpl.java:190)[openstack4j-2.0.2.jar:na] at org.openstack4j.openstack.storage.object.internal.ObjectStorageObjectServiceImpl.download(ObjectStorageObjectServiceImpl.java:182)[openstack4j-2.0.2.jar:na] at org.openstack4j.openstack.storage.object.domain.SwiftObjectImpl.download(SwiftObjectImpl.java:102)[openstack4j-2.0.2.jar:na] Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to ****** failed: Connection timed out at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:140)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)[httpclient-4.3.6.jar:4.3.6] at org.openstack4j.connectors.httpclient.HttpCommand.execute(HttpCommand.java:149)[openstack4j-httpclient-2.0.2.jar:na] at org.openstack4j.connectors.httpclient.HttpExecutorServiceImpl.invokeRequest(HttpExecutorServiceImpl.java:60)[openstack4j-httpclient-2.0.2.jar:na] at org.openstack4j.connectors.httpclient.HttpExecutorServiceImpl.invoke(HttpExecutorServiceImpl.java:53)[openstack4j-httpclient-2.0.2.jar:na] ... 7 more Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method)[na:1.8.0_20] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)[na:1.8.0_20] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_20] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_20] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_20] at java.net.Socket.connect(Socket.java:589)[na:1.8.0_20] at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:244)[httpclient-4.3.6.jar:4.3.6] at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)[httpclient-4.3.6.jar:4.3.6] ... 20 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    filipebatista
    filipebatista2 times, last one,
    Vikram
    Vikram1 times, last one,
    Aria Pahlavan
    Aria Pahlavan2 times, last one,
    478 more bugmates