git/list[1] front-page[2] threads[3] people[4] search[5] about
 

push fails with return code 22

From
AWAndrew Watson <andwatsresearch@gmail.com>
Date
Apr 27, 2017, 18:37 UTC
Message-ID
<CAH6sfJUn99ezs-uZuYVj15qOeMv79ji7r0Ldvoreef0z3LzG8Q@mail.gmail.com>
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.
Next: Jeff King
Message 1 of 7 in “push fails with return code 22”
  1. Andrew WatsonApr 27, 2017
  2. Jeff KingApr 27, 2017
  3. Andrew WatsonApr 28, 2017
  4. Jeff KingApr 28, 2017
  5. Andrew WatsonApr 28, 2017
  6. Jeff KingApr 28, 2017
  7. Andrew WatsonApr 28, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.