Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache issue everytime we restart the docker instance #163

Closed
sreemanshanker opened this issue Aug 21, 2020 · 4 comments
Closed

Cache issue everytime we restart the docker instance #163

sreemanshanker opened this issue Aug 21, 2020 · 4 comments

Comments

@sreemanshanker
Copy link

not sure if its just me - but everytime i bring down docker to edit the .env file and bring it back up - i cant just refresh and get the login page to intelowl. i need to clear all my cookies in order to be able to login again. Without clearing cookies i get a "failure to fetch data, are you online? http failure response for http://x/api/jobs 401 error"

@eshaan7
Copy link
Member

eshaan7 commented Aug 21, 2020

Hi, what version of Intel Owl are you using?

@sreemanshanker
Copy link
Author

experienced it from 1.0, 1.3 and even with latest 1.4

@mlodic
Copy link
Member

mlodic commented Aug 21, 2020

In the last version, you can just logout and login again from the interface, then everything should work correctly.

@mlodic mlodic added the bug Something isn't working label Aug 21, 2020
@eshaan7 eshaan7 removed the bug Something isn't working label Aug 21, 2020
@eshaan7
Copy link
Member

eshaan7 commented Aug 21, 2020

The JWT token lifetime is 12 hours. That is 12 hours from the last authenticated request (in other words, the last time user was using the web app). So if you have not used the application for a period of 12 hours, you will have to login again.

EDIT: We have increased the lifetime of the tokens.

@eshaan7 eshaan7 closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants