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://git.jetbrains.org/idea/community.git idea/141.713.2
6b5f5df254622d3d5ff432a179d3abe5876767cb refs/tags/idea/141.713.2
$ git fetch --depth=1 git://git.jetbrains.org/idea/community.git idea/141.713.2

fatal: read error: Connection reset by peer

3 comments
Comment actions Permalink

Please use

git@github.com:JetBrains/intellij-community.git
0
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 git@github.com:JetBrains/intellij-community.git idea/\*
Warning: Permanently added the RSA host key for IP address '192.30.252.128' 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.

0
Comment actions Permalink

Glad you have figured it out.

0

Please sign in to leave a comment.