Skip to content

Conversation

@Seiwert
Copy link

@Seiwert Seiwert commented Jan 15, 2024

While working with vcs I was noticing a lot of failures when having to be on an unreliable VPN connection when running an import command. This is the failure I was seeing:

Could not determine ref type of version: kex_exchange_identification: read: Connection reset by peer

After doing some debugging, I noted that vcs was erroring out when running the git "ls-remote" command. Upon further inspection, I noted that the retry flag was not being passed to where this command was being called. After applying the changes in this PR, vcs is now able to successfully import all my git repos on an unstable connection (with a retry flag being passed in).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant