http_proxy doesn't work for terraform installation #4606
Answered
by
php-coder
php-coder
asked this question in
Troubleshooting and bug reports
-
Hi, thanks for the great project! I'm tying to use it for my project but I'm stuck with Terraform installation behind proxy: $ env | grep -i proxy
https_proxy=socks5://127.0.0.1:1122
$ mise use [email protected] --verbose
DEBUG ARGS: /usr/local/bin/mise use [email protected] --verbose
DEBUG config: ~/git/mystamps/infra/terraform/mise.local.toml
DEBUG config: ~/git/mystamps/mise.toml
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: [email protected]
INFO [email protected] install
DEBUG HEAD https://releases.hashicorp.com/terraform/1.11.1/terraform_1.11.1_darwin_amd64.zip
DEBUG starting new connection: https://releases.hashicorp.com/
DEBUG HEAD https://releases.hashicorp.com/terraform/1.11.1/terraform_1.11.1_darwin_amd64.zip 404 Not Found
DEBUG HEAD https://releases.hashicorp.com/terraform/1.11.1/terraform_1.11.1_darwin_amd64.zip
DEBUG HEAD https://releases.hashicorp.com/terraform/1.11.1/terraform_1.11.1_darwin_amd64.zip 404 Not Found
Error:
0: failed to install aqua:hashicorp/[email protected]
1: HTTP status client error (404 Not Found) for url (https://releases.hashicorp.com/terraform/1.11.1/terraform_1.11.1_darwin_amd64.zip)
2: HTTP status client error (404 Not Found) for url (https://releases.hashicorp.com/terraform/1.11.1/terraform_1.11.1_darwin_amd64.zip)
Location:
src/http.rs:104
Version:
2025.3.2 macos-x64 (2025-03-07)
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
zsh: exit 1 At the same time, $ curl https://releases.hashicorp.com/terraform/1.11.1/terraform_1.11.1_darwin_amd64.zip -o terraform_1.11.1_darwin_amd64.zip 20:03
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
75 27.2M 75 20.5M 0 0 2541k 0 0:00:10 0:00:08 0:00:02 2727k It seems like a bug. Perhaps, there is a known workaround? |
Beta Was this translation helpful? Give feedback.
Answered by
php-coder
Mar 12, 2025
Replies: 1 comment
-
I've got managed it by myself: $ MISE_DISABLE_BACKENDS=aqua mise use [email protected]
mise plugin:terraform ✓ https://github.com/mise-plugins/mise-hashicorp.git#22eb1c4 mise [email protected] ✓ installed mise ~/git/mystamps/infra/terraform/mise.local.toml tools: [email protected]
mise [email protected] Another way (that I didn't try but I would if that didn't work out) is to edit |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
php-coder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got managed it by myself:
Another way (that I didn't try but I wou…