auth errors with nginx + fcgiwrap
Robin Becker
robin at reportlab.com
Wed Jan 14 14:26:31 UTC 2015
On 13/01/2015 19:04, Matt Mackall wrote:
> 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
...........
>> 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.
>
In fact I noticed that my arch linux system was using a later nginx 1.6.2 rather
than 1.4.6 and didn't suffer this issue. I updated the nginx on our ubuntu 14.04
using a ppa and the problem has now gone. I assume they fixed something in the
auth_basic command to make things less noisy.
--
Robin Becker
More information about the Mercurial
mailing list