Skip to content

UI: Cannot log out / Invalid session cookies causes login page to flood API calls #11078

@kohrar

Description

@kohrar

problem

I have recently upgraded to CS 4.20.1. The instance is configured to use SAML auth.

Whenever my session times out, I an redirected to the login page. Since the upgrade to 4.20.1, the login page will not properly load and instead makes a massive number of requests to the API. See screenshot below:

Image

This just keeps on going and going. In a matter of a few seconds, thousands of requests get made (9000-ish in this screenshot alone)

versions

4.20.1
KVM
Rocky Linux 8.10

The steps to reproduce the bug

  1. Log in via SSO
  2. Wait for it to time out
  3. Go to the cloudstack console (and then be redirected to the login page)

What to do about it?

Is anyone else experiencing this issue?

There are two main issues:

  1. The login page isn't working properly. It isn't handling a timed out session appropriately.
  2. At the very least, I think the requests made to the backend should back-off whenever an error is encountered. Right now, it appears to be retrying almost instantly, causing a flood of traffic.

Metadata

Metadata

Assignees

Type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions