Project

General

Profile

Actions

Bug #14329

open

DDNS IPv6 update PHP error

Added by Ryan H 12 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Dynamic DNS
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
23.01
Affected Architecture:

Description

Dynamic DNS updates to DigitalOcean for IPv6 fail with a PHP error. This error appears in both the GUI's crash report banner, and in the browser if a forced update is invoked.
DigitalOcean IPv4 (same API key) appears to be successful.

Firmware and all packages on latest version.

Crash report begins.  Anonymous machine information:

amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 plus-RELENG_23_01-n256037-6e914874a5e: Fri Feb 10 20:30:29 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/obj/amd64/VDZvZksF/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBS

Crash report details:

PHP Errors:
[28-Apr-2023 01:01:00 Asia/Tokyo] PHP Fatal error:  Uncaught Error: Attempt to assign property "domain_records" on null in /etc/inc/dyndns.class:1425
Stack trace:
#0 /etc/inc/dyndns.class(479): updatedns->_update()
#1 /etc/inc/services.inc(2355): updatedns->__construct('digitalocean-v6', '[redacted hostname]', '[redacted domain]', '', '[redacted key]', false, false, '', 'opt4', NULL, NULL, NULL, '', NULL, '', '3600', '', 'opt4', '', '0', false, false, false, NULL)
#2 /etc/inc/services.inc(2407): services_dyndns_configure_client(Array)
#3 /etc/rc.dyndns.update(40): services_dyndns_configure()
#4 {main}
  thrown in /etc/inc/dyndns.class on line 1425
Actions #1

Updated by Kris Phillips 12 months ago

Tested on pfSense Plus 23.05 RC from May 13th. This is present in this build and confirmed.

Actions

Also available in: Atom PDF