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.8k 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 @sdetweil
      last edited by

      @sdetweil You’re right, the SSH is all sorted

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

        @MMRPi1 eh? ‘all sorted’ means working to me

        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 I can SSH into the pi fine now.

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

            @MMRPi1 ok, I missed that … what did u reboot? the pi, or the router?

            let remove git and reinstall it

            sudo apt-get remove git
            sudo apt-get install git

            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 I rebooted the router.

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

                @sdetweil I tried reinstalling git and I got the same error.

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

                  @MMRPi1 just to recheck

                  git clone https://github.com/sdetweil/MagicMirror_scripts.git
                  

                  fails with the same error…

                  do this

                  cat ~/.gitconfig
                  

                  is there a

                  [http]
                      proxy = http://mydomain\\myusername:mypassword@myproxyserver:8080
                  

                  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 got this instead: [http]
                    sslVerify = false

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

                      @MMRPi1

                      https://stackoverflow.com/questions/51088635/git-clone-error-gnutls-handshake-failed-an-unexpected-tls-packet-was-receive

                      ok, here is a solution I think… second response, recompile git with openssl

                      link to script that does the work.

                      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 what do I put instead of <my_proxy>

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

                          @MMRPi1 my_proxy

                          S 1 Reply Last reply Reply Quote 0
                          • bheplerB Offline
                            bhepler Module Developer
                            last edited by

                            I still want that connectivity check. The Pi can see the Windows box, but I want confirmation that the Pi can see the internet.

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

                              @bhepler Oh yeah sorry, I did that and it worked fine, I got a bit of html

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

                                @MMRPi1 no… the second answer

                                Might be issue with gnutls Package. we have to compile a git Package with openssl instead of gnutls. Follow the below steps,

                                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 That one shows up first for me. In any case I tried and it still doesn’t work

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

                                    @MMRPi1 u recompiled the git with openssl?? then it should give the gnutils error

                                    sudo apt-get install -y build-essential fakeroot dpkg-dev
                                    sudo apt-get -y build-dep git
                                    sudo apt-get install -y libcurl4-openssl-dev
                                    
                                    mkdir git-openssl
                                    cd git-openssl
                                    apt-get source git
                                    cd git-*
                                    sed -i -e 's/libcurl4-gnutls-dev/libcurl4-openssl-dev/g' 
                                    ./debian/control
                                    sed -i -- '/TEST\s*=\s*test/d' ./debian/rules
                                    sudo dpkg-buildpackage -rfakeroot -b
                                    sudo dpkg -i git_2.7.4-0ubuntu1.6_arm64.deb
                                    
                                    #CleanUp
                                    cd ../../
                                    sudo rm -rf git-openssl
                                    You can follow This Bog or You can find simple script here to do that
                                    

                                    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 I tried that and got gnutls_handshake() failed: Close notify
                                      But that’s the same error as before :/

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

                                        @MMRPi1 then you are not running the openssl git…

                                        u may have to run the pi admin tool for software and updates to enable source download… I had to

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil How do you do that?

                                          1 Reply Last reply Reply Quote 0
                                          • bheplerB Offline
                                            bhepler Module Developer @sdetweil
                                            last edited by

                                            “gnutls_handshake() failed: Close notify”… I’m sorry, I don’t understand this. Can you type out the exact error that you’re seeing? Including all the text after “failed”.

                                            M S 2 Replies 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
                                            • 4 / 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