Issue installing Hugo dependencies with Brew in OSX. SSL alert protocol version












1















I've updated brew and openssl, but I continue to get the following error when running brew install hugo:



MyMac:temp MyUser$ brew install hugo
Updating Homebrew...
==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz
Already downloaded: /Users/MyUser/Library/Caches/Homebrew/downloads/98345eef182a35281fb597a40ad17badc1bd1566127fb3eadd309204db690975--hugo-0.53.tar.gz
==> go build -o /usr/local/Cellar/hugo/0.53/bin/hugo -tags extended main.go
Last 15 lines from /Users/MyUser/Library/Logs/Homebrew/hugo/01.go:
fatal: unable to access 'https://github.com/eknkc/amber/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
go: github.com/nfnt/resize@v0.0.0-20180221191011-83c6a9932646: git fetch -f https://github.com/nfnt/resize refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/MyUser/Library/Caches/Homebrew/go_cache/pkg/mod/cache/vcs/3c41db3334414b5559791060aadeb7b9a9cd6323146d18c88ea1134dabc06c55: exit status 128:
fatal: unable to access 'https://github.com/nfnt/resize/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version


But, when I attempt to access any of the dependencies directly nothing goes wrong...



MyMac:temp MyUser$ git clone https://github.com/nfnt/resize.git
Cloning into 'resize'...
remote: Enumerating objects: 466, done.
remote: Total 466 (delta 0), reused 0 (delta 0), pack-reused 466
Receiving objects: 100% (466/466), 123.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (263/263), done.
Checking connectivity... done.


Versions



MyMac:temp MyUser$ openssl version
OpenSSL 1.0.2q 20 Nov 2018

MyMac:temp MyUser$ brew -v
Homebrew 1.8.6

MyMac:temp MyUser$ git --version
git version 2.5.4 (Apple Git-61)


Do I have any other options?










share|improve this question

























  • Am I allowed to bump content?

    – FranCarstens
    Jan 4 at 0:53











  • Are you able to connect to github.com using openssl s_client? Are you sure that brew uses the system OpenSSL libs?

    – CristiFati
    Jan 4 at 21:19











  • I assume so. I deleted my Homebrew caches and ran brew install hugo. The github portion of that worked fine. Updating Homebrew... ==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz ==> Downloading from https://codeload.github.com/gohugoio/hugo/tar.gz/v0.53 ######################################################################## 100.0%

    – FranCarstens
    Jan 13 at 15:16
















1















I've updated brew and openssl, but I continue to get the following error when running brew install hugo:



MyMac:temp MyUser$ brew install hugo
Updating Homebrew...
==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz
Already downloaded: /Users/MyUser/Library/Caches/Homebrew/downloads/98345eef182a35281fb597a40ad17badc1bd1566127fb3eadd309204db690975--hugo-0.53.tar.gz
==> go build -o /usr/local/Cellar/hugo/0.53/bin/hugo -tags extended main.go
Last 15 lines from /Users/MyUser/Library/Logs/Homebrew/hugo/01.go:
fatal: unable to access 'https://github.com/eknkc/amber/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
go: github.com/nfnt/resize@v0.0.0-20180221191011-83c6a9932646: git fetch -f https://github.com/nfnt/resize refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/MyUser/Library/Caches/Homebrew/go_cache/pkg/mod/cache/vcs/3c41db3334414b5559791060aadeb7b9a9cd6323146d18c88ea1134dabc06c55: exit status 128:
fatal: unable to access 'https://github.com/nfnt/resize/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version


But, when I attempt to access any of the dependencies directly nothing goes wrong...



MyMac:temp MyUser$ git clone https://github.com/nfnt/resize.git
Cloning into 'resize'...
remote: Enumerating objects: 466, done.
remote: Total 466 (delta 0), reused 0 (delta 0), pack-reused 466
Receiving objects: 100% (466/466), 123.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (263/263), done.
Checking connectivity... done.


Versions



MyMac:temp MyUser$ openssl version
OpenSSL 1.0.2q 20 Nov 2018

MyMac:temp MyUser$ brew -v
Homebrew 1.8.6

MyMac:temp MyUser$ git --version
git version 2.5.4 (Apple Git-61)


Do I have any other options?










share|improve this question

























  • Am I allowed to bump content?

    – FranCarstens
    Jan 4 at 0:53











  • Are you able to connect to github.com using openssl s_client? Are you sure that brew uses the system OpenSSL libs?

    – CristiFati
    Jan 4 at 21:19











  • I assume so. I deleted my Homebrew caches and ran brew install hugo. The github portion of that worked fine. Updating Homebrew... ==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz ==> Downloading from https://codeload.github.com/gohugoio/hugo/tar.gz/v0.53 ######################################################################## 100.0%

    – FranCarstens
    Jan 13 at 15:16














1












1








1


1






I've updated brew and openssl, but I continue to get the following error when running brew install hugo:



MyMac:temp MyUser$ brew install hugo
Updating Homebrew...
==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz
Already downloaded: /Users/MyUser/Library/Caches/Homebrew/downloads/98345eef182a35281fb597a40ad17badc1bd1566127fb3eadd309204db690975--hugo-0.53.tar.gz
==> go build -o /usr/local/Cellar/hugo/0.53/bin/hugo -tags extended main.go
Last 15 lines from /Users/MyUser/Library/Logs/Homebrew/hugo/01.go:
fatal: unable to access 'https://github.com/eknkc/amber/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
go: github.com/nfnt/resize@v0.0.0-20180221191011-83c6a9932646: git fetch -f https://github.com/nfnt/resize refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/MyUser/Library/Caches/Homebrew/go_cache/pkg/mod/cache/vcs/3c41db3334414b5559791060aadeb7b9a9cd6323146d18c88ea1134dabc06c55: exit status 128:
fatal: unable to access 'https://github.com/nfnt/resize/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version


But, when I attempt to access any of the dependencies directly nothing goes wrong...



MyMac:temp MyUser$ git clone https://github.com/nfnt/resize.git
Cloning into 'resize'...
remote: Enumerating objects: 466, done.
remote: Total 466 (delta 0), reused 0 (delta 0), pack-reused 466
Receiving objects: 100% (466/466), 123.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (263/263), done.
Checking connectivity... done.


Versions



MyMac:temp MyUser$ openssl version
OpenSSL 1.0.2q 20 Nov 2018

MyMac:temp MyUser$ brew -v
Homebrew 1.8.6

MyMac:temp MyUser$ git --version
git version 2.5.4 (Apple Git-61)


Do I have any other options?










share|improve this question
















I've updated brew and openssl, but I continue to get the following error when running brew install hugo:



MyMac:temp MyUser$ brew install hugo
Updating Homebrew...
==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz
Already downloaded: /Users/MyUser/Library/Caches/Homebrew/downloads/98345eef182a35281fb597a40ad17badc1bd1566127fb3eadd309204db690975--hugo-0.53.tar.gz
==> go build -o /usr/local/Cellar/hugo/0.53/bin/hugo -tags extended main.go
Last 15 lines from /Users/MyUser/Library/Logs/Homebrew/hugo/01.go:
fatal: unable to access 'https://github.com/eknkc/amber/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
go: github.com/nfnt/resize@v0.0.0-20180221191011-83c6a9932646: git fetch -f https://github.com/nfnt/resize refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/MyUser/Library/Caches/Homebrew/go_cache/pkg/mod/cache/vcs/3c41db3334414b5559791060aadeb7b9a9cd6323146d18c88ea1134dabc06c55: exit status 128:
fatal: unable to access 'https://github.com/nfnt/resize/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version


But, when I attempt to access any of the dependencies directly nothing goes wrong...



MyMac:temp MyUser$ git clone https://github.com/nfnt/resize.git
Cloning into 'resize'...
remote: Enumerating objects: 466, done.
remote: Total 466 (delta 0), reused 0 (delta 0), pack-reused 466
Receiving objects: 100% (466/466), 123.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (263/263), done.
Checking connectivity... done.


Versions



MyMac:temp MyUser$ openssl version
OpenSSL 1.0.2q 20 Nov 2018

MyMac:temp MyUser$ brew -v
Homebrew 1.8.6

MyMac:temp MyUser$ git --version
git version 2.5.4 (Apple Git-61)


Do I have any other options?







github openssl homebrew hugo






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 1 at 21:24







FranCarstens

















asked Jan 1 at 21:08









FranCarstensFranCarstens

451210




451210













  • Am I allowed to bump content?

    – FranCarstens
    Jan 4 at 0:53











  • Are you able to connect to github.com using openssl s_client? Are you sure that brew uses the system OpenSSL libs?

    – CristiFati
    Jan 4 at 21:19











  • I assume so. I deleted my Homebrew caches and ran brew install hugo. The github portion of that worked fine. Updating Homebrew... ==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz ==> Downloading from https://codeload.github.com/gohugoio/hugo/tar.gz/v0.53 ######################################################################## 100.0%

    – FranCarstens
    Jan 13 at 15:16



















  • Am I allowed to bump content?

    – FranCarstens
    Jan 4 at 0:53











  • Are you able to connect to github.com using openssl s_client? Are you sure that brew uses the system OpenSSL libs?

    – CristiFati
    Jan 4 at 21:19











  • I assume so. I deleted my Homebrew caches and ran brew install hugo. The github portion of that worked fine. Updating Homebrew... ==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz ==> Downloading from https://codeload.github.com/gohugoio/hugo/tar.gz/v0.53 ######################################################################## 100.0%

    – FranCarstens
    Jan 13 at 15:16

















Am I allowed to bump content?

– FranCarstens
Jan 4 at 0:53





Am I allowed to bump content?

– FranCarstens
Jan 4 at 0:53













Are you able to connect to github.com using openssl s_client? Are you sure that brew uses the system OpenSSL libs?

– CristiFati
Jan 4 at 21:19





Are you able to connect to github.com using openssl s_client? Are you sure that brew uses the system OpenSSL libs?

– CristiFati
Jan 4 at 21:19













I assume so. I deleted my Homebrew caches and ran brew install hugo. The github portion of that worked fine. Updating Homebrew... ==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz ==> Downloading from https://codeload.github.com/gohugoio/hugo/tar.gz/v0.53 ######################################################################## 100.0%

– FranCarstens
Jan 13 at 15:16





I assume so. I deleted my Homebrew caches and ran brew install hugo. The github portion of that worked fine. Updating Homebrew... ==> Downloading https://github.com/gohugoio/hugo/archive/v0.53.tar.gz ==> Downloading from https://codeload.github.com/gohugoio/hugo/tar.gz/v0.53 ######################################################################## 100.0%

– FranCarstens
Jan 13 at 15:16












1 Answer
1






active

oldest

votes


















0














Check first the output of brew doctor.



As seen here, forcing the re-installation of openssl might help



cd /usr/bin
rm -r openssl
brew install openssl
brew update && brew upgrade


If not, similar to this issue, you could first try and install a newer curl and build a newer git that uses newer libraries than the system provides:



brew reinstall curl
brew link --force curl
brew reinstall --build-from-source git
brew update


Make sure which curl and which git should return /usr/local/bin/curl and /usr/local/bin/git.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53998954%2fissue-installing-hugo-dependencies-with-brew-in-osx-ssl-alert-protocol-version%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Check first the output of brew doctor.



    As seen here, forcing the re-installation of openssl might help



    cd /usr/bin
    rm -r openssl
    brew install openssl
    brew update && brew upgrade


    If not, similar to this issue, you could first try and install a newer curl and build a newer git that uses newer libraries than the system provides:



    brew reinstall curl
    brew link --force curl
    brew reinstall --build-from-source git
    brew update


    Make sure which curl and which git should return /usr/local/bin/curl and /usr/local/bin/git.






    share|improve this answer




























      0














      Check first the output of brew doctor.



      As seen here, forcing the re-installation of openssl might help



      cd /usr/bin
      rm -r openssl
      brew install openssl
      brew update && brew upgrade


      If not, similar to this issue, you could first try and install a newer curl and build a newer git that uses newer libraries than the system provides:



      brew reinstall curl
      brew link --force curl
      brew reinstall --build-from-source git
      brew update


      Make sure which curl and which git should return /usr/local/bin/curl and /usr/local/bin/git.






      share|improve this answer


























        0












        0








        0







        Check first the output of brew doctor.



        As seen here, forcing the re-installation of openssl might help



        cd /usr/bin
        rm -r openssl
        brew install openssl
        brew update && brew upgrade


        If not, similar to this issue, you could first try and install a newer curl and build a newer git that uses newer libraries than the system provides:



        brew reinstall curl
        brew link --force curl
        brew reinstall --build-from-source git
        brew update


        Make sure which curl and which git should return /usr/local/bin/curl and /usr/local/bin/git.






        share|improve this answer













        Check first the output of brew doctor.



        As seen here, forcing the re-installation of openssl might help



        cd /usr/bin
        rm -r openssl
        brew install openssl
        brew update && brew upgrade


        If not, similar to this issue, you could first try and install a newer curl and build a newer git that uses newer libraries than the system provides:



        brew reinstall curl
        brew link --force curl
        brew reinstall --build-from-source git
        brew update


        Make sure which curl and which git should return /usr/local/bin/curl and /usr/local/bin/git.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 15 at 17:06









        VonCVonC

        847k29626953252




        847k29626953252
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53998954%2fissue-installing-hugo-dependencies-with-brew-in-osx-ssl-alert-protocol-version%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

            Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

            A Topological Invariant for $pi_3(U(n))$