scalableminds / webknossos

Visualize, share and annotate your large 3D images online
https://webknossos.org
GNU Affero General Public License v3.0
129 stars 24 forks source link

Flickering homepage after restarting WK in dev setup #8182

Open frcroth opened 1 week ago

frcroth commented 1 week ago

Context

This affects the local installation. The page is flickering with authentication errors.

Screencast from 11.11.2024 14:03:41.webm

Steps to Reproduce the bug

  1. Open WK in Browser (open dataset list)
  2. Stop WK where it is running
  3. Restart WK
  4. Interact with the WK in the browser

Reloading the page fixes the issue

Your Environment for bug

fm3 commented 1 week ago

I had this a couple of times too. I think it only happens after refresh-schema. The browser localstorage points to a non-existing folder id for the dashboard. https://github.com/scalableminds/webknossos/pull/7669 introduced a redirect, but it looks like there is a race condition pushing this into a loop sometimes.