Hi,
Centos 7, installed with nginx 1.10.2, Kallithea from Pypi. Running with
waitress works, but both uwsgi and gunicorn suffers the same problem -
hg pull -u fails when there is no changes (different errors):
uwsgi configuration responds with 502
gunicorn responds with 400
There are no errors in any of the logs.
And sorry about mailing list, apparently the list didn't provided
headers that thunderbird regonized as mailing list.
On 13.06.2017 14:37, Adi Kriegisch wrote:
On Tuesday, 13 June 2017 14:26:11 CEST you wrote:
I did that and no dice.
Still having problems. It seems that pull requests do fail. clone, in,
out etc, seem to work just fine.
And pretty much everything I could find was about having problem with
POST request but in my case it is GET request that fails.
Please, keep the list in CC and add at least some more details about error
messages or your configurations...
-- Adi
On 13.06.2017 14:24, Adi Kriegisch wrote:
Hi!
Ok, enabling debugging now reveals:
*Traceback (most recent call last):
File
"/opt/kallithea/kallithea-venv/lib/python2.7/site-packages/mercurial/hgwe
b/h gweb_mod.py", line 306, in run_wsgi
for r in self._runwsgi(req, repo):
File
"/opt/kallithea/kallithea-venv/lib/python2.7/site-packages/mercurial/hgwe
b/h gweb_mod.py", line 319, in _runwsgi
req.url = req.env['SCRIPT_NAME']
KeyError: 'SCRIPT_NAME'
[pid: 8501|app: 0|req: 339/536*
Ok, add the following to your nginx config:
uwsgi_param SCRIPT_NAME "";
and you're fine... ;-)
-- Adi
PS: Forgot the link in my last mail:
https://lists.sfconservancy.org/pipermail/kallithea-general/
2015q1/000130.html
...maybe you want to compare that config with yours?
--
Jani Tiainen
_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general