This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Git fetch/push to kde.org now takes 2 minutes

Tags: None
(comma "," separated)
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS
Hi,
Git fetch/push to kde.org now takes 2 minutes for me. Or rather authentication?
This command takes 2.5 minutes. Hangs on "Connecting to anongit.kde.org (port 9418) ... ".

Code: Select all
cd somegitrepo
git fetch origin  -vvv
Looking up anongit.kde.org ... done.
Connecting to anongit.kde.org (port 9418) ... 159.203.184.29 done.
From git://anongit.kde.org/somerepo
 = [up to date]        master                   -> origin/master
...


Pushing (git push origin master) also takes 2.5 minutes.

I am looking for advice where to diagnose what's up.

What was changed on my system: none. No firewall changes, and this is not a corporate environment.

Happens on Plasma 5 and XFCE. On the latter disabled all GNOME and KDE services to know what happens. No changes.

~/.gitconfig contains

[url "git://anongit.kde.org/"]
insteadOf = kde:
[url "ssh://git@git.kde.org/"]
pushInsteadOf = kde:

~/.ssh/config contains:

Host *.kde.org
User git
IdentityFile ~/.ssh/*****


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS
Found out that services trying to use IPv6 first and fail to find IPs.

e.g.

curl -v google.com
* Rebuilt URL to: google.com/
* Hostname was NOT found in DNS cache
* Trying 2a00:1450:401b:802::200e...
* Trying 172.217.20.206...

Disabling IPv6 system-wide fixed the problem in an obvious way.

Also added

Code: Select all
        IdentityFile ~/.ssh/id_rsa_kde


to my "Host *.kde.org" section of ~/.ssh/config


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell