[GH-ISSUE #9] error zone cloudflare #4

Closed
opened 2026-02-27 19:08:48 +03:00 by kerem · 6 comments
Owner

Originally created by @devzucca on GitHub (Oct 13, 2024).
Original GitHub issue: https://github.com/CaddyBuilds/caddy-cloudflare/issues/9

Originally assigned to: @vkartk on GitHub.

Hi, thank you for this, but I'm suffering, I found this repo after I tried manually, to do all the configuration with cloudflare, and manually I get an error:

ERR ts=1728803431.1833239 logger=tls.issuance.acme.acme_client msg=cleaning up solver identifier=git.neve-00.dazmin.com challenge_type=dns-01 error=no memory of presenting a DNS record for "_acme-challenge.git.neve-00.dazmin.com" (usually OK if presenting also failed)

ERR ts=1728803431.3459046 logger=tls.obtain msg=could not get certificate from issuer identifier=git.neve-00.dazmin.com issuer=acme-v02.api.letsencrypt.org-directory error=[git.neve-00.dazmin.com] solving challenges: presenting for challenge: adding temporary record for zone "neve-00.dazmin.com.": expected 1 zone, got 0 for neve-00.dazmin.com. (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/166951613/19734538113) (ca=https://acme-staging-v02.api.letsencrypt.org/directory)

ERR ts=1728803431.346008 logger=tls.obtain msg=will retry error=[git.neve-00.dazmin.com] Obtain: [git.neve-00.dazmin.com] solving challenges: presenting for challenge: adding temporary record for zone "neve-00.dazmin.com.": expected 1 zone, got 0 for neve-00.dazmin.com. (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/166951613/19734538113) (ca=https://acme-staging-v02.api.letsencrypt.org/directory) attempt=4 retrying_in=300 elapsed=304.964014824 max_duration=2592000

which happens to be the same error that I get with this image, but it takes less time to configure, thank you for this and your time, I follow the cloudflare steps for zone permissions in the api, but I keep encountering the same error, please if you can help me I would be grateful.

Originally created by @devzucca on GitHub (Oct 13, 2024). Original GitHub issue: https://github.com/CaddyBuilds/caddy-cloudflare/issues/9 Originally assigned to: @vkartk on GitHub. Hi, thank you for this, but I'm suffering, I found this repo after I tried manually, to do all the configuration with cloudflare, and manually I get an error: ``` ERR ts=1728803431.1833239 logger=tls.issuance.acme.acme_client msg=cleaning up solver identifier=git.neve-00.dazmin.com challenge_type=dns-01 error=no memory of presenting a DNS record for "_acme-challenge.git.neve-00.dazmin.com" (usually OK if presenting also failed) ERR ts=1728803431.3459046 logger=tls.obtain msg=could not get certificate from issuer identifier=git.neve-00.dazmin.com issuer=acme-v02.api.letsencrypt.org-directory error=[git.neve-00.dazmin.com] solving challenges: presenting for challenge: adding temporary record for zone "neve-00.dazmin.com.": expected 1 zone, got 0 for neve-00.dazmin.com. (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/166951613/19734538113) (ca=https://acme-staging-v02.api.letsencrypt.org/directory) ERR ts=1728803431.346008 logger=tls.obtain msg=will retry error=[git.neve-00.dazmin.com] Obtain: [git.neve-00.dazmin.com] solving challenges: presenting for challenge: adding temporary record for zone "neve-00.dazmin.com.": expected 1 zone, got 0 for neve-00.dazmin.com. (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/166951613/19734538113) (ca=https://acme-staging-v02.api.letsencrypt.org/directory) attempt=4 retrying_in=300 elapsed=304.964014824 max_duration=2592000 ``` which happens to be the same error that I get with this image, but it takes less time to configure, thank you for this and your time, I follow the cloudflare steps for zone permissions in the api, but I keep encountering the same error, please if you can help me I would be grateful.
kerem 2026-02-27 19:08:48 +03:00
Author
Owner

@vkartk commented on GitHub (Oct 22, 2024):

@devzucca Could you please share your Docker Compose file and Caddyfile configuration? It would help me better understand the issue and assist with troubleshooting.

If you haven't yet, please regenerate a new Cloudflare API token by following the instructions in the README.

<!-- gh-comment-id:2429995112 --> @vkartk commented on GitHub (Oct 22, 2024): @devzucca Could you please share your `Docker Compose file` and `Caddyfile` configuration? It would help me better understand the issue and assist with troubleshooting. If you haven't yet, please regenerate a new Cloudflare API token by following the instructions in the README.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 2, 2024):

This issue has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.

<!-- gh-comment-id:2511359894 --> @github-actions[bot] commented on GitHub (Dec 2, 2024): This issue has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.
Author
Owner

@rightsaidfred99 commented on GitHub (Oct 18, 2025):

Im getting this too, drives me bonkers

nginx is fine. it's a bug with caddy for sure

<!-- gh-comment-id:3417982572 --> @rightsaidfred99 commented on GitHub (Oct 18, 2025): Im getting this too, drives me bonkers nginx is fine. it's a bug with caddy for sure
Author
Owner

@vkartk commented on GitHub (Oct 18, 2025):

Hi @rightsaidfred99, could you share the logs and Caddy configuration for the domain?

<!-- gh-comment-id:3418009543 --> @vkartk commented on GitHub (Oct 18, 2025): Hi @rightsaidfred99, could you share the logs and Caddy configuration for the domain?
Author
Owner

@rightsaidfred99 commented on GitHub (Oct 19, 2025):

All good now.

In the end, Cloudflare needed access to ALL zones, edit permission with the API. For some reason nginx was fine with just the specific Zone with the API. It's all solved now.

<!-- gh-comment-id:3419119219 --> @rightsaidfred99 commented on GitHub (Oct 19, 2025): All good now. In the end, Cloudflare needed access to ALL zones, edit permission with the API. For some reason nginx was fine with just the specific Zone with the API. It's all solved now.
Author
Owner

@vkartk commented on GitHub (Oct 20, 2025):

Great to know. it’s all working now!

<!-- gh-comment-id:3422834926 --> @vkartk commented on GitHub (Oct 20, 2025): Great to know. it’s all working now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/caddy-cloudflare#4
No description provided.