HTTP/2 stream 1 was not closed cleanly before end of the underlying stream

I got this error when installing qv2ray from AUR

Does anyone know how to fix it?

fatal: unable to access 'https://github.com/itay-grudev/SingleApplication/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
fatal: clone of 'https://github.com/itay-grudev/SingleApplication' into submodule path '/var/tmp/pamac-build-firestar/qv2ray/src/Qv2ray/3rdparty/SingleApplication' failed
Failed to clone '3rdparty/SingleApplication'. Retry scheduled
Cloning into '/var/tmp/pamac-build-firestar/qv2ray/src/Qv2ray/3rdparty/libuv'...
fatal: unable to access 'https://github.com/libuv/libuv.git/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
fatal: clone of 'https://github.com/libuv/libuv.git' into submodule path '/var/tmp/pamac-build-firestar/qv2ray/src/Qv2ray/3rdparty/libuv' failed
Failed to clone '3rdparty/libuv'. Retry scheduled
Cloning into '/var/tmp/pamac-build-firestar/qv2ray/src/Qv2ray/3rdparty/puresource'...

Are pou able to browse to the failed to access URLs?

and

If not, are you able to access github.com?

If you can, then try and ping github.com, just to make sure you can reach it VIA the terminal.

ping github.com

I’ve just tested, and I’m able to access the URLs, so it seems they’re correct.

If you can, then I don’t know why it’d say that, sorry. If you can’t, then that’s obviously the problem and you’ll need to either

  1. wait and see if it becomes available again; or
  2. log a fault, jump thorough hoops and sort it out with your ISP.
1 Like

This might be your country deciding which urls are “safe” and which are not.

1 Like

Are you able to browse to the failed to access URLs?

Yes

If you can, then try and ping github.com, just to make sure you can reach it VIA the terminal.

ping -c 5 github.com
PING github.com (140.82.114.3) 56(84) bytes of data.
64 bytes from github.com (140.82.114.3): icmp_seq=1 ttl=45 time=279 ms
64 bytes from github.com (140.82.114.3): icmp_seq=2 ttl=45 time=323 ms
64 bytes from github.com (140.82.114.3): icmp_seq=3 ttl=45 time=365 ms
64 bytes from github.com (140.82.114.3): icmp_seq=4 ttl=45 time=304 ms
64 bytes from github.com (140.82.114.3): icmp_seq=5 ttl=45 time=348 ms

--- github.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 279.308/323.821/365.324/30.523 ms

/usr/bin/ping is owned by iputils

1 Like

Thanks sudo pacman -S iputils

The original qv2ray repository have been ‘archived’

There is already a fork packaged as ‘qv2ray-static-bin-nightly’ on AUR but note that is not following best packaging practice (not using source=(), unversioned download, wrong pkgbuild name)

This may be an answer:

  1. change /etc/hosts to this

  2. git config --global --unset https.proxy