hechoendrupal / drupal-console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
http://drupalconsole.com
GNU General Public License v2.0
938 stars 557 forks source link

curl installation issue error on MacOS Sierra -- curl: (35) error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol #2810

Open alexagui opened 8 years ago

alexagui commented 8 years ago
$ curl https://drupalconsole.com/installer -L -o drupal.phar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (35) error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol
$ curl -V
curl 7.43.0 (x86_64-apple-darwin10.8.0) libcurl/7.43.0 OpenSSL/0.9.8zd zlib/1.2.8 libidn/1.17
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets
finteractive commented 8 years ago

I had the exact same error on OSX 10.10.5. (Yosemite)

$ curl https://drupalconsole.com/installer -L -o drupal.phar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (35) error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol
$ curl -V
curl 7.43.0 (x86_64-apple-darwin10.8.0) libcurl/7.43.0 OpenSSL/0.9.8zd zlib/1.2.8 libidn/1.17
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets
arpitr commented 7 years ago

Could be an issue with with MAMP libraries if you are using MAMP, in case you are workaround would be to use system curl /usr/bin/curl https://drupalconsole.com/installer -L -o drupal.phar Follow https://github.com/hechoendrupal/drupal-console/issues/2533