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

How can i force fnm to use socks proxy #1349

Open
shivarajnaidu opened this issue Dec 24, 2024 · 1 comment
Open

How can i force fnm to use socks proxy #1349

shivarajnaidu opened this issue Dec 24, 2024 · 1 comment

Comments

@shivarajnaidu
Copy link

shivarajnaidu commented Dec 24, 2024

for example,
I setup socks proxy using this command ssh -i ~/priv.pem -D 8080 -q -f -C -N [email protected]

 export http_proxy=socks5h://127.0.0.1:8080
 export https_proxy=socks5h://127.0.0.1:8080

and setup above exports

how can I use this socks proxy to download node using fnm install 22 ?

When i tried this i got error: can't get remote versions file: error sending request for url (https://nodejs.org/dist/index.json)

I could not find any help or document that will allow me to sue socks proxy with fnm.

Please help me to understand how we can achieve this..

Note: when i tried curl -I https://nodejs.org this command is working as expected

@shivarajnaidu shivarajnaidu changed the title How can i force fnm to use certain proxy How can i force fnm to use socks proxy Dec 24, 2024
@shivarajnaidu
Copy link
Author

shivarajnaidu commented Dec 27, 2024

Additional Information that can help to investigate : when i tried nvm on same server it is working well with the proxy setup mentioned in the previous comment

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

No branches or pull requests

1 participant