All of the above was working properly with my Liquibase project with Cassandra 3.11.0, but once I upgraded to Cassandra 4.0.6 I started getting the connection issue:
Caused by: com.simba.cassandra.support.exceptions.GeneralException: [Simba]CassandraJDBCDriver Error setting/closing connection: All host(s) tried for query failed (tried: xxxx:9042 (com.simba.cassandra.shaded.datastax.driver.core.exceptions.TransportException: [xxxx:9042] Channel has been closed)).
(I xxxx’d out my server and IP for my cluster)
On the Cassandra side of things I get the error in my log:
I was able to test that my JDBC jar is able to connect to my Cassandra DB without any issue using my JDBC url via Intellijj’s database GUI, so I don’t believe anything is wrong there. And all of my applications that speak with this Cassandra database work properly still as well, only my liquibase project is effected.
To Reproduce
I get this issue by running:
java -jar jars/liquibase-core-4.6.1.jar --defaultsFile=liquibase/liquibase.properties status
When connecting to my Cassandra 4.0.6 database.
But I get this same issue if I download Liquibase 4.17.2 and use the liquibase CLI
Expected behavior
I should be able to see the liquibase status for my given liquibase project.
Jars used:
All of the above was working properly with my Liquibase project with Cassandra 3.11.0, but once I upgraded to Cassandra 4.0.6 I started getting the connection issue:
Caused by: com.simba.cassandra.support.exceptions.GeneralException: [Simba]CassandraJDBCDriver Error setting/closing connection: All host(s) tried for query failed (tried: xxxx:9042 (com.simba.cassandra.shaded.datastax.driver.core.exceptions.TransportException: [xxxx:9042] Channel has been closed)).
(I xxxx’d out my server and IP for my cluster)
On the Cassandra side of things I get the error in my log:
I was able to test that my JDBC jar is able to connect to my Cassandra DB without any issue using my JDBC url via Intellijj’s database GUI, so I don’t believe anything is wrong there. And all of my applications that speak with this Cassandra database work properly still as well, only my liquibase project is effected.
To Reproduce I get this issue by running:
java -jar jars/liquibase-core-4.6.1.jar --defaultsFile=liquibase/liquibase.properties status
When connecting to my Cassandra 4.0.6 database. But I get this same issue if I download Liquibase 4.17.2 and use the liquibase CLIExpected behavior I should be able to see the liquibase status for my given liquibase project.
Liquibase Version: