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

[Core] Do not use proxy for local connections #1518

Merged
merged 1 commit into from
Apr 8, 2015
Merged

Conversation

remh
Copy link
Contributor

@remh remh commented Apr 7, 2015

Starting with Agent 5.0.0, there should always
be a local forwarder running and all payloads
should go through it.

So we should make sure that we pass the no_proxy
environment variable that will be used by requests

See: https://github.com/kennethreitz/requests/pull/945

Fix #1514

@remh remh added this to the 5.3.0 milestone Apr 7, 2015
Starting with Agent 5.0.0, there should always
be a local forwarder running and all payloads
should go through it.

So we should make sure that we pass the no_proxy
environment variable that will be used by requests

See: https://github.com/kennethreitz/requests/pull/945

Fix #1514
@remh
Copy link
Contributor Author

remh commented Apr 8, 2015

I cleared the proxy env variables i was setting that was making some tests to fail.
Tests should pass this time.

@LeoCavaille LeoCavaille self-assigned this Apr 8, 2015
@LeoCavaille
Copy link
Member

Looks good, I'll merge once the CI has run.

remh added a commit that referenced this pull request Apr 8, 2015
[Core] Do not use proxy for local connections
@remh remh merged commit 4d78371 into master Apr 8, 2015
@LeoCavaille LeoCavaille deleted the remh/fix_no_proxy branch April 8, 2015 21:55
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling ef3f417 on remh/fix_no_proxy into ** on master**.

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

Successfully merging this pull request may close these issues.

Dogstatsd getting 403 with proxy configured.
3 participants