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

git lfs pull error:unable to negotiate version with remote side (unable to read capabilities) eof #5690

Open
lucashaha opened this issue Mar 28, 2024 · 1 comment

Comments

@lucashaha
Copy link

I use git lfs as fllow steps:

GIT_LFS_SKIO_SMUDGE=1 git clone git@xxx.git
git lfs fetch

when i use git lfs pull,the command pull error:unable to negotiate version with remote side (unable to read capabilities) eof

image

@chrisd8088
Copy link
Contributor

Hey, I'm sorry you're having trouble. There's not much in your report to go on, but a few points stand out. First, note that the environment variable is GIT_LFS_SKIP_SMUDGE, not GIT_LFS_SKIO_SMUDGE. That's probably just a typo in your report, though.

Second, the output of git lfs env you provided doesn't show any Endpoint value, which suggests you are not calling the command inside your Git working tree, so there's no information about what remote URL the client is trying to use. You need to run git lfs env inside the working tree to get a full report.

Third, the message unable to negotiate version with remote side implies you are trying to use the "pure" SSH transfer option for Git LFS, which is not yet supported by some Git LFS hosting services. We'll need to see at least a redacted version of the Endpoint from git lfs env to try to understand what's going on here, and it would also be helpful to know something about what kind of LFS storage service you're using.

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

No branches or pull requests

2 participants