CSRF Token Mismatch - Wallboard issue

Dear all,

Running the current version of LibreNMS (Nightly build) and ./validate returns OK, but I have a Windows PC running Chrome logged in to the WebUI into the Wallboard section… after 1-2 hours all graphs on the wallboard state

“Problem with backend”.

Dev Tools indicates error 419 CSRF Token Mismatch… if I hit refresh all the graphs come back (Until timeout)…

I do not believe I have done anything recently to cause this, but does anyone have any ideas?

I couldn’t figure out how to reproduce this. Maybe you are introducing some form of caching in between the two?

Hi,

No caching or anything just a regular single server LibreNMS install with Nginx/PHP on Ubuntu LTS 24 being accessed by Windows/Chrome…

It’s an odd one…

Looking at it the only error I can see seems to relate to php.ini timezones with BST vs UTC???

Yeah, could be a timezone thing, a csrf token expiring before client thinks it should…

Hi,

Not quite sure how to fix it though… The server itself is set to BST and I do not think PHP has a direct equivalent for this? I have tried London etc…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.