Https://git.openwrt.org/......website speed too slow

Post this issue again and again (mine 1st), so sorry.

Hi, I donot know why, each time I clone openwrt / update feeds, your website always slower speed, and very slower on some packages link.

If it cannot solve easily, Could you switch the links to GitHub by default.

xxxxx$ ./scripts/feeds update -a && ./scripts/feeds install -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git^063b2393cbc3e5aab9d2b40b2911cab1c3967c59' ...
Cloning into './feeds/packages'...
remote: Enumerating objects: 205251, done.
remote: Counting objects: 100% (205251/205251), done.
remote: Compressing objects: 100% (86216/86216), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
failed.


Hi,
I'm not seeing this issue, can you confirm a traceroute to git.openwrt.org and show where the latency is?

The server itself is reasonably fast, how the peering turns out to be to your country/ ISP however is another question.

There is always an option to pull the source from github, instead of OpenWrt's own server, which might (or might not) be faster for you.

in my home, just tested:

  1. clone from openwrt.org: git clone https://git.openwrt.org/openwrt/openwrt.git
    1st: 1m42s and
    2nd: 3m50s

  2. clone from gihub.com, only 25s

  3. ./scripts/feeds update -a,
    now 3 times cannot get 100% finish, all failed because download stopped.

My ISP is 1Gbps connection, always OK, github download speed is 10MB/s.

Not only me report this problem, many others.......

1 Like

You're comparing GitHub, a corporation with over 1 billion USD in revenue, with an independently funded open source project's servers, of course it'll be faster in most cases when pulling down the entire openwrt.git repo from scratch. Switch to the GitHub mirror if speed is an issue for you.

1 Like

I do not know our openwrt.org host where, the performance is not good, that is true.

The other possible reason is that thousands packages linked to original sites, not centralized. When I do ./scripts/feeds update -a, the download speed is very unstable. Yesterday, download(feeds update) failed 3 times continually.

I have to manually switch to github, as:

  1. clone from github:
git clone https://github.com/openwrt/openwrt.git
  1. mod file feeds.conf.default to github:
src-git packages https://github.com/openwrt/packages.git
src-git luci https://github.com/openwrt/luci.git
src-git routing https://github.com/openwrt/routing.git
src-git telephony https://github.com/openwrt/telephony.git
#src-git video https://github.com/openwrt/video.git
#src-git targets https://github.com/openwrt/targets.git
#src-git oldpackages http://git.openwrt.org/packages.git
#src-link custom /usr/src/openwrt/custom-feed
  1. if you have a pre-download library code folder named "dl", just copy it into the openwrt directory.

Then we avoid to use openwrt.org site.

1 Like