Invalid Session It looks like your login session is no longer active

Solved Technical Support
  • Hello,
    Switched theme, rebuild, reload and all of a sudden it's:

    Invalid Session
    It looks like your login session is no longer active. Please refresh this page.

    Was logged in in two tabs as same user beforehand, logged out on one, the other shows the error upon navigating to "/login".

    Navigating to a custom template, I first get a basic auth prompt although already authenticated. Once reauthenticated I get the template (rendered as opposed to white canvas as I was getting previously, not sure why it is so now). Then a Shift-R gets me the invalid session error again.

    I'm in the process of creating a new theme and removed /home and /homepage routes temporarily, templates remain. Achieved this by activating custom pages and custom homepage plugin, setting up route for a custom homepage and for debugging disabled all plugins again. Rebuild and reload done for each step.

    This should invalidate sessions though not leading to a repeating "Invalid session"-loop. It seems I'm getting quite inconsistent behaviour from nodebb with my setup, for various reasons.

    Shift-R doesn't help either. Closing tab and opening a new one won't help. This is happening across browsers, chrome and FF tested.

    Hint, anyone?

  • The site is working fine until the the login page got loaded and
    the username field is clicked. The same instant the username field is clicked, the message "Invalid Session [...]" pops up.

    Found the solution. Still had proxy directives in nginx config envs other than location / {}. So it was again an error introduced by an nginx config deviating from the recommendation by .

  • B Bejan has marked this topic as solved on
  • dunlixD dunlix referenced this topic on

Suggested Topics