influxdata / influxdata/influxdb-client-java
Exception in obtaining the client through username and password
- Dominant language
- Java
- Stars
- 477
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
```java
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:
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with InfluxDBClientOptions.Builder.authenticate and the InfluxDBClientFactory.create and InfluxDBClientReactiveFactory.create calls shown in the report. Reproduce the exception after filling in the missing client, server, JDK, platform, and expected-versus-actual behavior details. Done means the username/password client creation behavior is understood and the reported exception no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100