git fetch of Idea - connection reset by peer

Why is this git fetch failing? Seems to be a persistent problem.

$ git ls-remote --tags git:// idea/141.713.2
6b5f5df254622d3d5ff432a179d3abe5876767cb refs/tags/idea/141.713.2
$ git fetch --depth=1 git:// idea/141.713.2

fatal: read error: Connection reset by peer

Comment actions Permalink

Please use
Comment actions Permalink

Thank you for the suggestion, although it did not help, in fact, did not work (see below).

I think I figured out what my problem was. I was trying to do a depth 1 fetch into a repo that was not created as a shallow clone.

Too bad that git was unable to communicate that information...

git ls-remote --tags idea/\*
Warning: Permanently added the RSA host key for IP address '' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Comment actions Permalink

Glad you have figured it out.


Please sign in to leave a comment.