2025-03-22, 08:52 AM
Seem to have found my solution: posting here for anyone who might land on this post:
It turns out the main issue was with
I was emptying the cache, but did not realise that would still preserve localstorage (duh).
Console logs showed the hint: "http request succeeded, but found a different server Id than what was expected"
Worth noting that restarting the server (after changing misc middleware settings) seems to require emptying localstorage again (guess that resets the server ID?)
In the end, that seemed to be the only issue (works with whatever middleware settings). IMHO this behaviour is slightly buggy and should display something more informative when server IDs mysteriously change…
It turns out the main issue was with
localstorage
: deleting it after restarting the server, allowed me to log back in.I was emptying the cache, but did not realise that would still preserve localstorage (duh).
Console logs showed the hint: "http request succeeded, but found a different server Id than what was expected"
Worth noting that restarting the server (after changing misc middleware settings) seems to require emptying localstorage again (guess that resets the server ID?)
In the end, that seemed to be the only issue (works with whatever middleware settings). IMHO this behaviour is slightly buggy and should display something more informative when server IDs mysteriously change…