Topic: problem with IPV6 and git ?

Hi
I don't know if it's relared to the power failure on 3 of july, but git access using ipv6 doesn't work anymore as reported by several users.

this doesn't work :

LC_ALL=C git clone -nv -6 git://git.tuxfamily.org/gitroot/hatari/hatari.git 
Cloning into 'hatari'...
Looking up git.tuxfamily.org ... done.
Connecting to git.tuxfamily.org (port 9418)

it hangs forever

but when forcing ipv4 it works :

LC_ALL=C git clone -nv -4 git://git.tuxfamily.org/gitroot/hatari/hatari.git 
Cloning into 'hatari'...
Looking up git.tuxfamily.org ... done.
Connecting to git.tuxfamily.org (port 9418) ... 212.85.158.6 done.
remote: Counting objects: 52235, done.

this is from some PC with working IPV6 connectivity, so it seems the problem is specific to tuxfamily site.
Any idea ?

Nicolas

2 (edited by scorpio810 2023-07-04 08:19:31)

Re: problem with IPV6 and git ?

It's work, but is very long...

time git pull
Password:
Déjà à jour.

real    2m18,439s
user    0m0,050s
sys     0m0,019s

Re: problem with IPV6 and git ?

scorpio810 wrote:

It's work, but is very long...

This is maybe because git fallbacks to ipv4 after too long ?
If working correctly it should take the same time as when using ipv4 "-4" flag

Re: problem with IPV6 and git ?

I believe there has been some IPv6-related fixes in the meantime.
Can you please try again?

$ LC_ALL=C git clone -nv -6 git://git.tuxfamily.org/gitroot/hatari/hatari.git
Cloning into 'hatari'...
Looking up git.tuxfamily.org ... done.
Connecting to git.tuxfamily.org (port 9418) ... 2a02:2178:1000:201::6 done.
remote: Counting objects: 52235, done.
remote: Compressing objects: 100% (12661/12661), done.
remote: Total 52235 (delta 41640), reused 49501 (delta 39445)
Receiving objects: 100% (52235/52235), 14.83 MiB | 667.00 KiB/s, done.
Resolving deltas: 100% (41640/41640), done.

Re: problem with IPV6 and git ?

Hi Xavier,

it's now ok for me.

time git pull
Password:
Déjà à jour.

real    0m8,479s
user    0m0,051s
sys     0m0,021s

6 (edited by baud 2023-07-06 12:31:16)

Re: problem with IPV6 and git ?

> I believe there has been some IPv6-related fixes in the meantime.

yep it was fixed by 16h40 (France time) on this monday (it was not working for me either at 16h10)


just tell us it works for you now  like scorpio< did   :-) thanks _o/

Re: problem with IPV6 and git ?

Thanks for the change, I confirm IPV6 works for me now, as well as for other people who reported me the problem.

Nicolas