Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hgweb.cgi throws a 502 (bad gateway) when pushing

I've configured hgweb.cgi behind iis7 on windows server 2008. I can pull the repository just fine. However whenever I push I get a 502 bad gateway. I've found a posting which seems to indicate this is a problem with the mercurial config on the server. mercurial doesnt seem to be picking up an http proxy (fiddler) from my local machine even if its configured.

Questions are:

  1. how do I 'fix' the 502 problem?
  2. failing that how do I make mercurial use the proxy so I can figure out whats going wrong?
  3. how do I adjust the verbosity setting for mercurial 'properly' given that this is running under a webserver?
like image 265
JeffreyABecker Avatar asked Nov 14 '22 03:11

JeffreyABecker


1 Answers

It sounds like this problem.

I was having the same issues with pushing a repository, but it went away after I had installed a later version of Mercurial (2.0.1). I used the instructions here, (paying attention to the comment to that post by Ethan J Brown).

like image 161
shamp00 Avatar answered Dec 20 '22 04:12

shamp00