500 Internal server error with usehttp2
Augie Fackler
durin42 at gmail.com
Wed Aug 17 22:47:39 UTC 2011
On Aug 17, 2011, at 5:17 PM, Haszlakiewicz, Eric wrote:
>
>> -----Original Message-----
>> From: Augie Fackler [mailto:durin42 at gmail.com]
>>
>> On 8/17/2011 12:13 PM, Haszlakiewicz, Eric wrote:
>>>
>>> I'm using TortoiseHG on Windows XP:
>>> Mercurial Distributed SCM (version 1.9+10-e9264b45237d)
>>>
>>> And on the server:
>>> Mercurial Distributed SCM (version 1.9)
>>>
>>> If I set this in my mercurial.ini on windows I get 500 internal
>> server errors when pushing:
>>> [ui]
>>> usehttp2=true
>>>
>>> Even though an error happens at the end, the push appears to work
>> fine. I don't see any output in my Apache server's error_log. I tried
>> redirecting stderr and stdout in hgweb.cgi to a file (as mentioned in
>> http://mercurial.selenic.com/bts/msg6225), but it didn't write anything
>> and the behaviour was unchanged.
>>>
>>> I removed the usehttp2=true from my config file, and everything is
>> fine.
>>>
>>> Is this a known problem?
>>
>> News to me. What's the server running in terms of server software
>> (apache? mod_wsgi? spawning? tornado?)?
>>
>> Is this a public server I can poke at? If not, I'll probably ask for
>> some debug logging, although I'm not sure what I'd want offhand. May
>> have to ponder that.
>
> No, it's not a public server, sorry. It's running apache 2.2.15, with mod_wsgi 3.3, on a 64-bit RHEL5 machine.
>
> I can get various settings and debug logging changed to help investigate this, but I need to go though our "systems team" to do that so anything you ask me to try will take some coordination on my part to get it changed. (i.e. a "quick 5 minute change" isn't)
>
> btw, here's some output from hg push --debug if it's useful:
> ...snip...
> 1 changesets found
> list of changesets:
> 01510cdbdc1fde9142075a3ea5a46f8b39ae590e
> bundling: 1/1 changesets (100.00%)
> bundling: 1/1 manifests (100.00%)
> bundling: Makefile 1/1 files (100.00%)
> sending unbundle command
> sending 329 bytes
> using auth.all.* for authentication
> http auth: user ehaszla, password ********
> using auth.all.* for authentication
> HGSERVER certificate matched fingerprint b1:46:f7:ad:a2:7e:32:f6:6e:40:7a:4f:45:dc:db:b7:3b:d7:78:4c
> sending: 0 kb
> abort: HTTP Error 500: Internal Server Error
>
> Perhaps that 0 length send at the end has something to do with the problem?
Perhaps, it might be a bug in usehttp2. Can you give me the results of
hg push --config ui.http2debuglevel=info
which enables a ton of debug logging in the http client? Feel free to censor URL lines as needed if they're sensitive.
Thanks,
Augie
>
> eric
>
More information about the Mercurial
mailing list