ncano
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
do you have any other snippet or worker triggering on the same request by any chance? anything weird in Trace output (https://developers.cloudflare.com/fundamentals/trace-request/) ?
i can't look up your rayIDs, but i can take a look if you ping me your zone or affected URL
7 replies
CDCloudflare Developers
•Created by inhumann on 3/11/2025 in #general-help
Cloudflare snippet
@inhumann, is this still happening for you? if so, could you send a HAR file and JS console log output my way please? 😉
8 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
there was nothing wrong with Snippets backend or control plane for weeks, so the issue is specific to your code or account configuration. your code works if contact references are removed from the template.
7 replies
CDCloudflare Developers
•Created by theann0uncer on 2/24/2025 in #general-help
Inactive Bulk Redirect Lists not Loading
check num_items returned by backend (either via dev console or API call): https://developers.cloudflare.com/rules/url-forwarding/bulk-redirects/create-api/#1-create-a-bulk-redirect-list-via-api
5 replies
CDCloudflare Developers
•Created by theann0uncer on 2/24/2025 in #general-help
Inactive Bulk Redirect Lists not Loading
just to confirm, i cannot reproduce this in my environment — i can edit existing entries in my inactive list without issues
5 replies
CDCloudflare Developers
•Created by theann0uncer on 2/24/2025 in #general-help
Inactive Bulk Redirect Lists not Loading
are you sure it's not an empty list? it does show that the number of redirects is 0 on that list (and in your account as a whole)
5 replies
CDCloudflare Developers
•Created by Tiebienotjuh on 2/25/2025 in #r2
Hi, i have a question about the rules
Your redirect rule should still work on a hostname mapped to R2 custom domain. However, you can have more granular control if you route traffic to R2 using Cloud Connector: https://developers.cloudflare.com/rules/cloud-connector/.
This way you can use R2 custom domain on a hostname that is not exposed to end-users, and configure a rule in Cloud Connector that controls which requests (based on visitor's country, header, URL, etc.) should go to R2 versus other places.
1 replies
CDCloudflare Developers
•Created by AarkKappler on 2/25/2025 in #general-help
Reset my transformation rules or clear any stuck configuration
or add it via Snippets if you prefer:
ip = request.headers.get('CF-Connecting-IP');
here's similar example with bot fields: https://developers.cloudflare.com/rules/snippets/examples/bot-data-to-origin/5 replies
CDCloudflare Developers
•Created by AarkKappler on 2/25/2025 in #general-help
Reset my transformation rules or clear any stuck configuration
you can also always send ip.src value using a custom header: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src/
5 replies
CDCloudflare Developers
•Created by AarkKappler on 2/25/2025 in #general-help
Reset my transformation rules or clear any stuck configuration
you can confirm what's actually deployed via API for that phase: https://developers.cloudflare.com/rules/transform/request-header-modification/create-api/
5 replies
CDCloudflare Developers
•Created by AarkKappler on 2/25/2025 in #general-help
Reset my transformation rules or clear any stuck configuration
try hard refresh + clear cache in your browser locally, then access Request Header Transform Rules again in the UI
5 replies
CDCloudflare Developers
•Created by nickchomey on 11/26/2024 in #workers-help
Can Snippets access Environment Variables or Secrets?
tentatively Q2
6 replies