redmine_git_hosting icon indicating copy to clipboard operation
redmine_git_hosting copied to clipboard

Git Smart HTTP only working if "HTTPS and HTTP" is selected

Open rnuno opened this issue 14 years ago • 3 comments

On "Repository Options" i have the following:

  1. SCM: Git
  2. Git Daemon: Enable
  3. Git Smart HTTP: HTTPS and HTTP
  4. Notify CIA.vc: Disable

With this options If i try to access the repo remotely by HTTP or HTTPS i get:

rnuno@RNUNO /d/Work
$ git ls-remote http://[email protected]/ta.git
Password:
14ba55277a5ca450f0a44e792e77c9474f013516        HEAD
14ba55277a5ca450f0a44e792e77c9474f013516        refs/heads/master

rnuno@RNUNO /d/Work
$ git ls-remote https://[email protected]/ta.git
Password:
14ba55277a5ca450f0a44e792e77c9474f013516        HEAD
14ba55277a5ca450f0a44e792e77c9474f013516        refs/heads/master

but if i select for Git Smart HTTP: "HTTPS Only" it stops working:

rnuno@RNUNO /d/Work
$ git ls-remote http://[email protected]/ta.git
Password:
fatal: http://[email protected]/ta.git/info/refs not found: did you run git
 update-server-info on the server?

rnuno@RNUNO /d/Work
$ git ls-remote https://[email protected]/ta.git
Password:
fatal: https://[email protected]/ta.git/info/refs not found: did you run git
 update-server-info on the server?

Another thing i notice is that the password is irrelevant when this option is enable whatever password i put it will give the same error and on redmine logs i get a 404.

Any sugestions?

Thanks, -- Ricardo

rnuno avatar Oct 12 '11 14:10 rnuno

Can you try again with the latest code (in the master branch) ?

ericpaulbishop avatar Oct 13 '11 21:10 ericpaulbishop

Just did. cloned your master branch and restarted redmine but no changes on the behavior.

rnuno avatar Oct 14 '11 09:10 rnuno

this issue still happens, any chance of fixing it ?

thanks

gituser avatar Feb 17 '12 09:02 gituser