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, Failed to execute python plugins: ipsec #34

Open
FingerlessGlov3s opened this issue May 27, 2023 · 2 comments
Open

OPNsense, Failed to execute python plugins: ipsec #34

FingerlessGlov3s opened this issue May 27, 2023 · 2 comments

Comments

@FingerlessGlov3s
Copy link

Hi,

I used to have IPsec tunnel configured but it's been deleted both P1/P2 and IPsec disabled. But the plugin is still trying to execute it's checks for IPsec. Traceback below

Traceback (most recent call last):
  File "/usr/local/etc/rc.syshook.d/start/99-checkmk_agent", line 231, in do_checks
    _lines += getattr(self,_check)()
  File "/usr/local/etc/rc.syshook.d/start/99-checkmk_agent", line 918, in checklocal_ipsec
    _ikeid = _phase1.get("ikeid")
AttributeError: 'NoneType' object has no attribute 'get'
@tzockt
Copy link

tzockt commented Mar 30, 2024

I have a similar problem:

Traceback (most recent call last):
  File "/usr/local/etc/rc.syshook.d/start/99-checkmk_agent", line 239, in do_checks
    _lines += getattr(self,_check)()
  File "/usr/local/etc/rc.syshook.d/start/99-checkmk_agent", line 945, in checklocal_ipsec
    if len(_name.strip()) < 1:
AttributeError: 'NoneType' object has no attribute 'strip'

@thorstenspille Any ideas?

@remcomldr
Copy link

I also have the same issue:
AttributeError: 'NoneType' object has no attribute 'strip'

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