-
Notifications
You must be signed in to change notification settings - Fork 586
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
GitHub connection doesn't work behind authenticated proxy #2505
Comments
Just noticed we still target |
@csmager To be honest: I have no idea what the best way forward is. Considering this might hit other modules as well we should aim for an approach which works for others as well. |
Yes, will look into it. Unfortunately seems a little trickier than hoped given that property doesn’t exist in |
I don't think we really need |
Ok. It's fairly easy just to add |
The Octokit client created via the
Fake.Tools.GitHub
API uses the default proxy, but it doesn't pass on the credentials so you get a 407 Proxy Authentication Required error.This proxy can explicitly be configured when creating the
HttpClient
(we'd set it here), but we'd need to decide how to approach this. I think we can do either of these (or both):createClient
function(s) that accept anIWebProxy option
. Not sure I like this as it rather ties your build script to the environment.DefaultProxyCredentials
are set on theHttpClientHandler
and the system config should 'just work'.The text was updated successfully, but these errors were encountered: