authentication failure

Adrian Klaver adrian.klaver at aklaver.com
Sun Sep 13 20:35:45 UTC 2015


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



More information about the Mercurial mailing list