Crash on upgrade to 17.7.9

Started by RickNY, December 07, 2017, 06:28:22 PM

Previous topic - Next topic
Saw the upgrade available for 17.7.9... Did the required update to package manager, then did upgrade to 17.7.9... Crashed at end with message "An API exception occured
Error at /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php:95 - stream_socket_client(): unable to connect to unix:///var/run/configd.socket (Connection refused) (errno=2)"

Submitted the crash report to developers with above info.. Is the state of my system sound at the moment?

Hi RickNY,

That is harmless. Your system / GUI is probably up and running?

There is a glitch between the GUI and the API where the backend reloads its socket and this is when this error can occur. Some changes went into 17.7.9 that should make this happen less in the future, but it's still not completely reload-safe, so that error may pop up again in the future.


Cheers,
Franco

I think we finally found it... the error handler was too aggressive :)

https://github.com/opnsense/core/commit/f617967


Cheers,
Franco


was another update pushed out for this?  My system pulled down 17.7.9_9 this morning and installed it without issue.

No, this wasn't in the hotfixes, but as I said it only happens sporadically. It is queued up for inclusion in 17.7.10.


Cheers,
Franco


The two hotfixes were recorded via the original announcement: https://forum.opnsense.org/index.php?topic=6581.0


Cheers,
Franco