Skip to contentSkip to conversation

Possible Bug in git-http-push

DISCUSSION Stefan 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

Stefan

author
#0 lore raw

Hello List

I possibly found a bug in git-http-push:

When I push my local repo via http secured with basic authorization, then i get:

error: Cannot access URL https://example.ch/example_repo/, return code 22
fatal: git-http-push failed
Pushing to https://example.ch/example_repo/

My server log gives PROPPFIND 401, so i seems that the PROPPFIND-sent by git-http-push does not use supplied username/pw via prompt

Pulling works without problems.

When I change remote URL to
https://user:[email protected]/example_repo, pushing works.

I'm using git version 1.9.5.msysgit.1

Thanks
Stefan

#1 lore raw

Am 10.04.2015 um 13:15 schrieb Stefan:

Quoted 14 lines

Hello List

I possibly found a bug in git-http-push:

When I push my local repo via http secured with basic authorization, then i get:

error: Cannot access URL https://example.ch/example_repo/, return code 22
fatal: git-http-push failed
Pushing to https://example.ch/example_repo/

My server log gives PROPPFIND 401, so i seems that the PROPPFIND-sent by git-http-push does not use supplied username/pw via prompt

Quoted 6 lines

Pulling works without problems.

When I change remote URL to
https://user:[email protected]/example_repo, pushing works.

I'm using git version 1.9.5.msysgit.1

Hi Stefan (CC'ing the msysgit list as this might be windows specific),

can you determine the last version which worked?

And can you create a minimal working example for us to reproduce the problem?

We already have a couple of problems with the new curl version together with our ancient openssl.

Thomas

Signature · 18 lines
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
#2 lore raw

Am 10.04.2015 um 18:55 schrieb Thomas Braun:

Quoted 25 lines

Am 10.04.2015 um 13:15 schrieb Stefan:

Quoted 14 lines

Hello List

I possibly found a bug in git-http-push:

When I push my local repo via http secured with basic authorization, then i get:

error: Cannot access URL https://example.ch/example_repo/, return code 22
fatal: git-http-push failed
Pushing to https://example.ch/example_repo/

My server log gives PROPPFIND 401, so i seems that the PROPPFIND-sent by git-http-push does not use supplied username/pw via prompt

Quoted 6 lines

Pulling works without problems.

When I change remote URL to
https://user:[email protected]/example_repo, pushing works.

I'm using git version 1.9.5.msysgit.1

Hi Stefan (CC'ing the msysgit list as this might be windows specific),

can you determine the last version which worked?

Quoted 9 lines

And can you create a minimal working example for us to reproduce the problem?

We already have a couple of problems with the new curl version together with our ancient openssl.

Thomas

Hi Thomas

I stuck on this problem because i moved my git-server and did some reconfiguring.

Here an working config

[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
url = https://user:[email protected]/project
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

And here an non-working one:

[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
url = https://git.example.ch/project
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

Hope this helps

Greetz
Stefan