Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve import failure on very slow/unstable networks #265

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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