Git via HTTP fails with Gitlab 8 and master branch
I'm experiencing problems when using my Git repositories via HTTP. See below for details what happens when i try to clone/push/pull a repository via HTTP. Working with the same repository via SSH works without problems. This affects v8.0.0.rc1 and the current master branch.
Cloning via HTTP
Shell output
$ git clone https://server/group/repo.git
Cloning into 'repo'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
production.log
Started GET "/group/repo.git/info/refs?service=git-upload-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:43:17 +0200
Started GET "/group/repo.git/info/refs?service=git-upload-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:43:25 +0200
Started GET "/group/repo.git/info/refs?service=git-upload-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:43:25 +0200
Started GET "/group/repo.git/HEAD" for xxx.xxx.xxx.xxx at 2015-09-17 18:43:25 +0200
Pushing via HTTP
Shell ouput
$ git push https://server/group/repo.git
error: Cannot access URL https://server/group/repo.git/, return code 22
fatal: git-http-push failed
error: failed to push some refs to 'https://server/group/repo.git'
production.log
Started GET "/group/repo.git/info/refs?service=git-receive-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:03 +0200
Started GET "/group/repo.git/info/refs?service=git-receive-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:08 +0200
Started GET "/group/repo.git/info/refs?service=git-receive-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:08 +0200
Started GET "/group/repo.git/HEAD" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:08 +0200
Started PROPFIND "/group/repo.git/" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:10 +0200
ActionController::RoutingError (No route matches [PROPFIND] "/group/repo.git"):
lib/gitlab/middleware/static.rb:9:in `call'
Pulling via HTTP
Shell ouput
$ git pull https://server/group/repo.git
fatal: Couldn't find remote ref HEAD
production.log
Started GET "/group/repo.git/info/refs?service=git-upload-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:40 +0200
Started GET "/group/repo.git/info/refs?service=git-upload-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:46 +0200
Started GET "/group/repo.git/info/refs?service=git-upload-pack" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:46 +0200
Started GET "/group/repo.git/HEAD" for xxx.xxx.xxx.xxx at 2015-09-17 18:45:46 +0200