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

asdf add plugin fails due to lack of proxy settings #403

Open
shirvindalex opened this issue Oct 8, 2024 · 0 comments
Open

asdf add plugin fails due to lack of proxy settings #403

shirvindalex opened this issue Oct 8, 2024 · 0 comments

Comments

@shirvindalex
Copy link

I'm run behind corporate proxy on my linix machine (RHEL 8.8)
http_proxy and https_proxy are set on environment and I was able to clone asdf repo as described in https://asdf-vm.com/guide/getting-started.html
Execution was successful for git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1
Result
`Cloning into '/users/admin/.asdf'...
remote: Enumerating objects: 8797, done.
remote: Counting objects: 100% (1877/1877), done.
remote: Compressing objects: 100% (339/339), done.
remote: Total 8797 (delta 1631), reused 1623 (delta 1534), pack-reused 6920 (from 1)
Receiving objects: 100% (8797/8797), 3.23 MiB | 8.14 MiB/s, done.
Resolving deltas: 100% (5279/5279), done.
Note: switching to 'f00f759f3d8d405468d0071310a91b8f5a9c3798'.

You are in 'detached HEAD' state.`

But when trying to install nodejs plugin using
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
result is
fatal: unable to access 'https://github.com/asdf-vm/asdf-nodejs.git/': Could not resolve host: github.com

I don't see in documentation an option to pass proxy as parameters to asdf command or add proxy param to .asdfrc file

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