Skip to content

HTTP(s) Proxy support #66

@cp-whatcha

Description

@cp-whatcha

Receiving the error
netbootxyz | There was a problem with the fetch operation: request to https://api.github.com/repos/netbootxyz/netboot.xyz/releases/latest failed, reason: connect ETIMEDOUT 140.82.113.5:443

It seems that node.js is not utilizing the proxy environment variables that I am sending the system.

I have attempted to use
http_proxy=http://proxyip:3128
https_proxy=http://proxyip:3128
HTTP_PROXY=http://proxyip:3128
HTTPS_PROXY=http://proxyip:3128
proxyHost=proxyip
proxyPort=3128

When performing a node fetch, If the system has a proxy set, it should use it. Based on my research it seems that this will require a new version of the fetch function

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions