sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.08k stars 629 forks source link

Bug: install fails behind proxy #1147

Closed taringamberini closed 1 year ago

taringamberini commented 1 year ago

Bug report The installation curl command fails when I run Git Bash behind my company proxy.

To reproduce When I open Git Bash and I run the installation command curl -s "https://get.sdkman.io" | bash than nothing seems happen.

So I've run again the curl installation without the silent mode option -s, running curl "https://get.sdkman.io" | bash then I get the error curl: (35) OpenSSL SSL_connect: Connection was reset in connection to get.sdkman.io:443

System info

A partial solution

Before running the curl installation command I've run export https_proxy="user:password@proxyhost:proxyport"

Clearly, every time I open Git Bash I have to run export https_proxy="user:password@proxyhost:proxyport" before any sdkmen command.

Best regards, taringamberini

marc0der commented 1 year ago

Hi @taringamberini,

This isn't a bug, but rather a limitation of your corporate proxy and how curl works.

In future, please follow the contributing guidelines before opening a bug report here.

taringamberini commented 1 year ago

In future, please follow the contributing guidelines before opening a bug report here.

Sorry, in the future I'll do.

Best regards