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

Re: git-receive-pack missing credentials ?

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Nov 7, 2011, 17:02 UTC
Message-ID
<CALUzUxpiOoY3Qy0oXzgioBGkZyBF_vpHV3OHm-DWfChR9pPHHA@mail.gmail.com>
In-Reply-To
<4EB7FA3A.8070908@univ-rennes1.fr>

On Mon, Nov 7, 2011 at 11:33 PM, François Dagorn <Francois.Dagorn@univ-rennes1.fr> wrote:

Show 26 quoted lines
> - on the client side
>
>    cd (project-directory)
>    $ git init
>    $ (add some files)
>    $ git add .
>    $ git commit -m 'Initial commit'
>    git push http://git.istic.smw.fr/test13 master
>
>        Username:
>        Password:
>        error: Cannot access URL http://git.istic.smw.fr/test13/, return code 22
>        fatal: git-http-push failed
>
> - apache acces_log
>
>  1) ip-address - metheuser [07/Nov/2011:16:17:31 +0100]
>    "GET /test13/info/refs?service=git-     receive-pack HTTP/1.1" 200 - "-" "git/1.7.3.4"
>  2) ip-address - metheuser [07/Nov/2011:16:17:32 +0100]
>    "GET /test13/HEAD HTTP/1.1" 200 23 "-" "git/1.7.3.4"
>  3) ip-address - - [07/Nov/2011:16:17:32 +0100]
>    "PROPFIND /test13/ HTTP/1.1" 401 492 "-" "git/1.7.3.4"
>
> - what sounds strange to me : the 2 firsts requests are generated by my client side
>  (wireshark used as a clue) but the third comes from the server side and the users
>  credentials are missed !

Can you update your git installation and try again? v1.7.3.4 sounds pretty old (almost a year).

-- 
Cheers,
Ray Chuan
Previous: François DagornNext: François Dagorn
Message 2 of 6 in “git-receive-pack missing credentials ?”
  1. François DagornNov 7, 2011
  2. Tay Ray ChuanNov 7, 2011
  3. François DagornNov 8, 2011
  4. François DagornNov 8, 2011
  5. François DagornNov 8, 2011
  6. Geoff MetsNov 16, 2011

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.