git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Watson <andwatsresearch@gmail.com>
To: git@vger.kernel.org
Subject: push fails with return code 22
Date: Thu, 27 Apr 2017 14:37:19 -0400	[thread overview]
Message-ID: <CAH6sfJUn99ezs-uZuYVj15qOeMv79ji7r0Ldvoreef0z3LzG8Q@mail.gmail.com> (raw)

Hi,

I'm trying to setup git with Smart HTTP so we can move off of SVN.

I've used the blog post: https://git-scm.com/blog/2010/03/04/smart-http.html

I'm getting "error: Cannot access URL ... return code 22" when I try
to push. Clone works fine.

I verified authentication by replacing my LDAP stuff, which looks to
work according to Apache logs, with Require all granted.

Done a lot of googling and posted on stackoverflow at this point.

My system is CentOS 7 which reports git version 1.8.3.1 and Apache
2.4.6. I also tried on Ubuntu 16.04 with git 2.7.4 and Apache 2.4.18.

Using GIT_CURL_VERBOSE I can see it fail after a PROPFIND.

My stackoverflow post with all the debug info I could think of is
here: http://stackoverflow.com/questions/43643152/git-push-results-in-return-code-22

I'll re-post whatever is requested here if needed.

Really hoping to get this working.

             reply	other threads:[~2017-04-27 18:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-27 18:37 Andrew Watson [this message]
2017-04-27 20:18 ` push fails with return code 22 Jeff King
2017-04-28 15:09   ` Andrew Watson
2017-04-28 15:20     ` Jeff King
2017-04-28 15:28       ` Andrew Watson
2017-04-28 15:34         ` Jeff King
2017-04-28 15:48           ` Andrew Watson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH6sfJUn99ezs-uZuYVj15qOeMv79ji7r0Ldvoreef0z3LzG8Q@mail.gmail.com \
    --to=andwatsresearch@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).