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

Web Interface shows error message when session is stale #2059

Closed
joschi opened this Issue Apr 12, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@joschi
Contributor

joschi commented Apr 12, 2016

Problem description

The web interface shows an error message when opening it for the first time in a browser and a stale session exists in local storage.

Steps to reproduce the problem

  1. Open web interface (e. g. http://localhost:9000)
  2. Log in
  3. Let session become stale (e. g. set session timeout to 10 seconds)
  4. Open web interface (e. g. http://localhost:9000)
  5. See error message about unauthorized access to the last resource which was open during the last session.

Screenshot

### Environment - Graylog Version: Graylog 2.0.0-beta.3-SNAPSHOT

@joschi joschi added the web label Apr 12, 2016

dennisoelkers added a commit that referenced this issue Apr 13, 2016

Delaying requests for stale session id while waiting for relogin.
This also delays the initialization of some stores, preventing errors
where first store initialization fails because of invalid session id,
so the store never loads.

Fixing some linter hints while on the way.

Fixes #2059, #1891.

dennisoelkers added a commit that referenced this issue Apr 18, 2016

Delaying requests for stale session id while waiting for relogin.
This also delays the initialization of some stores, preventing errors
where first store initialization fails because of invalid session id,
so the store never loads.

Fixing some linter hints while on the way.

Fixes #2059, #1891.

@kroepke kroepke added bug S3 P3 labels Apr 18, 2016

@kroepke kroepke added this to the 2.0.0 milestone Apr 18, 2016

@edmundoa edmundoa closed this in 3a1fcc0 Apr 18, 2016

@kroepke kroepke added the triaged label Sep 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment