Skip to content

/api/v2/status/services shows ipsec as not running but /api/v1/services does #634

@robindbe

Description

@robindbe

Describe the bug
A GET on /api/v2/status/services returns the status on all services but I noticed that for IPsec it always returns "status": false while the service is running and tunnels are online. Using the same call from v1 /services does return "status": "running".
The Service status page also shows a green mark.

Expected behavior
The correct status of the ipsec service.

pfSense Version & Package Version:

  • pfSense Version: 24.03
  • Package Version v2.3.1

Affected Endpoints:

  • URL: /api/v2/status/services

Additional context

        {
            "id": 8,
            "name": "ipsec",
            "description": "IPsec VPN",
            "enabled": true,
            "status": false
        },
        {
            "name": "ipsec",
            "description": "IPsec VPN",
            "enabled": true,
            "status": "running"
        },

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeRequires changes that may breaking existing usagebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions