Skip to content

WAN Interface down after fatal pfREST crash #692

@TheMatrixRecoder

Description

@TheMatrixRecoder

Describe the bug
A bug in the v2.03 package shut down the WAN interface of one of our production firewalls today.
The crash report from pfSense is below. The interface only worked again after manually unplugging and reinserting the uplink.

To Reproduce
Steps to reproduce the behavior:
Unknown

Expected behavior
No crashes

Screenshots or Response
[29-Apr-2025 17:01:03 Europe/Berlin] PHP Fatal error: Uncaught TypeError: RESTAPI\Caches\RESTAPIVersionReleasesCache::get_data_to_cache(): Return value must be of type array, null returned in /usr/local/pkg/RESTAPI/Caches/RESTAPIVersionReleasesCache.inc:27
Stack trace:
#0 /usr/local/pkg/RESTAPI/Core/Cache.inc(68): RESTAPI\Caches\RESTAPIVersionReleasesCache->get_data_to_cache()
#1 /usr/local/pkg/RESTAPI/.resources/scripts/manage.php(179): RESTAPI\Core\Cache->process()
#2 /usr/local/pkg/RESTAPI/.resources/scripts/manage.php(434): refresh_cache('RESTAPIVersionR...')
#3 {main}
thrown in /usr/local/pkg/RESTAPI/Caches/RESTAPIVersionReleasesCache.inc on line 27

pfSense Version & Package Version:

  • pfSense Version: v.2.7.2
  • Package Version v2.03

Affected Endpoints:
WAN down

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions