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

Providing InfluxUrl with trailing slash "/" result in error during QueryMultiSeriesAsync #54

Closed
jasase opened this issue Jan 3, 2019 · 1 comment

Comments

@jasase
Copy link
Contributor

jasase commented Jan 3, 2019

When creating the InfluxDBClient with an URL that contains a trailing "/" like this one

var influxDbClient = new InfluxDBClient("http://localhost:8086/", "username", "password");

a query with influxDbClient.QueryMultiSeriesAsync() throwing a AdysTech.InfluxDB.Client.Net.ServiceUnavailableException.

Due to the trailing slash an invalid GET Request is create: http://localhost:8086//query?db=_internal&q=SHOW+STATS&epoch=n

mvadu added a commit that referenced this issue Jan 5, 2019
@mvadu mvadu closed this as completed in #55 Jan 5, 2019
mvadu added a commit that referenced this issue Jan 5, 2019
@mvadu
Copy link
Contributor

mvadu commented Jan 5, 2019

Thanks for catching this @jasase , I just fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants