RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    fatal: unable to access 'https://github.com/RetroPie/==various git files==': gnutls_handshake() failed: Error in the pull function.

    Scheduled Pinned Locked Moved Help and Support
    git error
    11 Posts 3 Posters 4.6k Views
    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.
    • J
      jjrhodes
      last edited by

      Pi Model or other hardware: Pi 3 model B ver 2
      Power Supply used: 5VDC, 3A
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.4
      Built From: Pre made SD Image on RetroPie website: retropie-4.4-rpi2_rpi3.img
      USB Devices connected: Keyboard, (also tried PS3-wired, Buffalo Gamepad-wired
      Controller used: See above
      Error messages received: see post title and below
      Log found in /dev/shm/runcommand.log (if relevant):
      Guide used: n/a
      File: (File with issue - with FULL path)
      Emulator: (Name of emulator - if applicable) various: zdoom, darkplaces, ps3controller, and now retropie-splashscreens.git
      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
      How to replicate the problem: using RetroPie Setup script to install packages

      Have been trying to re-install a fresh Retropie using 4.4 (have semi-functional 4.2).
      Have been getting all sorts of timeout errors and gnutls_handshake() failed errors trying to add emulators via the Retropie setup script. Here is a sample logfile from `/Retropie-Setup/logs which happened on the first run of a second re-flash of the image file:
      Log started at: Wed Jun 13 14:26:55 CDT 2018
      RetroPie-Setup version: 4.4 (cda9ffcb)
      System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux
      = = = = = = = = = = = = = = = = = = = = =
      Running post update hooks
      = = = = = = = = = = = = = = = = = = = = =
      Compiling /opt/retropie/supplementary/runcommand/joy2key.py ...
      fatal: unable to access 'https://github.com/RetroPie/retropie-splashscreens.git/': gnutls_handshake() failed: Error in the pull function.
      Error running 'git pull' - returned 1
      Log ended at: Wed Jun 13 14:29:26 CDT 2018
      Total running time: 0 hours, 2 mins, 31 secs

      What do you suppose the problem is?

      TIA
      jj

      1 Reply Last reply Reply Quote 0
      • J
        jjrhodes
        last edited by

        Replying to myself to add this.
        Here is a log of trying to install zdoom:
        https://pastebin.com/3C0urGYc

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @jjrhodes
          last edited by

          @jjrhodes Are you using a proxy server for web access ? I can't reproduce the error with a direct connection and searching for this error seems to indicate some connection via proxy problems.

          1 Reply Last reply Reply Quote 0
          • J
            jjrhodes
            last edited by

            Hi mitu,
            No, I am not using a proxy - but I do have horribly slow DSL service.
            I tried installing zdoom again (install from source) and got the same error as yesterday:

            Log started at: Thu Jun 14 08:14:29 CDT 2018
            
            RetroPie-Setup version: 4.4 (cda9ffcb)
            System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux
            
            = = = = = = = = = = = = = = = = = = = = =
            Installing dependencies for 'zdoom' : ZDoom - Enhanced port of the official DOOM source
            = = = = = = = = = = = = = = = = = = = = =
            
            /home/pi/RetroPie-Setup/tmp/build/zdoom /home/pi
            
            = = = = = = = = = = = = = = = = = = = = =
            Getting sources for 'zdoom' : ZDoom - Enhanced port of the official DOOM source
            = = = = = = = = = = = = = = = = = = = = =
            
            git clone --recursive --depth 1 --branch retropie "https://github.com/RetroPie/zdoom.git" "/home/pi/RetroPie-Setup/tmp/build/zdoom"
            Cloning into '/home/pi/RetroPie-Setup/tmp/build/zdoom'...
            fatal: unable to access 'https://github.com/RetroPie/zdoom.git/': gnutls_handshake() failed: Error in the pull function.
            /home/pi
            Error running 'git clone --recursive --depth 1 --branch retropie https://github.com/RetroPie/zdoom.git /home/pi/RetroPie-Setup/tmp/build/zdoom' - returned 128
            
            Log ended at: Thu Jun 14 08:16:51 CDT 2018
            Total running time: 0 hours, 2 mins, 22 secs
            

            But weirdly, when I was returned to the setup screen, a new choice of "Install from binary" appeared and I tried it with the following results (note SSL error):

            Log started at: Thu Jun 14 08:18:05 CDT 2018
            
            RetroPie-Setup version: 4.4 (cda9ffcb)
            System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux
            
            = = = = = = = = = = = = = = = = = = = = =
            Installing dependencies for 'zdoom' : ZDoom - Enhanced port of the official DOOM source
            = = = = = = = = = = = = = = = = = = = = =
            
            
            = = = = = = = = = = = = = = = = = = = = =
            Installing 'zdoom' : ZDoom - Enhanced port of the official DOOM source
            = = = = = = = = = = = = = = = = = = = = =
            
            zdoom/
            zdoom/zdoom.pk3
            zdoom/zdoom
            /opt/retropie/ports/zdoom /home/pi
            
            = = = = = = = = = = = = = = = = = = = = =
            Configuring 'zdoom' : ZDoom - Enhanced port of the official DOOM source
            = = = = = = = = = = = = = = = = = = = = =
            
            GnuTLS: The TLS connection was non-properly terminated.
            Unable to establish SSL connection.
            /home/pi
            
            Log ended at: Thu Jun 14 08:19:27 CDT 2018
            Total running time: 0 hours, 1 mins, 22 secs
            

            Do you think the issue is due to a slow internet connection ?

            thanks,
            jj

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @jjrhodes
              last edited by

              @jjrhodes More likely a bad quality connection, slow or not.

              1 Reply Last reply Reply Quote 0
              • J
                jjrhodes
                last edited by

                Ok, I set up the Pi to connect over WiFi to my cell phone hotspot and was able to install a couple of packages, so it seems the problem is my bad DSL connection.
                Thanks for your help.

                ByteThisB 1 Reply Last reply Reply Quote 0
                • ByteThisB
                  ByteThis @jjrhodes
                  last edited by

                  @jjrhodes DSL has moderately good speeds downloading. Maybe you have an older modem / router that needs updating ? Or maybe your ISP provider has set bandwidth throttles for uploading / downloading ? Sometimes when you have cellphones, other pcs etc running at the same time it slows the bandwidth down. Cellphones hog a lot of bandwidth speed.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jjrhodes
                    last edited by

                    @ByteThis Thanks for responding. My DSL is provided by Frontier, plus I am somewhat far from the CO. Download speed is 1.5 Mbps, upload is 0.90 Mbps. Some days are worse than others. Router is the newest one offered. I do have a lot of devices connected - most Wifi.
                    I am thinking about hardwiring the Pi to the router to see if that improves things.
                    This probably won't happen soon as I am busy with other things now.
                    What I really need is a migration tool to copy my 4.2 Retropie setup to the 4.4 version without having to download and re-install everything again.

                    ByteThisB 1 Reply Last reply Reply Quote 0
                    • ByteThisB
                      ByteThis @jjrhodes
                      last edited by

                      @jjrhodes This may be what your looking for as far as upgrading : https://retropie.org.uk/forum/topic/16145/retropie-upgrading-raspbian-jessie-to-stretch/39

                      1 Reply Last reply Reply Quote 0
                      • J
                        jjrhodes
                        last edited by

                        @ByteThis Thanks for the link - I had looked over that. The main problem I have (and why I started this whole upgrade thing) is that my current 4.2 setup is flaky - Emulation Station and the games work fine, but I can't drop down to a command prompt or SSH in so its a matter of time before the thing dies. I though upgrading would be the way to go, but re-installing all the sources/binaries is causing problems on my end.
                        After reading about the PS4/PS3 controller problems (which I use) here: https://retropie.org.uk/forum/topic/17650/dualshock-controllers-on-4-4-with-3b ,I think I'll wait to upgrade for awhile.
                        I do have an fairly recent image of the 4.2 setup and I was pretty good about backing up the Retropie directories, so some copying and rsync'ing should do the trick.
                        Thanks again to everyone who helped
                        -jj

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @jjrhodes
                          last edited by mitu

                          @jjrhodes said :

                          After reading about the PS4/PS3 controller problems (which I use) here: https://retropie.org.uk/forum/topic/17650/dualshock-controllers-on-4-4-with-3b ,I think I'll wait to upgrade for awhile.

                          The topic you mentioned describes the changes in controller support in the new Linux kernel, but it doesn't mean they won't work. The button mappings have been changed, but since you'll be starting from scratch (new installation) you'll have to configure them anyway on the 1st boot. The trouble it seems to be when you have more than 1 such controllers and you're using one of the non-Libretro emulators (Mupen64, advmame).
                          Note that the changes in the controller behavior are triggered by the new Linux kernel driver (sony-hid), so there's not much that the project can do about it in the future.
                          IMHO, you should give it a try - backing up your existing image with Win32DiskImager or Ether, so you can restore it if you don't like the new version - and get the 4.4 RetroPie image, update it (OS included) and see for yourself.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.