Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPNsense triggered a report issue #13

Closed
alexdelprete opened this issue Dec 2, 2021 · 23 comments
Closed

OPNsense triggered a report issue #13

alexdelprete opened this issue Dec 2, 2021 · 23 comments

Comments

@alexdelprete
Copy link
Contributor

Hi Travis,

OPNsense told me to submit a reported issue (I didn't submit it) regarding a bunch of these:

[02-Dec-2021 01:26:52 Europe/Rome] PHP Warning:  Illegal string offset 'vip' in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 8
[02-Dec-2021 01:27:04 Europe/Rome] PHP Warning:  Illegal string offset 'vip' in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 8
[02-Dec-2021 01:27:16 Europe/Rome] PHP Warning:  Illegal string offset 'vip' in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 8
[02-Dec-2021 01:27:28 Europe/Rome] PHP Warning:  Illegal string offset 'vip' in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 8
[02-Dec-2021 01:27:40 Europe/Rome] PHP Warning:  Illegal string offset 'vip' in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 8

This evening I was configuring some things and tried adding a Virtual IP for a new device I installed, I deleted the VIP afterwards, but I suspect something went wrong when I added it on the component's side.

If you need other info let me know...thanks...

@travisghansen
Copy link
Owner

Did it show up only after adding a vip and then showed up after adding it? Then went away after you removed it?

@travisghansen
Copy link
Owner

FYI don’t bother submitting that to opnsense, it entirely not their issue.

@alexdelprete
Copy link
Contributor Author

Did it show up only after adding a vip and then showed up after adding it? Then went away after you removed it?

I wish I could tell you, it happened 3-4 hours ago, and I just noticed this in OPNsense...

FYI don’t bother submitting that to opnsense, it entirely not their issue.

I know, that's why I dropped the report and opened the issue here...

@alexdelprete
Copy link
Contributor Author

Could it be that I added a VIP, then removed it while the component was asking for VIP's info via xmlrpc?

@travisghansen
Copy link
Owner

Even that shouldn’t produce the error :(

@alexdelprete
Copy link
Contributor Author

If you want, I can add VIP, wait some minutes and check if there is any report, then delete it and recheck...

@travisghansen
Copy link
Owner

Sure go ahead and do that. Let’s see if only a few show up or if they continually come through.

Just so I’m clear, you don’t have an vip at the moment and you aren’t getting more warnings correct?

@alexdelprete
Copy link
Contributor Author

Just so I’m clear, you don’t have an vip at the moment and you aren’t getting more warnings correct?

No, I was tinkering with the configuration of the new device, in the end I deleted the VIP, and after some time I noticed the warning.

Sure go ahead and do that. Let’s see if only a few show up or if they continually come through.

I just added a VIP. Will wait for a few minutes then delete it and wait again...does the component support VIPs specifically or it's just an additional IP of an interface?

@travisghansen
Copy link
Owner

It has some special handling of carp interfaces (which is a subset of all the possible vip configurations).

@alexdelprete
Copy link
Contributor Author

Didn't see errors after a while since adding the VIP. Deleting it now...

@alexdelprete
Copy link
Contributor Author

I triggered it!! It was the delete VIP:

image

@travisghansen
Copy link
Owner

After the initial delete you don't receive any more errors though yeah?

@alexdelprete
Copy link
Contributor Author

alexdelprete commented Dec 3, 2021

Nope...but I guess you nailed it...;)

@travisghansen
Copy link
Owner

Yeah ok. So not a huge problem but not ideal. Seems odd to only get that when it’s getting deleted.

@alexdelprete
Copy link
Contributor Author

You expected it also on add?

@travisghansen
Copy link
Owner

I don’t expect it at all. It’s odd that it shows up only during the transition.

@alexdelprete
Copy link
Contributor Author

After the initial delete you don't receive any more errors though yeah?

Travis, I stand corrected: just received a new warning with a report to submit, and checking the log contained there, the errors never stopped since it triggered the first time. :(

@travisghansen
Copy link
Owner

Interesting. What kind of vip are you adding?

@alexdelprete
Copy link
Contributor Author

IP Alias. Won't try anymore...:)

@travisghansen
Copy link
Owner

I’ll try it out to see if I can reproduce the issue locally.

@alexdelprete
Copy link
Contributor Author

Let me know if I can do else to help you...

@alexdelprete
Copy link
Contributor Author

alexdelprete commented Dec 23, 2021

This was fixed? Can't remember...:)

@alexdelprete alexdelprete reopened this Dec 23, 2021
@travisghansen
Copy link
Owner

I haven’t looked at it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants