Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error sending 'PUT' request to 'https://api.cloudflare.com/client/v4/zones/ #206

Open
pecdel opened this issue Feb 2, 2025 · 2 comments
Assignees

Comments

@pecdel
Copy link

pecdel commented Feb 2, 2025

result=null success=false errors=[{"code":9207,"message":"Request body is invalid."}] messages=[]

@kslcsdalsadg
Copy link

Same since 3-4 days ago.
The issue is due to the cloudflare has been restricted the access to 1.1.1.1/cdn-cgi/trace and 1.0.0.1/cdn-cgi/trace
When connecting to the script a 403 error is retourned from the server and, when connecting from a browser, the following error is retourned:

Error 1034
Ray ID: XXXXXXXXXXXXXXXX • 2025-02-02 11:06:56 UTC
Edge IP Restricted
What happened?
You've requested a page on a website that is part of the Cloudflare network. The host (1.1.1.1) resolved to an IP address that the owner of the website does not have access to.

What can I do?
If you are a visitor of this website:
Please try again in a few minutes.

If you are the owner of this website:
Check your DNS records to ensure they are pointed to the IP address(es) you were assigned at registration.

Was this page helpful? Yes No
Thank you for your feedback!
Cloudflare Ray ID: XXXXXXXXXXXXXXXX • Your IP: Click to reveal XX.XX.XX.XX • Performance & security by Cloudflare

@dkpnw
Copy link

dkpnw commented Feb 2, 2025

This issue happened to me too, and I couldn't wait around for a fix, so I forked the project and had o3-mini-high help me. My fork adds redundancy to the IP checking function in cases where fetching from Cloudflare fails. I also had it improve the logging messages a bit for me. Feel free to check it out, at least until @timothymiller has a chance to update his script in perhaps a more robust manner than I was able to do with just enough coding knowledge to be dangerous and the help of an LLM. https://github.com/dkpnw/cloudflare-ddns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants