timothymiller / cloudflare-ddns

🎉🌩️ Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP!
https://timknowsbest.com/free-dynamic-dns
GNU General Public License v3.0
3.1k stars 324 forks source link

Error sending 'POST' request #136

Closed macguirerintoul closed 1 year ago

macguirerintoul commented 1 year ago

Describe the bug

05/19/2023 10:52:07 PM
🕰️ Updating IPv4 (A) & IPv6 (AAAA) records every 300 seconds
05/19/2023 10:52:07 PM
🧩 IPv6 not detected via 1.1.1.1, trying 1.0.0.1
05/19/2023 10:52:07 PM
🧩 IPv6 not detected via 1.0.0.1. Verify your ISP or DNS provider isn't blocking Cloudflare's IPs.
05/19/2023 10:52:08 PM
➕ Adding new record {'type': 'A', 'name': 'gnw.macguire.me', 'content': '192.80.164.77', 'proxied': False, 'ttl': 300}
05/19/2023 10:52:08 PM
😡 Error sending 'POST' request to 'https://api.cloudflare.com/client/v4/zones/f225a173bce83832aa86ef428626ad6f/dns_records':
05/19/2023 10:52:08 PM
errors=[object Object]messages=result=success=false

Expected behavior The DNS record is updated

OS: Raspbian GNU/Linux 11 (bullseye)

Looks like the error isn't being logged properly either (i.e. [object Object])

macguirerintoul commented 1 year ago

Nevermind, this was a user error 🤦

I was viewing the logs in Dozzle and it messed up how the logs were displayed. I realized I can click on the line to expand the JSON.

image