question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTTP / HTTPS proxy option support

See original GitHub issue

Hi,

I was trying to use the tool under a network where HTTP / HTTPS proxy is required for the Internet access, but it does not work.

Since there is no way to set the proxy on Node globally (e.g. HTTP_PROXY, HTTPS_PROXY), it would be great if the proxy option is offered by this tool.

Thank you.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
prabhucommented, Feb 18, 2021

Thank you for your contribution! Please test version 2.2.8 and let me know if it works as intended.

1reaction
prabhucommented, Feb 18, 2021

Hi @yutayamate

Thank you for your issue. Will you be able to send a PR based on the below instructions?

We can use global-agent https://github.com/gajus/global-agent

  1. Add the below to bin/cdxgen
if (process.env.GLOBAL_AGENT_HTTP_PROXY) {
  const globalAgent = require('global-agent');
  globalAgent.bootstrap();
}
  1. Set an environment variable export GLOBAL_AGENT_HTTP_PROXY=http://127.0.0.1:8080

  2. Run cdxgen

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP Proxy Support - Proxifier
HTTP proxy servers can process HTTP connections (port 80). They can also support HTTPS connections (SSL) but usually such connections are only allowed...
Read more >
About the HTTPS-Proxy - WatchGuard Technologies
HTTPS (Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL) is a request/response protocol between clients and servers used for secure ......
Read more >
HTTP and HTTPS Request and Proxy Settings - Sonatype Help
HTTP and HTTPS Request and Proxy Settings. The repository manager uses HTTP requests to fetch content from remote servers. In some cases a...
Read more >
How to Configure Outbound HTTP and HTTPS Proxy for your ...
HTTP (S) Outbound Proxy support is configured in Atlassian applications by passing certain system properties to the Java Virtual Machine (JVM) on ...
Read more >
HTTP or HTTPS Proxy server settings - TechDocs
Use the proxy information that is entered into the browser on the client computers. This information appears in Internet Options > Connections > ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found