java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • crate.io jdbc connection failed
    via Stack Overflow by mi_h
    ,
    • 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

    Users with the same issue

    Unknown visitor1 times, last one,