Project

General

Profile

Actions

Bug #13167

open

phpDynDNS: DigitalOcean ddns update fails (bad request, invalid character '-' in request_id)

Added by Chris C about 1 month ago. Updated 12 days ago.

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

0%

Estimated time:
Plus Target Version:
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 #1

Updated by Chris C about 1 month ago

Saved before I added the affected version: 2.6.0-RELEASE (amd64)

Actions #2

Updated by Pan Teparak 22 days ago

any updates on this? I am getting the same error too

Actions #3

Updated by David Grenier 22 days ago

+1 Also having this problem

Actions #4

Updated by r a 22 days ago

+1 Having this issue since 16th May on two separate boxes CE. Upgraded to 2.6 and still the same. switch to DynDns and it works. There is a forum post for the same.
Its pointing here so Just want to bump this so it gets attention.
https://forum.netgate.com/topic/172202/ddns-with-digitalocean-api-invalid-character-in-numeric-literal-request_id?_=1654624799991

Actions #5

Updated by Danilo Zrenjanin 21 days ago

I reproduced the issue on 22.01 and 22.05.r.20220604.1403 with the same logs.

Actions #6

Updated by Emmanuel Rosado 12 days ago

+1 Also having this problem : 2.6.0-RELEASE (amd64)

Actions

Also available in: Atom PDF