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

TT-12057 Splunk pump ignores HTTP proxy environment variables #816

Open
jonathanfoster opened this issue May 1, 2024 · 1 comment
Open

Comments

@jonathanfoster
Copy link

It appears the Splunk pump client isn't using HTTP proxy environment variables. I'm running Tyk Pump in a restricted environment that requires all outbound connections use the an HTTP proxy. Requests to the Splunk collector URL are timing out because they're attempting to connect directly instead of using the proxy. I confirmed HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables are all set.

I believe this could be caused by setting the HTTP default client transport here and not setting proxy to http.ProxyFromEnvironment.

@caroltyk caroltyk added the bug label May 3, 2024
@caroltyk caroltyk changed the title Splunk pump ignores HTTP proxy environment variables TT-12072 Splunk pump ignores HTTP proxy environment variables May 3, 2024
@caroltyk caroltyk added the splunk label May 3, 2024
@caroltyk caroltyk changed the title TT-12072 Splunk pump ignores HTTP proxy environment variables TT-12057 Splunk pump ignores HTTP proxy environment variables May 8, 2024
@caroltyk
Copy link
Contributor

@jonathanfoster Just an update we're working on it and will fix this in our next release.

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

No branches or pull requests

2 participants