auth errors with nginx + fcgiwrap

Matt Mackall mpm at selenic.com
Tue Jan 13 19:04:47 UTC 2015


On Tue, 2015-01-13 at 12:46 +0000, Robin Becker wrote:
> results in this access.log
> > hg.host.com 192.168.0.3 - - [13/Jan/2015:12:36:03 +0000] "GET /hg-xxxx/sandbox?cmd=batch HTTP/1.1" 401 188 "-" "mercurial/proto-1.0" 443
> > hg.host.com 192.168.0.3 - bilbo [13/Jan/2015:12:36:03 +0000] "GET /hg-xxxx/sandbox?cmd=batch HTTP/1.1" 200 211 "-" "mercurial/proto-1.0" 443
> 
> and this error.log
> > 2015/01/13 12:36:03 [error] 14939#0: *414 no user/password was provided for basic authentication, client: 192.168.0.3, server: hg.host.com, request: "GET /hg-xxxx/sandbox?cmd=capabilities HTTP/1.1", host: "hg.host.com"
> > 2015/01/13 12:36:03 [error] 14939#0: *415 no user/password was provided for basic authentication, client: 192.168.0.3, server: hg.host.com, request: "GET /hg-xxxx/sandbox?cmd=batch HTTP/1.1", host: "hg.host.com"
> 
> I do have a password stored for the bilbo user, but it seems we always try first 
> without auth being set or something. Our jenkins test machine causes the nginx 
> error log to fill up quite rapidly.
> 
> Is there a way to remedy this problem?

It's totally normal for clients to try first without auth.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list