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?
slh
June 7, 2024, 3:51pm
3
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:
clone from openwrt.org : git clone https://git.openwrt.org/openwrt/openwrt.git
1st: 1m42s and
2nd: 3m50s
clone from gihub.com , only 25s
./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
dannil
June 7, 2024, 10:07pm
5
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:
clone from github:
git clone https://github.com/openwrt/openwrt.git
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
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.
2 Likes
system
Closed
June 18, 2024, 8:03am
8
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.