-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Error with socks5 proxy #1424
Comments
Thanks for the report, Git LFS only supports http(s) proxies right now. I've added this to the roadmap for v1.4. |
What can be done to push this forward? Are there any blockers? I think I have a similar problem: tsocks is configured on port 9500. I can run git commands through the proxy with My git lfs --version is |
What can be done to push this forward? Are there any blockers?
Thanks for asking. I don't have an environment set up to simulate this
sort of failure, so we would need to get in touch with someone who (1)
does have this sort of thing set up and (2) has the time to look into
and fix this bug.
If (1) and (2) are you, I would be more than happy to point you in the
right direction to figure out what's going on here.
|
+1, had problems with Socks proxy today :( I'm actually trying to push (First commit using LFS), and I get this:
|
same problem _POST git-upload-pack (175 bytes) Errors logged to G:\github\self_study.git\lfs\logs\20180830T144757.7638638.log |
I have (1) fulfilled and is willing to look into it (to at least some extent depending on the size of the fix). |
I think this may have been fixed in golang/go#18508 if your protocol scheme is |
Same problem here. When I run git clone with a socks5 proxy setup, git LFS won't download the file, because it cannot identify
|
Okay, I think there are two issues here. One is that we don't support socks5h, which is known and is a limitation in Go. The other is that we seem to prepend If somebody would like to test that commit using the following, then that would give me more confidence that there isn't some other underlying issue: $ go get github.com/git-lfs/git-lfs
$ cd "$GOPATH/src/github.com/git-lfs/git-lfs"
$ git remote add bk2204 https://github.com/bk2204/git-lfs.git"
$ git fetch bk2204
$ git checkout -t bk2204/socks5
$ make
# Then try bin/git-lfs |
Hey there.
I got some problems when using git-lfs behind a socks proxy.
The proxy settings in the git config are as follows:
http.proxy=socks5://127.0.0.1:3334
When
git push
ing an error is thrown:So the config is read, but git-lfs tries to connect to the proxy while appending another protocol (
http://
). When there's already one in place it should be used, imo.KR,
bcersows
The text was updated successfully, but these errors were encountered: