Hello,

I updated a server with gitlab-ce 8.2.2 and enabled git-lfs support.
The server is configured to use https with a self-signed certificate.

I created a dummy repository to test git-lfs:

$ mkdir test_lfs
$ cd test_lfs
$ git init
$ echo "Test git-lfs" > README
$ git lfs track "*.iso"
$ git add .
$ git commit -m "Initial commit"
$ git remote add origin https://xxxx.xxxx.xx/username/test_lfs.git
$ git config http.sslVerify false
$ git push -u origin master
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (4/4), 311 bytes | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
To https://xxxx.xxxx.xx/username/test_lfs.git
 * [new branch]      master -> master
$ fallocate -l 5M test.iso
$ git add test.iso
$ git commit -m "Add test.iso"
$ git push origin master
Git LFS: (0 of 1 files) 0 B / 5.00 MB                                       
                                                                            
                                                                     
Post https://xxxx.xxxx.xx/username/test_lfs.git/info/lfs/objects/batch: 
dial tcp xxx.xxx.xxx.xxx:443: i/o timeout
error: failed to push some refs to 
'https://xxxx.xxxx.xx/username/test_lfs.git'

This is from work. I did the exact same thing from home and it works fine, 
so the gitlab server is configured properly.
At work we have a proxy. My guess is that the proxy is the problem.
Is there some specific parameter to set to make git-lfs work behind a proxy?

The http.proxy and https.proxy git config variables are set properly.

Here is my git-lfs env:

$ git lfs env
git-lfs/1.1.0 (GitHub; linux amd64; go 1.5.1; git 258acf1)
git version 1.9.1

Endpoint=https://xxxx.xxxx.xx/username/test_lfs.git/info/lfs (auth=none)
LocalWorkingDir=/home/username/git/test_lfs
LocalGitDir=/home/username/git/test_lfs/.git
LocalGitStorageDir=/home/username/git/test_lfs/.git
LocalMediaDir=/home/username/git/test_lfs/.git/lfs/objects
TempDir=/home/username/git/test_lfs/.git/lfs/tmp
ConcurrentTransfers=3
BatchTransfer=true
git config filter.lfs.smudge = "git-lfs smudge %f"
git config filter.lfs.clean = "git-lfs clean %f"

Attached is a log with `GIT_CURL_VERBOSE=1 git push origin master`.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/7faf85d7-103d-466d-9a88-2d9dc5840ae2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: log_git_lfs_push
Description: Binary data

Reply via email to