abort: HTTP Error 406: Not Acceptable after migrating to another server

439 views
Skip to first unread message

Sergey K

unread,
Jan 25, 2013, 12:07:56 AM1/25/13
to rhod...@googlegroups.com
Hi!

After migrating rhodecode from one server to another, i receive abort: HTTP Error 406: Not Acceptable fro any clone/pull/push operation. In web interface i can see any of my repositories and interrract with any commit and so on, but with hg have this problem. What i'm missing after migration?

marcin

unread,
Jan 25, 2013, 6:34:26 AM1/25/13
to rhod...@googlegroups.com
The HTTP 406 Error is returned when require SSL flag is turned on in Admin settings, RhodeCode checks if request comes from an SSL enabled server (by checking some headers), if you know that you have only SSL http server in front of it you can turn off this check, or make sure you send

proper HTTP_X_URL_SCHEME,HTTP_X_FORWARDED_SCHEMEHTTP_X_FORWARDED_PROTO
Headers

Cheers
Reply all
Reply to author
Forward
0 new messages