MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Can't clone from GitHub

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    107 Posts 3 Posters 74.4k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MMRPi1
      last edited by

      So whenever I try to clone a repo from GitHub (to update or to add a new module) I get an error saying it can’t access the repo.

      The exact error is:
      fatal: unable to access <repo_url> gnutls_handshake() failed

      I saw a few others with the same error but didn’t find a solution that worked.

      Any help would be greatly appreciated.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @MMRPi1
        last edited by

        @MMRPi1 can u show us the git clone command exactly as u used it…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRPi1
          last edited by

          git pull from the MagicMirror folder.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @MMRPi1
            last edited by

            @MMRPi1 that’s different from clone

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRPi1
              last edited by

              pull to update, clone to install modules. I get the same error in any case.

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @MMRPi1
                last edited by

                @MMRPi1 ok, there was another person that had a similar problem and there was an extra . On the end of the url

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRPi1 @sdetweil
                  last edited by

                  @sdetweil Oh alright. I think the issue here is somewhat security related but I could be wrong.
                  Not sure what to do about it though. Since I’ve been able to update MM and also add new modules in the past.

                  S 2 Replies Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @MMRPi1
                    last edited by

                    @MMRPi1 some folks are experiencing this cause their antivirus live protection has downlevel tls (https) support

                    https://github.community/t5/How-to-use-Git-and-GitHub/Unable-to-Push-to-repo-gnutls-handshake-failed/td-p/6584/page/2

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 2 Replies Last reply Reply Quote 0
                    • M Offline
                      MMRPi1 @sdetweil
                      last edited by

                      @sdetweil Hmm, tried disabling my Antivirus but I still got the same error.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRPi1 @sdetweil
                        last edited by

                        @sdetweil Do you know what else might be the problem?

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @MMRPi1
                          last edited by

                          @MMRPi1 no… not really…

                          so when u go to clone, you open the project github page, push the green clone or download button mid page right, then push the copy button next to the url, right?

                          then open the terminal window and type git clone
                          and then paste in the url just copied…

                          lets try to get one file, not using git

                          curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/dumpactivemodules.js >dumpactivemodules.js
                          

                          should produce a tiny js file

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            MMRPi1 @sdetweil
                            last edited by

                            @sdetweil I think that worked

                            1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil
                              last edited by

                              this link says it might be a library update

                              are you on windows or linux?

                              for linux
                              https://stackoverflow.com/questions/52379234/gnutls-handshake-failed-error-in-the-pull-function
                              circa 2019…

                              for windows, do you use a proxy to access the network?

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                MMRPi1 @sdetweil
                                last edited by

                                @sdetweil I’m using SSH on Windows to access the pi (Linux obviously). I tried on the pi as well but I got the same error.
                                I tried the advice on stack overflow but got the same error.

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @MMRPi1
                                  last edited by

                                  @MMRPi1 how do you connect to the internet?

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  M 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MMRPi1 @sdetweil
                                    last edited by

                                    @sdetweil Through my router. Not sure I understand the question

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @MMRPi1
                                      last edited by

                                      @MMRPi1 ok, just checking… some people have another machine acting as a router…

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @sdetweil
                                        last edited by

                                        @sdetweil can u use git clone on windows?
                                        (have to install git 1st)

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          MMRPi1 @sdetweil
                                          last edited by

                                          @sdetweil Yes it works fine.

                                          1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @MMRPi1
                                            last edited by

                                            @MMRPi1 said in Can't clone from GitHub:

                                            Not sure what to do about it though. Since I’ve been able to update MM and also add new modules in the past.

                                            hm… what OS is this? and when was the last system update?

                                            sudo apt-get update
                                            sudo apt-get upgrade

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            M 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 1 / 6
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy