Ali
Ali

Reputation: 258

Mercurial, abort: authorization failed

I'm having problems accessing a mercurial repository. (mercurial 1.7.1)

Its set up on IIS6 windows 2003 over Https,

I can access the site through a browser using the same credentials,

I can access the site if I enable anonymous access for the virtual directory in IIS, but I need to use the Integrated Windows authentication.

I have tried setting the path in my hgrc file to:

[paths]
default = https://username:[email protected]/hg/hgweb.cgi/TestRepository

then if I try to Push or Pull I get the error message:

abort: authorization failed

Any Ideas?

Upvotes: 1

Views: 4299

Answers (2)

Ali
Ali

Reputation: 258

I have changed the Directory security authentication mode to basic authentication. For the time being this seem to be sufficient for our needs

Upvotes: 0

Ry4an Brase
Ry4an Brase

Reputation: 78330

The most useful output is probably in your webserver/IIS logs -- check there. You can also try --debug on the mercurial command line to get a little more output, but it's likely going to be on the web server side.

Upvotes: 1

Related Questions