We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When installing agent on remote host, wget or curl is used to download mandatory package.
However, when the remote host rely on a socks5 proxy (defining http_proxy/https_proxy env vars):
http_proxy
https_proxy
So, a fix would be to use curl:
Before (KO):
if [[ ! -z $(which wget) ]]; then wget --tries=3 --timeout=10 --continue --no-verbose -O vscode-server.tar.gz $SERVER_DOWNLOAD_URL elif [[ ! -z $(which curl) ]]; then curl --retry 3 --connect-timeout 10 --location --show-error --silent --output vscode-server.tar.gz $SERVER_DOWNLOAD_URL
After (OK):
if [[ ! -z $(which curl) ]]; then curl --retry 3 --connect-timeout 10 --location --show-error --silent --output vscode-server.tar.gz $SERVER_DOWNLOAD_URL elif [[ ! -z $(which wget) ]]; then wget --tries=3 --timeout=10 --continue --no-verbose -O vscode-server.tar.gz $SERVER_DOWNLOAD_URL
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When installing agent on remote host, wget or curl is used to download mandatory package.
However, when the remote host rely on a socks5 proxy (defining
http_proxy
/https_proxy
env vars):So, a fix would be to use curl:
Before (KO):
After (OK):
The text was updated successfully, but these errors were encountered: