{"thread":{"id":"39043","subject":"Possible Bug in git-http-push","startedAt":"2015-04-10T11:15:34Z","lastAt":"2015-04-12T10:24:42Z","messageCount":3,"participants":["Stefan","Thomas Braun","bugs@innuce.ch"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"259221","messageId":"5527B0D6.3010608@innuce.ch","threadId":"39043","inReplyTo":null,"subject":"Possible Bug in git-http-push","fromName":"Stefan","fromEmail":"bugs@innuce.ch","sentAt":"2015-04-10T11:15:34Z","receivedAt":"2015-04-10T11:15:34Z","isPatch":false,"sender":{"key":"bugs@innuce.ch","avatar":null},"body":"Hello List\n\nI possibly found a bug in git-http-push:\n\nWhen I push my local repo via http secured with basic authorization,\nthen i get:\n\nerror: Cannot access URL https://example.ch/example_repo/, return code 22\nfatal: git-http-push failed\nPushing to https://example.ch/example_repo/\n\nMy server log gives PROPPFIND 401, so i seems that the PROPPFIND-sent\nby git-http-push does not use supplied username/pw via prompt\n\nPulling works without problems.\n\nWhen I change remote URL to\nhttps://user:password@example.ch/example_repo, pushing works.\n\nI'm using git version 1.9.5.msysgit.1\n\nThanks\nStefan\n"},{"id":"259231","messageId":"55280064.5070909@virtuell-zuhause.de","threadId":"39043","inReplyTo":"5527B0D6.3010608@innuce.ch","subject":"Re: Possible Bug in git-http-push","fromName":"Thomas Braun","fromEmail":"thomas.braun@virtuell-zuhause.de","sentAt":"2015-04-10T16:55:00Z","receivedAt":"2015-04-10T16:55:00Z","isPatch":false,"sender":{"key":"thomas.braun@virtuell-zuhause.de","avatar":"https://avatars.githubusercontent.com/u/1185677?v=4"},"body":"Am 10.04.2015 um 13:15 schrieb Stefan:\n> Hello List\n> \n> I possibly found a bug in git-http-push:\n> \n> When I push my local repo via http secured with basic authorization,\n> then i get:\n> \n> error: Cannot access URL https://example.ch/example_repo/, return code 22\n> fatal: git-http-push failed\n> Pushing to https://example.ch/example_repo/\n> \n> My server log gives PROPPFIND 401, so i seems that the PROPPFIND-sent\n> by git-http-push does not use supplied username/pw via prompt\n> \n> Pulling works without problems.\n> \n> When I change remote URL to\n> https://user:password@example.ch/example_repo, pushing works.\n> \n> I'm using git version 1.9.5.msysgit.1\n\nHi Stefan (CC'ing the msysgit list as this might be windows specific),\n\ncan you determine the last version which worked?\n\nAnd can you create a minimal working example for us to reproduce the\nproblem?\n\nWe already have a couple of problems with the new curl version together\nwith our ancient openssl.\n\nThomas\n\n\n-- \n-- \n*** Please reply-to-all at all times ***\n*** (do not pretend to know who is subscribed and who is not) ***\n*** Please avoid top-posting. ***\nThe msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.\n\nYou received this message because you are subscribed to the Google\nGroups \"msysGit\" group.\nTo post to this group, send email to msysgit@googlegroups.com\nTo unsubscribe from this group, send email to\nmsysgit+unsubscribe@googlegroups.com\nFor more options, and view previous threads, visit this group at\nhttp://groups.google.com/group/msysgit?hl=en_US?hl=en\n\n--- \nYou received this message because you are subscribed to the Google Groups \"Git for Windows\" group.\nTo unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.\nFor more options, visit https://groups.google.com/d/optout.\n"},{"id":"259260","messageId":"552A47EA.2060909@innuce.ch","threadId":"39043","inReplyTo":"55280064.5070909@virtuell-zuhause.de","subject":"Re: Possible Bug in git-http-push","fromName":"","fromEmail":"bugs@innuce.ch","sentAt":"2015-04-12T10:24:42Z","receivedAt":"2015-04-12T10:24:42Z","isPatch":false,"sender":{"key":"bugs@innuce.ch","avatar":null},"body":"Am 10.04.2015 um 18:55 schrieb Thomas Braun:\n> Am 10.04.2015 um 13:15 schrieb Stefan:\n>> Hello List\n>>\n>> I possibly found a bug in git-http-push:\n>>\n>> When I push my local repo via http secured with basic authorization,\n>> then i get:\n>>\n>> error: Cannot access URL https://example.ch/example_repo/, return code 22\n>> fatal: git-http-push failed\n>> Pushing to https://example.ch/example_repo/\n>>\n>> My server log gives PROPPFIND 401, so i seems that the PROPPFIND-sent\n>> by git-http-push does not use supplied username/pw via prompt\n>>\n>> Pulling works without problems.\n>>\n>> When I change remote URL to\n>> https://user:password@example.ch/example_repo, pushing works.\n>>\n>> I'm using git version 1.9.5.msysgit.1\n> Hi Stefan (CC'ing the msysgit list as this might be windows specific),\n>\n> can you determine the last version which worked?\n>\n> And can you create a minimal working example for us to reproduce the\n> problem?\n>\n> We already have a couple of problems with the new curl version together\n> with our ancient openssl.\n>\n> Thomas\n>\n>\nHi Thomas\n\nI stuck on this problem because i moved my git-server and did some\nreconfiguring.\n\nHere an working config\n\n[core]\n    repositoryformatversion = 0\n    filemode = false\n    bare = false\n    logallrefupdates = true\n    symlinks = false\n    ignorecase = true\n    hideDotFiles = dotGitOnly\n[remote \"origin\"]\n    url = https://user:passwort@git.example.ch/project\n    fetch = +refs/heads/*:refs/remotes/origin/*\n[branch \"master\"]\n    remote = origin\n    merge = refs/heads/master\n\nAnd here an non-working one:\n\n[core]\n    repositoryformatversion = 0\n    filemode = false\n    bare = false\n    logallrefupdates = true\n    symlinks = false\n    ignorecase = true\n    hideDotFiles = dotGitOnly\n[remote \"origin\"]\n    url = https://git.example.ch/project\n    fetch = +refs/heads/*:refs/remotes/origin/*\n[branch \"master\"]\n    remote = origin\n    merge = refs/heads/master\n\nHope this helps\n\nGreetz\nStefan\n"}]}