[Bug 3811] New: Premature end of script headers: hgweb.cgi

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Feb 7 14:58:57 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3811

          Priority: normal
            Bug ID: 3811
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Premature end of script headers: hgweb.cgi
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: trunksye at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5
         Component: Mercurial
           Product: Mercurial

Environment: Windows 2008 R2 x64; Apache 2.2; TortoiseHg 2.7; local network
I can browse the repository without any problem using web browser. 
both pull and push yield the same problem. 

Apache error log: Premature end of script headers: hgweb.cgi

The trace

D:\hg\test2>hg pull --traceback --debug
using https://hgserver/hg/repo
sending capabilities command
using auth.foo.* for authentication
hgserver.com certificate matched fingerprint *******

using auth.foo.* for authentication
http auth: user myuser, password ********
using auth.foo.* for authentication
hgserver.com certificate matched fingerprint *******

pulling from https://hgserver/hg/repo
query 1; heads
sending batch command
using auth.foo.* for authentication
http auth: user myuser, password ********
using auth.foo.* for authentication
hgserver.com certificate matched fingerprint *******

searching for changes
all remote heads known locally
no changes found
preparing listkeys for "phases"
sending listkeys command
using auth.foo.* for authentication
http auth: user myuser, password ********
using auth.foo.* for authentication
hgserver.com certificate matched fingerprint *******

checking for updated bookmarks
preparing listkeys for "bookmarks"
sending listkeys command
using auth.foo.* for authentication
http auth: user myuser, password ********
using auth.foo.* for authentication
hgserver.com certificate matched fingerprint *******

Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 88, in _runcatch
  File "mercurial\dispatch.pyo", line 741, in _dispatch
  File "mercurial\dispatch.pyo", line 514, in runcommand
  File "mercurial\extensions.pyo", line 189, in wrap
  File "hgext\color.pyo", line 371, in colorcmd
  File "mercurial\dispatch.pyo", line 831, in _runcommand
  File "mercurial\dispatch.pyo", line 802, in checkargs
  File "mercurial\dispatch.pyo", line 738, in <lambda>
  File "mercurial\util.pyo", line 472, in check
  File "mercurial\extensions.pyo", line 144, in wrap
  File "mercurial\util.pyo", line 472, in check
  File "hgext\largefiles\overrides.pyo", line 702, in overridepull
  File "mercurial\util.pyo", line 472, in check
  File "mercurial\extensions.pyo", line 144, in wrap
  File "mercurial\util.pyo", line 472, in check
  File "hgext\rebase.pyo", line 725, in pullrebase
  File "mercurial\util.pyo", line 472, in check
  File "mercurial\commands.pyo", line 4657, in pull
  File "mercurial\bookmarks.pyo", line 189, in updatefromremote
  File "mercurial\wireproto.pyo", line 116, in plain
  File "mercurial\wireproto.pyo", line 164, in _submitone
  File "mercurial\httppeer.pyo", line 170, in _call
  File "hgext\largefiles\proto.pyo", line 173, in httprepocallstream
  File "mercurial\httppeer.pyo", line 118, in _callstream
  File "urllib2.pyo", line 406, in open
  File "urllib2.pyo", line 519, in http_response
  File "urllib2.pyo", line 438, in error
  File "urllib2.pyo", line 378, in _call_chain
  File "urllib2.pyo", line 890, in http_error_401
  File "mercurial\url.pyo", line 431, in http_error_auth_reqed
  File "urllib2.pyo", line 865, in http_error_auth_reqed
  File "urllib2.pyo", line 878, in retry_http_basic_auth
  File "urllib2.pyo", line 406, in open
  File "urllib2.pyo", line 519, in http_response
  File "urllib2.pyo", line 444, in error
  File "urllib2.pyo", line 378, in _call_chain
  File "urllib2.pyo", line 527, in http_error_default
HTTPError: HTTP Error 500: Internal Server Error
abort: HTTP Error 500: Internal Server Error


I suppose this is mostly my server's problem. But I just can't figure out what
it is. I tried turn off the firewall and UAC without any luck. Is there anyway
to fetch more detail logs about command? debug from the server side?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list