Extended Proxy Support
See original GitHub issueI see #329 added proxy environment support but it is a very simple implementation that only handles https_proxy
.
The person that maintains the proxy agent has an expanded version, https://github.com/TooTallNate/node-proxy-agent, which should do a better job of handling https_proxy
and also no_proxy
which isn’t currently being handled here.
Basic testing seems to show the following works as expected with the core octokit library, adding in proxy depending on both the https_proxy
and no_proxy
variables.
const ProxyAgent = require('proxy-agent');
const octokitProxy = new Octokit({
request: { agent: new ProxyAgent()}
})
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (13 by maintainers)
Top Results From Across the Web
3 Configuring Extend Proxies
The extend proxy service ( ProxyService ) is a cluster service that allows extend clients to access a Coherence cluster using TCP/IP. A...
Read more >Extended Proxy Capabilities - SAP Help Portal
This is an interface pattern, which provides extended control over HTTP connection properties of the Web service client. Factory class name: com.sap.engine.
Read more >About the Advanced and Extended Proxy Settings
Advanced settings — Include settings for configuring advanced proxy functions and parameters, for example, the maximum number of connections ...
Read more >Proxy Helper
Set proxy for Google Chrome browser. ... This extension use Chrome native API to set proxy, support socks5, socks4, http, HTTPS protocols ...
Read more >Extension proxy support #12588 - microsoft/vscode - GitHub
Looking at the Visual Studio Code code base I identified the code that adds support for proxies, but copy&paste it into my extension...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay I definitely want us to implement what is documented at https://docs.github.com/en/actions/hosting-your-own-runners/using-a-proxy-server-with-self-hosted-runners, and my understanding is that the current proxy agent we use does not take all 3 env variables into account, but
proxy-agent
does, so let’s use that 😃 We should also document it in the README and reference GitHub’s official docs.Can you start a pull request?
🎉 This issue has been resolved in version 3.15.7 🎉
The release is available on:
Your semantic-release bot 📦🚀