| Issue 1837: | LDAP login redirect loop | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.5.2 What steps will reproduce the problem? 1. Login via LDAP What is the expected output? What do you see instead? Expect: End up at the gerrit home page Get: redirect loop: http://<gerritsite>/login/q/null#/q/null Please provide any additional information below.
Mar 20, 2013
#1
sop@google.com
Status:
WontFix
Mar 20, 2013
I have the canonicalWebUrl set. The <gerritsite> part reads as the correct address.
Mar 20, 2013
No the server is not reading canonicalWebUrl. If it was set you wouldn't have null#q/null showing up in the URL. <gerritsite> being correct in the URL is happening because your browser fixed up a bad redirect by assuming its to the same host.
Mar 20, 2013
Apparently I can't spell. I had the cononicalWebUrl line in the config file but it's not the same as canonicalWebUrl.
Mar 20, 2013
I wonder if it would be very hard to add a web header to the Gerrit UI with a warning message that says something like 'Hey Admin! You haven't set gerrit.canonicalWebUrl!'... this is a fairly common issue. I'd be interested in doing this, but I haven't had time for fun Gerrit projects recently, much less this :(
Mar 20, 2013
Its actually a bug in init. We should just make sure init always sets it. |
|
| ► Sign in to add a comment |