Bitbucket cannot clone repository "fatal: early EOF fatal: index-pack failed"

25,042

I fix this issue running: "git fetch origin"

Share:
25,042
PaladiN
Author by

PaladiN

Updated on January 31, 2021

Comments

  • PaladiN
    PaladiN over 3 years

    I am trying to clone my repository using ssh from bitbucket but whenever i clone the repository i get:

    Connection to bitbucket.org closed by remote host.00 KiB/s
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
    

    During cloning repositories of small size it gets cloned but when cloning bigger size repositories gives the error. I also have tried this method:

    fatal: early EOF fatal: index-pack failed

    but no luck. Could any one help with the issue?

    Note:

    Http cloning works fine, but that doesn't work in my scenario. I need to clone using only ssh.