Bug #12489
closedCannot login into 2 different Rudder with the same URL - apocalypse ensues
Description
Something (not so) funny happened.
I was working on my development platform (localhost/rudder), and I wanted to log in my test platform (localhost:8381/rudder). Once I logged in it, strange things started to happen...
I couldn't logout anymore from my dev platform, I got this error in my Eclise console:
WARN net.liftweb.http.LiftRules - Unmapped Lift-like parameter seen in request [/lift/ajax/F1031420927474V324VA-00/]: F1031420927497KWOPVO
So I reloaded the page and fall back on the login form. And from there, I couldn't login anymore. Each times I tried, I got this error :
WARN application - Login authentication failed for user 'unknown' from IP '127.0.0.1|X-Forwarded-For:::1': Maximum sessions of 2 for this principal exceeded
I tried to use private mode, or a different navigator, but the error persisted. The only way I found to be able to login again is to delete the browser cookies, then restart the Jetty server.
However, It works well if I use localhost/rudder for my dev platform and 192.168.XXX.XXX/rudder form my test platform.