influxdata/influxdb-client-java

Exception in obtaining the client through username and password

kervin521 opened this issue · 1 comments

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:

Hi,

Were you able to resolve your issue?

Can you share your exception please? Seems something very similar was used in #469 before without issue.