Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Support no_proxy environment variable #14

Merged
merged 1 commit into from
Apr 29, 2016

Conversation

databus23
Copy link
Contributor

Since concourse version 1.1 proxy variables http_proxy,https_proxy and no_proxy are injected in all containers. This is awesome when working behind a proxy against github.com.
But we are also using an internal github enterprise instance where this resource now fails because it does not consider the no_proxy environment variable.

octokit uses faraday for making http_request.
There is a long standing issue in faraday to add proper support for the no_proxy environment variable (lostisland/faraday#247). Unfortuantely it seems like this issue is going nowhere.
A workaround is suggested in this issue: berkshelf/berkshelf#1341

The httpclient (and excon) farady adapter picks up proxy settings from the environment automatically.

octokit uses faraday for making http_request.
There is a long standing issue in faraday to add support for the no_proxy environment variable: lostisland/faraday#247
Unfortuantely it seems like this is going nowhere.
A workaround is suggested in this issue: berkshelf/berkshelf#1341

The httpclient (and excon) farady adapter picks up proxy settings from the environment automatically.
@jtarchie
Copy link
Owner

Thanks for the PR. I will take a look at http client. Should be sometime today.

@jtarchie jtarchie merged commit 3b306df into jtarchie:master Apr 29, 2016
@databus23 databus23 mentioned this pull request Feb 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants