Trevor Muraro
Trevor Muraro
Currently, I'm pretty sure you can't. ThingsBoard 3.0 calls DataStax's `withLocalDataCenter` function [with the hardcoded value "datacenter1"](https://github.com/thingsboard/thingsboard/blob/72c7002f619263d1ef1170eaac8105182248cca8/common/dao-api/src/main/java/org/thingsboard/server/dao/cassandra/AbstractCassandraCluster.java) (#2941), and [Amazon's guide for connecting](https://aws.amazon.com/blogs/aws/new-amazon-keyspaces-for-apache-cassandra-is-now-generally-available/) has the AWS region (e.g. "us-east-2") there....
On further investigation, it appears `CASSANDRA_USE_SSL` configures a "DefaultSslEngineFactory" with no configured cipher suites, truststore or keystore, which [according to the manual](https://docs.datastax.com/en/developer/java-driver/4.4/manual/core/ssl/) means that it provides "a minimum quality of...
Update for ThingsBoard 3.1, which now allows setting the datacenter name. ### Configuration Set the following settings in thingsboard.yml: * CASSANDRA\_CLUSTER\_NAME can be left as whatever. ThingsBoard uses it to...
No ideas - I haven't looked into that part any more than previously. Maybe try running with `-Djavax.net.debug=ssl` in your JAVA_OPTS - I've found that "SSLEngine closed already" can hide...
I had read [here](https://github.com/gabime/spdlog/issues/1465#issuecomment-596211279) that dump_backtrace() ignores the log level of a logger, so e.g. an error-level logger will still output trace-level messages during a backtrace dump. I was hoping...
Essentially, yes - I also output error messages, but I had hoped I could put lower-level backtraces in the error log so I didn't have to sift through the trace...
Oh, I hadn't thought of that - thanks!
The Release Notes page has "Set correct cassandra datacenter" in the bug fixes for 3.0.1, but the bug does not appear to be fixed (["datacenter1" is still hardcoded](https://github.com/thingsboard/thingsboard/blob/7e418337711183d5269bed140bedcb33c650aec1/common/dao-api/src/main/java/org/thingsboard/server/dao/cassandra/AbstractCassandraCluster.java#L85)).
The OAuth2 guides mention setting `SECURITY_OAUTH2_ENABLED` to true, but nothing about `SECURITY_BASIC_ENABLED`. Do I need to set both for OAuth2 to work?
Being able to set the Cassandra keystore and truststore in thingsboard.yml would definitely be preferable to the current method, but you can use Cassandra SSL with the current setup. If...