pihole -up and git "Failed sending HTTP2 data" Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Abort Quest
Posts: 2
Joined: Thu May 06, 2021 6:23 pm

pihole -up and git "Failed sending HTTP2 data"

Post by Abort Quest »

I was getting this issue when I wanted to update my pihole:
root@DietPi:~# pihole -up
Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Failed sending HTTP2 data
Pi-hole Core: up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Failed sending HTTP2 data
Web Interface: up to date
FTL: up to date

[✓] Everything is up to date!


I also couldn't pull up any git addresses using:
git https://

This would work however:
git git://

I found out from https://superuser.com/questions/1642858 ... hub-com-us that it was possibly a libcurl3-gnutls issue, also reported here https://bugs.debian.org/cgi-bin/bugrepo ... bug=987187. I solved this by downgrading to 7.64.0-4+deb10u2 for now using the command:
apt install libcurl3-gnutls=7.64.0-4+deb10u2

When I had the problem, libcurl3-gnutls 7.74.0-1.2~bpo10+1 was installed.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: pihole -up and git "Failed sending HTTP2 data"

Post by Joulinar »

Hi,

looks like you had package libcurl3-gnutls installed from Buster backports. (indicated by bpo10+1). Usually packages are not installed from backports as this would need to be requested explicitly. Standard version on Buster is/was 7.64.0-4+deb10u2

I did 2 test installing PiHole

1st test done on Buster - VM 64bit, version installed libcurl3-gnutls 7.64.0-4+deb10u2

Code: Select all

root@DietPiVM1:~# dpkg -l libcurl3-gnutls
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version          Architecture Description
+++-=====================-================-============-=============================================================
ii  libcurl3-gnutls:amd64 7.64.0-4+deb10u2 amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
root@DietPiVM1:~# pihole -up
  [i] Checking for updates...
  [i] Pi-hole Core:     up to date
  [i] Web Interface:    up to date
  [i] FTL:              up to date

  [✓] Everything is up to date!
root@DietPiVM1:~#
2nd test done on Bullseye - RPi4 64bit, version installed libcurl3-gnutls 7.74.0-1.3+b1

Code: Select all

root@DietPi4:~# dpkg -l libcurl3-gnutls
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version       Architecture Description
+++-=====================-=============-============-=============================================================
ii  libcurl3-gnutls:arm64 7.74.0-1.3+b1 arm64        easy-to-use client-side URL transfer library (GnuTLS flavour)
root@DietPi4:~# pihole -up
  [i] Checking for updates...
  [i] Pi-hole Core:     up to date
  [i] Web Interface:    up to date
  [i] FTL:              up to date

  [✓] Everything is up to date!
root@DietPi4:~#
Probably installing packages from backports was causing some issues as version 7.74.0-1.3+b1 is working fine on Bullseye.

https://packages.debian.org/search?suit ... rl3-gnutls
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Abort Quest
Posts: 2
Joined: Thu May 06, 2021 6:23 pm

Re: pihole -up and git "Failed sending HTTP2 data"

Post by Abort Quest »

Thanks, I think that would more or less explain my situation. I have no idea how I ended up with a backport though lol.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: pihole -up and git "Failed sending HTTP2 data"

Post by Joulinar »

probably some software was installed in past which invoke backports.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply