Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[influxdb] Usage of SaaS cloud instance not supported #16147

Closed
PLeusmann opened this issue Dec 30, 2023 · 0 comments · Fixed by #16151
Closed

[influxdb] Usage of SaaS cloud instance not supported #16147

PLeusmann opened this issue Dec 30, 2023 · 0 comments · Fixed by #16151
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@PLeusmann
Copy link
Contributor

PLeusmann commented Dec 30, 2023

Expected Behavior

Using the Influxdata InfluxDB Cloud Serverless and InfluxDB Open Source as a persistance backends should be possible.

Current Behavior

Exception is thrown during connection setup.

[db.client.internal.InfluxDBClientImpl] - The exception occurs during check instance readiness
com.influxdb.exceptions.InfluxException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $

Possible Solution

Do not use InfluxDBClient.ready() (and InfluxDBClient.health()) as these endpoints are not available in the cloud variant. see influxdata/influxdb#19357
Instead use InfluxDBClient.ping()available in client versions 4.0.0+ influxdata/openapi#140, influxdata/influxdb-client-java#272

@PLeusmann PLeusmann added the bug An unexpected problem or unintended behavior of an add-on label Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant