Redash loses session when there is no activity for a few minutes

Issue Summary

While using Redash on chrome browser on windows and authenticated via user/password. If I’m not doing any action in the query page for a few minutes (sometimes less than 5). If i try to do something, as running the query again or saving the current query (any Ajax action). It seems that the client loses the connection session and gives back an error. If I refresh the page on a different redash tab, and then come back to the query tab and try to execute the action again (run the query, save the query).It works because it seems that the browser has recovered the session again.

Do you know how to either increment the session time the redash connection is open or solve this issue anyhow?

It is really anoying having to refresh another tab in order to continue working.


Technical details:

  • Redash Version: 8.0.0+b32245 (a16f551e)
  • Browser/OS: Chrome / Windows 10
  • How did you install Redash: Self hosted / AWS Ami

How strange. Does the behavior reproduce in other browsers?