Learn about Centmin Mod LEMP Stack today
Become a Member

Upgrade Fatal: HTTP request failed

Discussion in 'Install & Upgrades or Pre-Install Questions' started by computer19852007, Mar 1, 2018.

  1. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    11:06 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    • CentOS Version: i.e. CentOS 6 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.13.9
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2
    This Show Error:
    Code:
    error:  while accessing https://github.com/centminmod/centminmod.git/info/refs
    
    fatal: HTTP request failed
    Please Help me

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Where did it show that error ? What were you doing at the time in SSH ?

    Github.com has issues see their status page GitHub System Status

    upload_2018-3-2_4-41-58.png
     
  3. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    11:06 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    i have 2 error:

    1) Please view error when run ./centmin.sh:
    Code:
    [08:29][root@kkkk centminmod]# ./centmin.sh
    : command not foundtom_config.inc: line 7:
    : command not foundtom_config.inc: line 10:
    : command not foundtom_config.inc: line 13:
    : command not foundtom_config.inc: line 7:
    : command not foundtom_config.inc: line 10:
    : command not foundtom_config.inc: line 13:
    
    /etc/init.d /usr/local/src/centminmod
    /usr/local/src/centminmod
    : command not foundtom_config.inc: line 7:
    : command not foundtom_config.inc: line 10:
    : command not foundtom_config.inc: line 13:
    2) Run centmin.sh menu option 23 submenu option 2, it show error:
    Code:
    Updating Current Centmin Mod code branch via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    No local changes to save
    error:  while accessing https://github.com/centminmod/centminmod.git/info/refs
    
    fatal: HTTP request failed
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Maybe corrupted the git repo for Centmin Mod at /usr/local/src/centminmod. Just do a fresh Centmin Mod code replacement by wiping /usr/local/src/centminmod as outlined similar to update guide here for older than .07 releases.

    replace branchname with branch you want either 123.08stable or 123.09beta01
    Code (Text):
    branchname=123.09beta01
    cd /usr/local/src
    rm -rf centminmod*
    git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
    cd centminmod
    ./centmin.sh
     
  5. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    11:06 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
  6. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what do you get for the output for these below commands
    Code (Text):
    curl -I https://github.com/centminmod/centminmod
    

    Code (Text):
    curl -4I https://github.com/centminmod/centminmod
    

    Code (Text):
    dig github.com
    

    Code (Text):
    ping -c4 github.com
    

    Code (Text):
    ping6 -c4 github.com
    
     
  7. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    11:06 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    Hi @eva2000 . Thanks

    Code:
    # curl -I https://github.com/centminmod/centminmod
    
    #curl -4I https://github.com/centminmod/centminmod
    
    it show error:
    ----
    Code:
    #dig github.com
    it show
    Code:
    ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 <<>> github.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15389
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;github.com.                    IN      A
    
    ;; ANSWER SECTION:
    github.com.             24      IN      A       13.250.177.223
    github.com.             24      IN      A       52.74.223.119
    github.com.             24      IN      A       13.229.188.59
    
    ;; Query time: 2 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    ;; WHEN: Fri Mar  2 09:04:38 2018
    ;; MSG SIZE  rcvd: 76
    -----------------------
    Code:
    [09:04][root@xxy src]# ping -c4 github.com
    PING github.com (13.250.177.223) 56(84) bytes of data.
    
    --- github.com ping statistics ---
    4 packets transmitted, 0 received, 100% packet loss, time 13000ms
    -----
    Code:
    [09:07][root@xxy src]# ping6 -c4 github.com
    unknown host
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    100% packet loss + curl SSL connection error are the problems. When was last time you did a yum update and server reboot after updating yum packages like kernels ?

    Try a yum update and server reboot to rule out outdated ca-certificate packages etc
    Code (Text):
    yum -y update
    reboot
    


    could also be that github.com has blocked your server i.e. due to their DDOS mitigation strategy against recent memcrashed memcached ddos attacks.
     
  9. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    11:06 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    Thank you very much, i have yum update nss curl libcurl with command

    Code:
    # yum update -y nss curl libcurl
    it working

     
  10. nicnicnic

    nicnicnic New Member

    2
    2
    3
    Mar 6, 2018
    Ratings:
    +2
    Local Time:
    11:06 AM
    1.9.7
    10.0.24
    Thanks computer19852007, i used your cmd and it worked like a charm (i installed phpmyadmin). From VN too !
     
  11. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    11:06 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    Thanks, i have not used Phpmyadmin manager, i have used adminer manager Database