Crash Reporter
-
That's the full error given?
-
@stephenw10 Yes, afraid so! Without knowledge of what this section of code is doing, not sure what to make of it!
I was assuming from the text that it may be related to creating a backup snapshot XML. I was hoping someone would know!
-
Hmm, that's usually a secondary error such as shown here: https://redmine.pfsense.org/issues/14513
Have you seen this more than once? Can you trigger it deliberately?
-
@stephenw10 So far, this has only happened once and I do not know the cause.
-
Anything CSRF related is usually caused by the user session expiring and refreshing a page. Is it possible that happened>
-
@stephenw10 This was shortly after a reboot, so I would assume this is a possibility.
-
@AudioDave said in Crash Reporter:
@stephenw10 This was shortly after a reboot, so I would assume this is a possibility.
Is your BIOS battery/clock OK?
CSRF tokens are time-based, so if you loaded the GUI "too soon" at boot before NTP had a chance to sync the clock, and then the clock had a significant jump (hours/days), the tokens would appear to have expired immediately.
-
@jimp Good question! The unit is new from netgate, but I have been seeing some warning about lack of sync, even though the time appears correct.
I suppose there's always a chance the battery is old.
-
@AudioDave said in Crash Reporter:
@jimp Good question! The unit is new from netgate, but I have been seeing some warning about lack of sync, even though the time appears correct.
I suppose there's always a chance the battery is old.
Which model?
Some of them don't have an RTC battery so they rely on a clock sync every boot. IIRC that's just certain ARM devices though, not anything recent that's amd64.
-
@jimp Netgate 2100. I have gone ahead and replaced the battery.
The warning I've been seeing is in the NTP System Log:
Jan 23 10:14:11 ntpd 5623 kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
I think this is happening on reboot, though I was NOT removing power, so seems unlikely that the battery is the cause. I had a spare, so I replaced it anyway.
-
That's a normal message at boot when ntpd first starts and hasn't yet decided it's configured sources are valid.