24.7.11_2 "Danger Unexpected error, check log for details" in gateway config

Started by PerpetualNewbie, January 14, 2025, 08:28:25 AM

Previous topic - Next topic
I'm going to need the exact ifconfig output from one device that doesn't return anything on pluginctl -D xxx so I can reproduce whatever is going on here.  PM or mail franco@opnsense.org -- thanks in advance.


Cheers,
Franco

Quote from: franco on January 16, 2025, 10:24:17 AMI'm going to need the exact ifconfig output from one device that doesn't return anything on pluginctl -D xxx so I can reproduce whatever is going on here.  PM or mail franco@opnsense.org -- thanks in advance.


Cheers,
Franco

OK. I have asked my boss if I can disclose literal network settings for one of the several interfaces that is working (from ifconfig and for passing traffic) but failing to report settings from the command line with the previously given commands.


Quote from: franco on January 16, 2025, 02:05:34 PMThanks in advance!

I was able to get approval.
I completed an ifconfig of an interface that has settings, but calls to "/usr/local/sbin/pluginctl -D $interfacename" produce only a '\012' or ^J or Control-J or LF/LineFeed while having no readable text.

The resulting output of those commands were copied (unsanitized) into an email to the email address you mention above.

Thanks!

Probably not directly related to gateways config, but I thought I should post this just in case.  I also received the same red coloured "Danger Unexpected error check log for details" pop up when I started an update to 24.7.12 earlier today.  The update completed a minute or so later and the system rebooted fine.  I can't find a php error.  The dpinger works and monitors the gateways, before and after the update, so I don't know why popped up.

Quote from: fbantgat7 on January 17, 2025, 05:51:49 PMProbably not directly related to gateways config, but I thought I should post this just in case.  I also received the same red coloured "Danger Unexpected error check log for details" pop up when I started an update to 24.7.12 earlier today.  The update completed a minute or so later and the system rebooted fine.  I can't find a php error.  The dpinger works and monitors the gateways, before and after the update, so I don't know why popped up.

Thanks for the suggestion. I have been providing more non-public details to franco , and I think this issue has been diagnosed with a fix that allows "system" -> "gateways" -> "configuration" to again show the gateways instead of showing errors.

I am reluctant to provide details for patch, as it may be revised, or need to be pushed through OPNSense SVT before being announced.

I leave the honor of any announcement of action or patches to franco or other people at OPNSense.

Thanks for your help with this franco!
It is always a pleasure to work with you!

Fair enough, thanks for all the help!

The issue was JSON trying to encode invalid UTF-8. I don't think the patch will go through any more iterations and is already on the master branch:

# opnsense-patch https://github.com/opnsense/core/commit/60f297f5a


Cheers,
Franco

Quote from: franco on January 21, 2025, 02:08:35 PMFair enough, thanks for all the help!

The issue was JSON trying to encode invalid UTF-8. I don't think the patch will go through any more iterations and is already on the master branch:

# opnsense-patch https://github.com/opnsense/core/commit/60f297f5a


Cheers,
Franco
Thanks!

This thread/topic can be marked as solved/resolved.