Project

General

Profile

Actions

Regression #13167

closed

DigitalOcean Dynamic DNS update fails with a "bad request" error

Added by Chris C almost 2 years ago. Updated over 1 year ago.

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

100%

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

Description

Dynamic DNS updates using the DigitalOcean plugin are failing, it looks like phpDynDNS isn't expecting a hyphen in the x-request-id field:

May 15 19:31:00 php-fpm 62993 /services_dyndns_edit.php: Configuration Change: admin@REDACTED (Local Database): Dynamic DNS client configured.
May 15 19:31:00 check_reload_status 398 Syncing firewall
May 15 19:31:00 php-fpm 62993 /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
May 15 19:31:00 php-fpm 62993 /services_dyndns_edit.php: Dynamic DNS digitalocean (hostname): REDACTED extracted from local system.
May 15 19:31:00 php-fpm 62993 /services_dyndns_edit.php: Dynamic DNS (hostname): running get_failover_interface for wan. found igc0
May 15 19:31:00 php-fpm 62993 /services_dyndns_edit.php: Dynamic DNS digitalocean (hostname): _update() starting.
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: HTTP/2 400
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: date: Sun, 15 May 2022 19:31:01 GMT
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: content-type: application/json; charset=utf-8
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: content-length: 126
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: ratelimit-limit: 5000
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: ratelimit-remaining: 4998
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: ratelimit-reset: 1652646661
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: x-gateway: Edge-Gateway
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: x-request-id: 0912d1db-6a1b-4237-875d-e03a6ab8162e
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: x-response-from: service
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: cf-cache-status: DYNAMIC
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: set-cookie: __cf_bm=hTLUHGs.34rxL8MEi8urUw105Fc_qX3e88eJjcpU.8-1652643061-0-AZYG6bSsYrJw6QkwPnoF6ayYx5PdN589k0+4+jgxnlDsL+7Pvd3+Ueo6Xrho+XuwMpZiuvSNLm0fKy/hZpKy3QfdGPpGsZlRmrO81if+p; path=/; expires=Sun, 15-May-22 20:01:01 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: server: cloudflare
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header: cf-ray: 70be4a9dfe65e11a-IAD
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header:
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Header:
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Response Data: {"id":"bad_request","message":"invalid character '-' in numeric literal","request_id":"0912d1db-6a1b-4237-875d-e03a6ab8162e"}
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: Dynamic DNS digitalocean (hostname): _checkStatus() starting.
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: phpDynDNS (hostname): PAYLOAD: {"id":"bad_request","message":"invalid character '-' in numeric literal","request_id":"0912d1db-6a1b-4237-875d-e03a6ab8162e"}
May 15 19:31:01 php-fpm 62993 /services_dyndns_edit.php: phpDynDNS (hostname): (Unknown Response)

Actions

Also available in: Atom PDF