-
Notifications
You must be signed in to change notification settings - Fork 130
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
Client connects and able to write, but health check returns fail #143
Comments
Hi @KubaC123, thanks for our using client. Could you share a debug output for The debug output is enabled by: InfluxDBClient client = InfluxDBClientFactory.create();
client.setLogLevel(LogLevel.BODY);
HealthCheck.StatusEnum status = client.health().getStatus(); Regards |
Hi @bednar Aug 18, 2020 9:48:52 AM okhttp3.internal.platform.Platform log
Aug 18, 2020 9:48:53 AM okhttp3.internal.platform.Platform log Regards |
The client uses |
let's plan to move the clients to the |
@russorat PR for InfluxDB OSS is prepared - influxdata/influxdb#19578 |
I'm getting 'path not found' error in InfluxDB 2 Cloud for /api/v2/health. It was working earlier. Anything changed recently? Raised an issue here influxdata/influxdb#19990. |
The |
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Expected behavior:
InfluxDBClientFactory.create().health().getStatus() should return pass
Actual behavior:
InfluxDBClientFactory.create().health().getStatus() returns fail, while in my logs I can see that response from instance health endpoint returned 200, and I am able to successfully write data using client instance
It might be some issue with reading json response, while underlying exception during execution of
Call<HealthCheck>
says:com.influxdb.exceptions.InfluxException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
Specifications:
The text was updated successfully, but these errors were encountered: