InfluxData.Net icon indicating copy to clipboard operation
InfluxData.Net copied to clipboard

A password is required when creating an InfluxDbClient

Open Zero3 opened this issue 8 years ago • 8 comments

When creating an InfluxDbClient, specifying null as username and password leads to an exception saying that a password is required.

I use HTTP basic auth for authentication and thus do not use username/password auth in InfluxDB. I think this use case should be supported.

Zero3 avatar Apr 03 '17 22:04 Zero3

Hi,

fair point, I'll change this.

tihomir-kit avatar Apr 04 '17 08:04 tihomir-kit

I removed this requirement. It will be deployed today in a new nuget.

tihomir-kit avatar Apr 23 '17 17:04 tihomir-kit

I have tried null with the current. Net core and it still throws exceptions.

awb99 avatar Jan 21 '18 17:01 awb99

same issue for me

mts57017 avatar Jan 23 '18 03:01 mts57017

@mts57017 also using .Net core?

tihomir-kit avatar Jan 23 '18 10:01 tihomir-kit

Yes

mts57017 avatar Jan 23 '18 10:01 mts57017

Ok thnx. Will look into this over the weekend.

tihomir-kit avatar Jan 23 '18 10:01 tihomir-kit

Excellent! Thank you. .net core 2 specifically

mts57017 avatar Jan 23 '18 10:01 mts57017