-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Can't connect to HTTPS URL because the SSL module is not available. #4360
Comments
I think this has to do with the Linux environment in your Docker image rather than the CLI itself. |
Yes what does your Dockerfile look like? |
looks like, thanks for the reply!
|
There's a lot in this Dockerfile so can't tell exactly why it's not working. This 'Install CLI on Linux without apt-get' may help you. |
reduce for this and still same error
|
I'm getting the same error in bitbucket pipelines when running This thread suggests that the code compiled against python did not link to OpenSSL. If that is true this is only something that re-compiling this project would fix.
|
I'm having this issue using GitLab CI. Docker image is
|
So I am getting this error with absolute latest cli install and python install on one of the newest macs with the latest MacOS. "Can't Connect to HTTPS URL because the SSL module is not available. " These installs are fresh. BTW, the install docs for Mac needs to be updated to include the need for python3 as that is not installed with the MacOS and python3 needs the xcode command line tools or it will not link properly. |
Is there a resolution here? Having the same problem... seems fragile |
This isn't the first time this is happened. They release broken versions now and then. You should modify your script to install a specific version rather than latest.
You can get the version numbers out of this file: https://packages.microsoft.com/repos/azure-cli/dists/wheezy/main/binary-amd64/Packages |
Thanks! Azure-CLI is way too fragile |
Closing to keep all conversation in #3720 |
For those having a similar problem (seen on Ubuntu 'bionic' 18) as no one explicitly states the fix that I can see:
The problem occurs if you use the package repo |
Description
build a docker image with the azure-cli using apt-get
when run az login got this:
Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: apt-get
CLI Version: What version of the CLI and modules are installed? (Use
az --version
)Answer here:
OS Version: What OS and version are you using?
Answer here: docker base image: golang:1.8.3-stretch
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: bash
The text was updated successfully, but these errors were encountered: