Menu

#2839 Git clone from sourceforge frequently fails

linux
invalid
nobody
None
5
2018-06-14
2018-04-02
Phil Ames
No

I'm trying to clone this repository from scratch, but it looks like Sourceforge's git implementation is unable to serve it. Via git:

$ git clone git://git.code.sf.net/p/net-snmp/code
Cloning into 'code'...
fatal: The remote end hung up unexpectedly

I've managed to succeed once with --depth=1 but I'd like to get more than just a shallow clone, and I can't unshallow it after checkout:
$ git fetch --unshallow
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header

(this happens after about 3 minutes)

Are there other git mirrors available? I couldn't find any on Github.

I'll try the https:// git checkout option but I had problems with that the last time I tried as well. Unfortunately I couldn't find a way to raise this issue with Sourceforge directly.

Discussion

  • Phil Ames

    Phil Ames - 2018-04-02

    The HTTPS clone failed after about 45 minutes:

    $ git clone https://git.code.sf.net/p/net-snmp/code net-snmp-code
    Cloning into 'net-snmp-code'...
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    remote: Counting objects: 248854, done.
    fatal: The remote end hung up unexpectedly
    fatal: protocol error: bad pack header

     
  • Yang Yang

    Yang Yang - 2018-04-02

    +1

    I am experiencing the same problem when I am doing git pull for net_snmp, also other code repro hosted on sourceforge. Comparing with other modern git servers, such as github or gitlab, I constantly run into the issues with sourceforge, connection timeout, slow download etc. Just wondering whether we could switch over to other git servers, or at least get a backup somewhere else? Thank you!

     
  • Keith Mendoza

    Keith Mendoza - 2018-04-04

    This issue has been on and off since Sourceforge did a migration. Please see Datacenter Migration Update for some info about their imgration. SF Net Ops twitter handle had information about what's causing issues in early March after their migration. It appears that these issues are back again.

     
  • Phil Ames

    Phil Ames - 2018-04-04

    Thanks for that information, Keith. I tried raising them on Twitter here: https://twitter.com/philames/status/981350313029378048

    Hopefully someone from Sourceforge can chime in or take a look.

     
  • Robert Story

    Robert Story - 2018-04-24
    • status: open --> invalid
     
  • Robert Story

    Robert Story - 2018-04-24

    We are looking into migrating away from SF. As a temporary workaround, I've updated my repo on github witht the latest code.

    https://github.com/rstory/net-snmp.git

    There is nothing we can do about their infrastructure issues.

     
  • Trilarion

    Trilarion - 2018-06-14

    I experience the same problem currently. Does it mean that using Git on Sourceforge is inherently unstable? It would probably make the whole thing next to useless.

     
  • Bart Van Assche

    Bart Van Assche - 2018-06-14

    Since many months there are problems with git repositories hosted on SourceForge. Please use https://github.com/net-snmp instead.

     

Log in to post a comment.