authentication failure

Kemin Zhou kmzhou4 at yahoo.com
Sun Sep 13 23:03:59 UTC 2015


Adrian,
I am doing a test push from the local host to isolate internet related problems: hg --versionMercurial Distributed SCM (version 3.5.1+0-0dda3692ec9b)(see http://mercurial.selenic.com for more information)

 hg --debug pushpushing to http://localhost/hg/projusing http://localhost/hg/projsending capabilities commandhttp authorization required for http://localhost/hg/projrealm: Orpara_SRCuser: kzhoupassword: xxxxhttp auth: user kzhou, password *******query 1; headssending batch commandsearching for changesall remote heads known locallypreparing listkeys for "phases"sending listkeys commandreceived listkey for "phases": 15 byteschecking for updated bookmarkspreparing listkeys for "bookmarks"sending listkeys commandreceived listkey for "bookmarks": 0 bytessending branchmap commandsending branchmap commandpreparing listkeys for "bookmarks"sending listkeys commandreceived listkey for "bookmarks": 0 bytes1 changesets foundlist of changesets:a894af7d50854fe0051f354214609ad65a735e58bundle2-output-bundle: "HG20", 4 parts totalbundle2-output-part: "replycaps" 155 bytes payloadbundle2-output-part: "check:heads" streamed payloadbundle2-output-part: "changegroup" (params: 1 mandatory) streamed payloadbundle2-output-part: "pushkey" (params: 4 mandatory) empty payloadsending unbundle commandsending 930 bytesabort: authorization failed
 Kemin Zhou 858 771-3269
 
      From: Adrian Klaver <adrian.klaver at aklaver.com>
 To: Kemin Zhou <kmzhou4 at yahoo.com>; Matt Mackall <mpm at selenic.com> 
Cc: "mercurial at selenic.com" <mercurial at selenic.com> 
 Sent: Sunday, September 13, 2015 1:35 PM
 Subject: Re: authentication failure
   
On 09/13/2015 01:19 PM, Kemin Zhou via Mercurial wrote:
> Matt,
>
> Thanks for responding.
> Here is my exact session:
> $hg push
> pushing to http://myserver.com/hg/proj
> http authorization required for hppt://myserver.com/hg/proj
> realm: source_code
> user: kz
> password: xxxxxx
> searching for changes
> abort: authorization failed
>
> I search the mercurial source code tree and only find such codes
> in the test suit
> And in three files in the source tree.  It must be a very simple mistake
> somewhere on my settings.
>
> I don't see any error logs in apache2 for the above. So it must
> be a crash inside the mercurial code.
>
> Is there a log file for mercurial on the server side that I can use
> for tracing the progression of this failure?

Off hand I would say:

hg --debug  push 1>debug.txt

From

hg help -v




>
> Kemin Zhou 858 771-3269
>
>    ------------------------------------------------------------------------
>    *From:* Matt Mackall <mpm at selenic.com>
>    *To:* Kemin Zhou <kmzhou4 at yahoo.com>
>    *Cc:* "mercurial at selenic.com" <mercurial at selenic.com>
>    *Sent:* Saturday, September 12, 2015 7:10 PM
>    *Subject:* Re: authentication failure
>
>    On Thu, 2015-09-10 at 18:31 +0000, Kemin Zhou via Mercurial wrote:
>
>
>
>      > I have read all the posts related to this failure.I got proper
>    permission and ownership for the repository.All configuration files
>    done correctly:allow_push = properUserName or * both triedpush_ssl =
>    false  in the hgrc file.
>      > All other functionality worked for the hgweb.
>
>
>    You may have a trust issue:
>
>    https://mercurial.selenic.com/wiki/Trust
>
>    --
>    Mathematics is the supreme nostalgia of our time.
>
>
>
>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> https://selenic.com/mailman/listinfo/mercurial
>


-- 
Adrian Klaver
adrian.klaver at aklaver.com


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150913/4d1a48fe/attachment-0002.html>


More information about the Mercurial mailing list