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

Intermittent timeout to specific opnsense host #134

Closed
LorenKeagle opened this issue Mar 18, 2024 · 4 comments
Closed

Intermittent timeout to specific opnsense host #134

LorenKeagle opened this issue Mar 18, 2024 · 4 comments

Comments

@LorenKeagle
Copy link

I have a primary and backup opnsense router on my network, and I installed this plugin to monitor traffic and status.

I'm running OPNsense 24.1.3_1-amd64. HA is running in a dedicated VM on my NAS.

Both integrations appear to work, but my primary device has gaps in data. The HA logs indicate several timeout errors throughout the day, but no further information.

2024-03-16 01:31:46.312 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 02:22:06.313 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 04:05:33.622 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 04:45:57.624 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 05:58:57.622 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 08:04:27.623 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 08:24:57.624 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 09:27:27.623 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
2024-03-16 09:47:57.623 ERROR (MainThread) [custom_components.opnsense] Timeout fetching Merlin.piccnet.org OPNsense state data
...

The status dashboards look like this:

Screenshot 2024-03-18 at 10 16 20 AM

All the permissions appear to be set correctly. Both opnsense devices have the exact same configuration, but the secondary does not have these timeout issues and missing data.

Any suggestions on where I can investigate next?

@LorenKeagle
Copy link
Author

I should add that all of the sensor data from the primary host has similar gaps. It is not limited to just the WAN status. There also doesn't appear to be any regular interval for either the timeout errors or the duration of the gaps, although on average I'd say it occurs approximately every 40 minutes or so.

@twodrops
Copy link

Is this somehow the same as #118?

@LorenKeagle
Copy link
Author

I didn't post this in that issue because I don't have any related logs in opnsense, and it's an intermittent issue. #118 indicated that the issue was persistent.

Perhaps it's related, but I don't have any data in my systems to support that correlation.

@LorenKeagle
Copy link
Author

I removed the opnsense plugins and HA integration for both routers, reinstalled everything from scratch, and I no longer see this issue. I wish there were more information to provide, sorry!

@Snuffy2 Snuffy2 closed this as completed Sep 7, 2024
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

3 participants