NethSecurity 8.8.0 – Restore page fails with RangeError: Invalid time value

NethSercurity Version: NethSecurity 8.8.0

Hello,

I am experiencing an issue with the Backup and Restore interface on my NethSecurity firewall.

System information:

  • Hardware: HPE ProLiant DL360 Gen10

  • NethSecurity: 8.8.0

  • ns-ui: 2.27.1-r1

  • ns-api: 3.10.0-r1

  • ns-api-server: 1.6.0-r1

Problem:

When navigating to System → Backup and restore → Restore, the interface displays:

Cannot retrieve backups – RangeError: Invalid time value

The issue is reproducible in both Google Chrome and Safari.

Investigation:

The API call ns.backup registered-list-backups returns HTTP 200 and successfully retrieves eight encrypted backup files.

However, the API returns backup timestamps in the created field as Unix timestamps in seconds, for example:

"created": 1792998164

After inspecting the installed JavaScript file BackupAndRestoreView-tRjdsBSO.js, I found that the interface uses:

new Date(e.uploaded_at)

and formats the resulting value using date-fns.

The returned backup objects do not contain an uploaded_at field. This appears to cause the invalid date error.

Expected behavior:

The Restore page should correctly display the available backups using the timestamps returned by the API.

Additional information:

The firewall runs an OpenVPN server on TCP port 443. The NethSecurity web interface is available on HTTPS port 9090. API calls through port 9090 work correctly.

No manual changes have been made to the JavaScript files or backup data.

Could you confirm whether this is a known compatibility issue between ns-ui 2.27.1 and ns-api 3.10.0, and advise whether an official fix or update is available?

Thank you for your assistance.

Best regards

Have you tried updating the packages through the UI?
UI and API gets released at the same moment, it’s not a compatibility issue.

If all packages are up-to-date, I need to figure out what is going on (I have a possible lead…)

Edit: confirmed the bug, patching it now, fixed backend should come into the updates later this evening.

thanks a lot i will try that tomorow morning after update.