#7515 Git operations on pagure.io are slow when using SSH but not HTTPS
Closed: Fixed 5 years ago by mprahl. Opened 5 years ago by mprahl.

  • Describe what you need us to do:

Running git clone ssh://git@pagure.io/greenwave.git takes 2 minutes and 15 seconds before it even starts the download process. Once it does start downloading, it is quite fast. Running git clone https://pagure.io/greenwave.git takes about 2 seconds in total. Also, cloning a repo on GitHub using SSH takes about 2 seconds as well.

The same behavior occurs on git pull and git push commands.

telnet provides some interesting output:

telnet pagure.io 22
Trying 2605:bc80:3010:600:dead:beef:cafe:fed8...
telnet: connect to address 2605:bc80:3010:600:dead:beef:cafe:fed8: Connection timed out
Trying 152.19.134.147...
Connected to pagure.io.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.4
Connection closed by foreign host.

It seems that it first tries over IPv6, and then falls back to IPv4 and works right away.

  • When do you need this? (YYYY/MM/DD)

N/A

  • When is this no longer needed or useful? (YYYY/MM/DD)

N/A

  • If we cannot complete your request, what is the impact?

It is annoying but I can work around it.


Metadata Update from @smooge:
- Issue assigned to smooge

5 years ago

I think the issue is that you have IPv6 enabled but it can't route to Osuosl. So your slowness is that you are timing out the ipv6 before it tries the ipv4 network. Turn off ipv6 when in that network space and you should see faster performance.

Disabling IPv6 on this connection fixed the issue. Thanks!

Metadata Update from @mprahl:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata