influxdb-client-java
influxdb-client-java copied to clipboard
Exception in obtaining the client through username and password
trafficstars
Steps to reproduce: List the minimal actions needed to reproduce the behavior.
InfluxDBClientOptions.Builder builder = InfluxDBClientOptions.builder();
builder.bucket(bucket);
builder.org(org);
builder.okHttpClient(builder());
builder.authenticate(username, password.toCharArray());
builder.url(uri);
InfluxDBClientImpl client = (InfluxDBClientImpl) InfluxDBClientFactory.create(builder.build());
InfluxDBClientReactiveImpl reactive = (InfluxDBClientReactiveImpl) InfluxDBClientReactiveFactory.create(builder.build());
Expected behavior: Describe what you expected to happen.
Actual behavior: Describe What actually happened.
Specifications:
- Client Version:
- InfluxDB Version:
- JDK Version:
- Platform: