Skip to content
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

feat: support for proxy server #352

Merged
merged 2 commits into from
Sep 28, 2020
Merged

feat: support for proxy server #352

merged 2 commits into from
Sep 28, 2020

Conversation

adrian549092
Copy link
Contributor

Description

Partially Fixes #321
The proposed change allows the user to specify a proxy server ip address and port in the .env file to use for the connection to the internet. In certain networks internet access is restricted and is only allowed via a proxy server.

Testing

Note: Requires proxy server such as squid-proxy to be able to test.
Once a proxy server is available, add the following entries to the .env file:

PROXY_ADDRESS="<IP ADDRESS OF PROXY SERVER>"
PROXY_PORT=<TCP PORT FOR PROXY SERVER>

Finally, if a values is provided for PROXY_ADDRESS and a connection to that address is not possible, the connections will fail with a message similar to the one below

[9:04:30 PM] error :: ✖ [nvidia] nvidia founders edition - net::ERR_PROXY_CONNECTION_FAILED at https://www.nvidia.com/en-us/shop/geforce/gpu/?page=1&limit=9&locale=en-us&categ
ory=GPU&gpu=RTX%203080

@jef
Copy link
Owner

jef commented Sep 28, 2020

Nice, this will be good for those running in the cloud a well!

@jef jef changed the title feat: added support for connecting via proxy server feat: support for proxy server Sep 28, 2020
@jef jef merged commit fdcd787 into jef:main Sep 28, 2020
@superman500
Copy link

Can you add the fields for proxy authentication? or a way to feed it a list of proxies via command line like .........................................npm run start --proxy /users/user1/proxylist.txt

then some format for the proxy files for it to use the proxies like http://username:password@61.18.233.35:60121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for a proxy or pool of IPs
3 participants