Hello,

According to the instructions here 
https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Pulling_code_via_ssh
 
pulling the code should be done like this:

git clone ssh://usern...@gerrit.fd.io:29418/vpp.git

However, from my computer that does not work (it hangs). First I
thought this was due to port 29418 being blocked for me locally but it
turns out that was not the issue.

Doing "host gerrit.fd.io" shows that it has both an IPv4 and an IPv6
address:
IPv4: 52.10.107.188
IPv6: 2600:1f14:9b3:3400:ee75:f90f:2247:905d

If I use the IPv4 address instead of the hostname, like this, then it
works:

git clone ssh://USERNAME@52.10.107.188:29418/vpp.git

Trying from another computer that only uses IPv4, it works as it should
using the hostname.

So, it seems like the ssh access to gerrit.fd.io:29418 works for IPv4
but not for IPv6. That would explain why I can get it to work by typing
the IPv4 address instead of the hostname, I guess that forces IPv4 to
be used.

As another way of verifying this, I tested disabling IPv6 completely on
my computer. Then things work, consistent with the hypotethis that the
problem is related to IPv6 configuration of the gerrit.fd.io server.
(if I'm right, anyone trying to access gerrit.fd.io:29418 using IPv6
should see this problem)

For now, using the IPv4 address works as a workaround, but I guess this
is something that should be fixed in how the server is configured?

Best regards,
Elias

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14385): https://lists.fd.io/g/vpp-dev/message/14385
Mute This Topic: https://lists.fd.io/mt/39770462/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to