Red Hat Bugzilla – Bug 1461382
API calls after log out
Last modified: 2017-06-23 06:15:13 EDT
Description of problem:
Tendrl dashboard doesn't stop with regular API calls even when user logs out. After that all calls always end correctly with 401 'Unauthorized' however they should not be called at all.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Log in on tendrl dashboard
2. Log out
3. Look on what API calls are run
Tendrl dashboard continue to run those calls which were run repeatedly before user logged out.
No API calls will be run after log out.
The issue is incremental. After first log in - log out there's e.g. one notifications call every 5 seconds, after several log in - log out, there could be 10 of them and more.
One note after several log in -log out, it happened to me that when I logged in again I was automatically logged out. Not sure if it is related though.
What is the expected behaviour?
I don't think any API calls will initiated after logout. So I assume you want us to chase down the calls in progress and kill them?
In any case I don't think this is a priority at the moment
(In reply to Nishanth Thomas from comment #3)
> What is the expected behaviour?
> I don't think any API calls will initiated after logout. So I assume you
> want us to chase down the calls in progress and kill them?
> In any case I don't think this is a priority at the moment
Well no different calls are initiated after log out. However e.g. those notifications calls are run every 10 seconds again. They are part of the current running setup in browser so when the page is reloaded after log out, they stop to be called.