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

Solutions on the web

via Stack Overflow by mi_h
, 1 year ago
Connect to '127.0.0.1:4301' failed
via GitHub by jaykelin
, 1 year ago
Connect to '10.1.113.172:4300' failed
java.sql.SQLException: Connect to '127.0.0.1:4301' failed at io.crate.client.jdbc.CrateConnection.connect(CrateConnection.java:58) at io.crate.client.jdbc.CrateDriver.connect(CrateDriver.java:67) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:270) at CrateTestDemo.setupDatabase(CrateTestDemo.java:19) at CrateTestDemo.main(CrateTestDemo.java:10)Caused by: io.crate.shade.org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [] at io.crate.shade.org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:309) at io.crate.shade.org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:201) at io.crate.client.InternalCrateClient.execute(InternalCrateClient.java:87) at io.crate.client.InternalCrateClient.execute(InternalCrateClient.java:70) at io.crate.client.InternalCrateClient.sql(InternalCrateClient.java:59) at io.crate.client.CrateClient.sql(CrateClient.java:152) at io.crate.client.jdbc.CrateStatement.execute(CrateStatement.java:65) at io.crate.client.jdbc.CrateStatementBase.executeQuery(CrateStatementBase.java:37) at io.crate.client.jdbc.CrateDatabaseMetaData.getDatabaseProductVersion(CrateDatabaseMetaData.java:79) at io.crate.client.jdbc.CrateConnection.connect(CrateConnection.java:56) ... 5 more