• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Can no longer update using GIT

Scheduled Pinned Locked Moved
FOG Problems
git
5
16
1.4k
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.
  • C
    cjp82placer
    last edited by Aug 15, 2018, 9:08 PM

    When trying to update using git, I receive the following error:

    [root@DO-FOG-02 fogproject]# git pull
    error: while accessing https://github.com/FOGProject/fogproject.git/info/refs

    fatal: HTTP request failed

    I can update using SVN but that only gets me to version 1.4.4

    Thanks

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Aug 15, 2018, 9:18 PM

      @cjp82placer Are you sure your internet connection is working fine? I can git pull/clone without an issue.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      C 1 Reply Last reply Aug 15, 2018, 9:21 PM Reply Quote 1
      • C
        cjp82placer @Sebastian Roth
        last edited by cjp82placer Aug 15, 2018, 3:21 PM Aug 15, 2018, 9:21 PM

        @sebastian-roth I’m pretty sure it’s good. I did an update using SVN recently with no issues but can’t go any further than1.4.4.

        W 1 Reply Last reply Aug 15, 2018, 9:45 PM Reply Quote 0
        • W
          Wayne Workman @cjp82placer
          last edited by Wayne Workman Aug 15, 2018, 3:46 PM Aug 15, 2018, 9:45 PM

          @cjp82placer On your fog server, what does this command do? curl https://github.com/ If it doesn’t error, I have other questions. Don’t post the output unless there is an error.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          C 1 Reply Last reply Aug 15, 2018, 10:21 PM Reply Quote 0
          • C
            cjp82placer @Wayne Workman
            last edited by Aug 15, 2018, 10:21 PM

            @wayne-workman said in Can no longer update using GIT:

            curl https://github.com/

            [root@DO-FOG-02 fogproject]# curl https://github.com/
            curl: (35) SSL connect error

            W 1 Reply Last reply Aug 16, 2018, 1:00 AM Reply Quote 0
            • W
              Wayne Workman @cjp82placer
              last edited by Aug 16, 2018, 1:00 AM

              @cjp82placer Next, on your fog server try this one:
              curl https://www.google.com/

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              C 1 Reply Last reply Aug 16, 2018, 3:38 PM Reply Quote 0
              • T
                Tom Elliott
                last edited by Aug 16, 2018, 11:53 AM

                What’s your machine’s timestamp compared to an atomic clock?

                Atomic clock can be found here: https://www.time.gov/

                Of course your timezone will adjust slightly, but the main point is you cannot be more or less than 5 minutes of the atomic clocks (typically) as that will cause the SSL cert to be invalidated (hence the ssl error you’re seeing.) Of course there could be many other reasons to what’s causing this, but I would recommend checking the time first as its the simplest course of action.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 1
                • C
                  cjp82placer @Wayne Workman
                  last edited by Aug 16, 2018, 3:38 PM

                  @wayne-workman No error with this command.

                  W 1 Reply Last reply Aug 16, 2018, 4:28 PM Reply Quote 0
                  • C
                    cjp82placer
                    last edited by Aug 16, 2018, 4:02 PM

                    @tom-elliott I am within seconds of the Atomic clock, but the time was off at one point in my troubleshooting.

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wayne Workman @cjp82placer
                      last edited by Aug 16, 2018, 4:28 PM

                      @cjp82placer Ok since the time has changed - rerun those commands to see if the issue is resolved or not. Also, add a ping command which will test DNS resolution:

                      # Just check if the curl succeeds or not.
                      curl https://github.com/ > /dev/null 2>&1;echo $?
                      # Just check if the curl succeeds or not.
                      curl https://www.google.com/ > /dev/null 2>&1;echo $?
                      # test dns resolution of google.
                      ping -c 4 google.com
                      # test dns resolution of github
                      ping -c 4 github.com
                      # Directly ping one of github's IPs
                      ping -c 4 192.30.253.113
                      

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      C 1 Reply Last reply Aug 16, 2018, 6:28 PM Reply Quote 0
                      • C
                        cjp82placer @Wayne Workman
                        last edited by Aug 16, 2018, 6:28 PM

                        @wayne-workman Here are the results; the pings were all successful but the curl command is still failing as is the git pull command.

                        [root@DO-FOG-02 fogproject]# curl https://github.com/ > /dev/null 2>&1;echo $?
                        35

                        [root@DO-FOG-02 fogproject]# curl https://www.google.com/ > /dev/null 2>&1;echo $?
                        0

                        [root@DO-FOG-02 fogproject]# ping -c 4 google.com
                        PING google.com (216.58.195.78) 56(84) bytes of data.
                        64 bytes from sfo07s16-in-f14.1e100.net (216.58.195.78): icmp_seq=1 ttl=52 time=11.7 ms
                        64 bytes from sfo07s16-in-f14.1e100.net (216.58.195.78): icmp_seq=2 ttl=52 time=11.7 ms
                        64 bytes from sfo07s16-in-f14.1e100.net (216.58.195.78): icmp_seq=3 ttl=52 time=11.6 ms
                        64 bytes from sfo07s16-in-f14.1e100.net (216.58.195.78): icmp_seq=4 ttl=52 time=11.7 ms

                        — google.com ping statistics —
                        4 packets transmitted, 4 received, 0% packet loss, time 3014ms
                        rtt min/avg/max/mdev = 11.695/11.730/11.748/0.079 ms

                        [root@DO-FOG-02 fogproject]# ping -c 4 github.com
                        PING github.com (192.30.255.113) 56(84) bytes of data.
                        64 bytes from lb-192-30-255-113-sea.github.com (192.30.255.113): icmp_seq=1 ttl=47 time=29.7 ms
                        64 bytes from lb-192-30-255-113-sea.github.com (192.30.255.113): icmp_seq=2 ttl=47 time=29.7 ms
                        64 bytes from lb-192-30-255-113-sea.github.com (192.30.255.113): icmp_seq=3 ttl=47 time=29.8 ms
                        64 bytes from lb-192-30-255-113-sea.github.com (192.30.255.113): icmp_seq=4 ttl=47 time=29.8 ms

                        — github.com ping statistics —
                        4 packets transmitted, 4 received, 0% packet loss, time 3035ms
                        rtt min/avg/max/mdev = 29.789/29.810/29.846/0.212 ms

                        [root@DO-FOG-02 fogproject]# ping -c 4 192.30.253.113
                        PING 192.30.253.113 (192.30.253.113) 56(84) bytes of data.
                        64 bytes from 192.30.253.113: icmp_seq=1 ttl=46 time=88.1 ms
                        64 bytes from 192.30.253.113: icmp_seq=2 ttl=46 time=88.1 ms
                        64 bytes from 192.30.253.113: icmp_seq=3 ttl=46 time=88.2 ms
                        64 bytes from 192.30.253.113: icmp_seq=4 ttl=46 time=88.1 ms

                        — 192.30.253.113 ping statistics —
                        4 packets transmitted, 4 received, 0% packet loss, time 3091ms
                        rtt min/avg/max/mdev = 88.117/88.167/88.221/0.365 ms
                        [root@DO-FOG-02 fogproject]# curl https://github.com/
                        curl: (35) SSL connect error

                        W 1 Reply Last reply Aug 16, 2018, 9:18 PM Reply Quote 0
                        • W
                          Wayne Workman @cjp82placer
                          last edited by Aug 16, 2018, 9:18 PM

                          @cjp82placer Do you have a web filter of any kind? You should check it to see if it’s blocking github.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Aug 16, 2018, 9:42 PM

                            @cjp82placer Possibly some kind of reverse SSL proxy within your network that is intercepting and maybe filtering all HTTPS connections?

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • Q
                              Quazz Moderator
                              last edited by Quazz Aug 17, 2018, 1:40 AM Aug 17, 2018, 7:35 AM

                              What OS and version are you running?

                              What does curl https://github.com --cipher rsa_aes_128_sha get you.

                              Curl error 35 is:

                              "Cannot communicate securely with peer: no common encryption algorithm(s)."
                              
                              The local and remote systems share no cipher suites in common. This can be due to a misconfiguration at either end. It can be due to a server being misconfigured to use a non-RSA certificate with the RSA key exchange algorithm.
                              

                              Also try curl https://github.com -v it should give us more info

                              C 2 Replies Last reply Aug 20, 2018, 7:30 PM Reply Quote 2
                              • C
                                cjp82placer @Quazz
                                last edited by Aug 20, 2018, 7:30 PM

                                @quazz said in Can no longer update using GIT:

                                curl https://github.com -v

                                [root@DO-FOG-02 fogproject]# curl https://github.com -v

                                • About to connect() to github.com port 443 (#0)
                                • Trying 192.30.255.112… connected
                                • Connected to github.com (192.30.255.112) port 443 (#0)
                                • Initializing NSS with certpath: sql:/etc/pki/nssdb
                                • CAfile: /etc/pki/tls/certs/ca-bundle.crt
                                  CApath: none
                                • NSS error -12190
                                • Closing connection #0
                                • SSL connect error
                                  curl: (35) SSL connect error

                                I am using CENTOS 6.7

                                1 Reply Last reply Reply Quote 0
                                • C
                                  cjp82placer @Quazz
                                  last edited by Aug 20, 2018, 9:04 PM

                                  @quazz Update… Updating cURL was the answer.
                                  libcurl-7.19.7-52.el6.x86_64 already installed and latest version
                                  Nothing to do

                                  Upgraded to : [root@DO-FOG-02 yum.repos.d]# curl --version
                                  curl 7.61.0 (x86_64-redhat-linux-gnu) libcurl/7.61.0 OpenSSL/1.0.1e zlib/1.2.3 c-ares/1.14.0 libssh2/1.8.0 nghttp2/1.6.0
                                  Release-Date: 2018-07-11

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  1 / 1
                                  • First post
                                    3/16
                                    Last post

                                  167

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project