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

Exception in obtaining the client through username and password #517

Open
kervin521 opened this issue Mar 3, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@kervin521
Copy link

kervin521 commented Mar 3, 2023

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:
@powersj
Copy link
Contributor

powersj commented Mar 27, 2023

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.

@powersj powersj added the question Further information is requested label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants