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

proxy setting via environment var doesn't work #367

Closed
n-arakawa opened this issue Dec 9, 2022 · 0 comments · Fixed by #368
Closed

proxy setting via environment var doesn't work #367

n-arakawa opened this issue Dec 9, 2022 · 0 comments · Fixed by #368
Labels
bug Something isn't working

Comments

@n-arakawa
Copy link

Specifications

  • Client Version:
    github.com/influxdata/influxdb-client-go/v2 v2.12.1
    github

go version go1.19 linux/amd64

Steps to reproduce

https://github.com/influxdata/influxdb-client-go#proxy-and-redirects

1.Set environment variable HTTP_PROXY,
2. access the influxdb

Expected behavior

post data via HTTP_PROXY

Actual behavior

No proxy access.

Additional info

Configure http.Client to use proxy works fine.

@n-arakawa n-arakawa added the bug Something isn't working label Dec 9, 2022
vlastahajek added a commit to bonitoo-io/influxdb-client-go that referenced this issue Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant