Caiyeon / goldfish

A HashiCorp Vault UI written with VueJS and Vault native Go API
https://vault-ui.io
Mozilla Public License 2.0
2.15k stars 167 forks source link

docker build: SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number #248

Closed Sispheor closed 6 years ago

Sispheor commented 6 years ago

Bug report:

Hi. I get this error when I try to build the dockerfile.

:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

Complete output

Step 7/12 : RUN curl -L -o goldfish https://github.com/Caiyeon/goldfish/releases/download/$GOLDFISH_VERSION/goldfish-linux-amd64 &&           chmod +x ./goldfish &&           apk del build-dependencies
 ---> Running in 313643ef2e38
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
The command '/bin/sh -c curl -L -o goldfish https://github.com/Caiyeon/goldfish/releases/download/$GOLDFISH_VERSION/goldfish-linux-amd64 &&           chmod +x ./goldfish &&           apk del build-dependencies' returned a non-zero code: 35

Seems that this kind of CURL error happens when we try to reach an HTTPS service with an HTTP request.

Sispheor commented 6 years ago

Just a proxy error. Nevermind :)