-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
specifying a proxy when connecting to a GitHub Enterprise server #809
Comments
It's still not fixed for Github Enterprise. Please could this be revisited? |
Hmmm this pre-dates my involvement, I can see mentions of it not working for enterprise but no detail as to how/why its not working So to clarify, is the problem that following redirects doesn't work for GHE in a proxied environment, or actually that NOTHING works when behind a proxy? I'm not sure how to test this either, thankfully we got rid of web proxies at my work! 😁 Happy to review a pull request though if you are able to debug in your environment and make a change that works for you... |
The reason why this doesn't work is because what I need to do is pass in the GHE URL, i.e.
However only the way you can currently add a proxy in code is: `
The problem is that there is no constructor that can take an IConnection and a URL. |
You can also provide a handler directly:
|
Is there a solution for this yet? There doesn't seem to be a way to use a proxy and supply credentials. |
👋 Hey Friends, this issue has been automatically marked as |
Found this while looking at #808.
It's currently rather hard to do cry: (you need to specify all the parameter), and I'm not sure if anyone depends on this.
Please comment on this if it impacts you, and I'll adjust it in my priority queue. See #781 for other discussions about how Octokit plans to adapt it's usage of
HttpMessageHandler
to support more flexibility...The text was updated successfully, but these errors were encountered: