← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1338836] [NEW] Old sessionid cookie causes 500 Internal Server Error at login

 

Public bug reported:

After switching to a different cloud, Django's old "sessionid" cookie causes Horizon to greet you with the 500 Internal Server Error page. Clearing browser cookies or deleting just the "sessionid" cookie (e.g. in Chrome Dev Tools > Resources > Cookies) and refreshing is a workaround to bring the user back to a working login screen. Could this happen because request.user.is_authenticated() does not check for a valid session before proceeding?
https://github.com/openstack/horizon/blob/0bd4350cb308d57b6afc69daee4a7823055be5a9/openstack_dashboard/views.py#L40

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: login session

** Attachment added: "Screenshot of the "Something went wrong!" 500 error page"
   https://bugs.launchpad.net/bugs/1338836/+attachment/4147712/+files/sessionid.png

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1338836

Title:
  Old sessionid cookie causes 500 Internal Server Error at login

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  After switching to a different cloud, Django's old "sessionid" cookie causes Horizon to greet you with the 500 Internal Server Error page. Clearing browser cookies or deleting just the "sessionid" cookie (e.g. in Chrome Dev Tools > Resources > Cookies) and refreshing is a workaround to bring the user back to a working login screen. Could this happen because request.user.is_authenticated() does not check for a valid session before proceeding?
  https://github.com/openstack/horizon/blob/0bd4350cb308d57b6afc69daee4a7823055be5a9/openstack_dashboard/views.py#L40

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1338836/+subscriptions


Follow ups

References