arasseo.
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
what's weird is that even the scenario two (freshly made worker script) won't work with snippets running in front of it
the worker script
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
okay, here are 2 scenarios:
1. scenario one is using the prod worker where it's integrated with r2 and kv. kv is basically unused since the past 12 months and won't be triggered since we removed the old domain acted as endpoint to that kv. but the r2 still works as expected.
2. scenario two is using a fresly made, very simple worker script, to test if it's really the prod worker causing the problem or it's the entire Snippets (doesn't matter old or newly made snippet) causing the problem.
Snippet code used
see https://discord.com/channels/595317990191398933/1351598746487488542/1358826420863766618
Snippet rule used
Scenario one (prod worker with r2)
a custom domain, to see if everything works without snippets running in front of it, using the same above snippets script:
1. https://prod-workers-with-r2.0ms.dev/
2. https://prod-workers-with-r2.0ms.dev/workers-debug-with-snippets/
3. https://prod-workers-with-r2.0ms.dev/workers-debug-without-snippets/
a custom domain, to see if everything works with snippets running in front of it, using the same above snippets script:
1. https://prod-workers-with-r2-snippets.0ms.dev/
2. https://prod-workers-with-r2-snippets.0ms.dev/workers-debug-with-snippets/
3. https://prod-workers-with-r2-snippets.0ms.dev/workers-debug-without-snippets/
Scenario two (freshly made worker script)
a custom domain, to see if everything works with snippets running in front of the
/workers-debug-with-snippets
path, using the same above snippets script:
1. https://snipdbg.0ms.dev/
2. https://snipdbg.0ms.dev/workers-debug-with-snippets
3. https://snipdbg.0ms.dev/workers-debug-without-snippets31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
it's tightly integrated with r2 and kv, but opening
snippets.0ms.dev
shouldn't trigger r2 or kv, it's only checking if the path doesn't match then simply return 404 page, which I believe that's why it's showing the 404 page31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
if what you mean by deps is the imports, then looking at the code, these are the only imports in the code
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors

31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
not sure, the code was a lot but definitely works normal for workers (without snippets). I haven't touched nor updated the workers code since the past 6 months because snippets has been working fine from the past few months. so not sure if there's anything wrong with the workers code,
before this happened on march 18th, snippets works just fine without changing anything from the workers code. the error suddenly popped out of nowhere, that part is weird because it affected older snippets (last edited on march 15th).
if changes was made by user then it's caused by the user, if it's not touched then how should the user know what went wrong
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
nah, I don't see this "Version Management product" anywhere
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors

31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
it's even more frustrating because from customer's dashboard, not much useful error messages were displayed.
https://snippets.0ms.dev/
so I added this custom domain from workers dashboard. it works fine. but after enabling Snippets for that subdomain, it shows 1xxx error.
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
having one snippet enabled on some kind of path that i can access and run tests against would be very helpfulthe problem is that, even when snippets is told to run on specific subdomain (i.e.,
a.domain.dev
), it's giving errors for other URLs (i.e. s1.domain.dev
). I put my CSS on cf Pages, when enabling one of the Snippets, it prevents the Pages subdomain to load because of that error 1xxx. this will break websites that needs to access the CSS when that Snippet is enabled31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
does Snippets even have version management? or did you mean Snippets doesn't work as intended because workers version management is enabled somewhere?
aren't snippets supposed to run before workers? if that logic is true then does it matter what settings we're changing from the workers dashboard (other than settings to add/remove custom domains)? does that even make any sense that snippets running in front of workers but workers settings affect how snippets running (settings other than custom domains I mean) - I thought they aren't supposed to mess with each other.
Snippets can be triggered to run from some custom domains that were added from workers dashboard, okay sounds normal. but why settings other than to add/remove custom domains even affect how Snippets work? they're 2 different products tho - sounds strange that workers settings are messing with how snippets work
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
the error still persists. this is the output from cf trace.
basically all URLs that I wanted Snippets to run in front of them will trigger
Error 1101 Worker threw exception
.
right now we're disabling all snippets because it breaks things.31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
to add more context, the code works fine if you Preview it with the web code editor, but once deployed, it'll just throwing exceptions.
the problem is that even deploying unedited Snippets' code examples doesn't work nor editing it will make the errors go away.
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
even using default template will throw Error 1101.
this happened as per march 18th 2025, there's a snippet that's last edited 15 Feb, 2025 06:28:40 and was working perfectly before the sudden exception errors. new snippets created will throw the same error. it's not error from code, but there's just so little information shown from the user's perspective, nothing helps at all.
I provided some Ray IDs above, not sure if that'll even help debug anything from cf's side. did open a ticket since 3/19/2025, 02:26 AM GMT+7, not sure how long it'll take to get some real support there.
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
What to expect:
This code is using one of the templates (Maintenance Page), modified the html a bit. We expected it to just work, but it's not, and giving errors such as the above Ray IDs. When tested inside the web editor Preview, it works, but it's throwing errors when deployed.
Snippet Rule:
All incoming requests
Code to reproduce:
31 replies
CDCloudflare Developers
•Created by arasseo. on 3/18/2025 in #workers-help
All Cloudflare Snippets are throwing errors
still got errors and it's been 7+ hours since and no mentions or anything on cf status page related to this issue.
creating a new snippet using one of the available templates doesn't work too.
31 replies
CDCloudflare Developers
•Created by raylux92 on 8/19/2023 in #general-help
Help with ssl
I mean, your only option is to run your own web server where you can set it to use your own cf ssl - this means getting a cheap vps would be the easiest way (and probably fastest too) than staying hesitated with ionos
or if your web is mostly static, just use cloudflare pages + github,
will solve your ssl too
9 replies
CDCloudflare Developers
•Created by bᥲkᥙg᥆ on 8/19/2023 in #general-help
use cloudflare as vpn
your not supposed to use a vpn in a vps, unless your machine is behind a NAT (e.g. proxmox VMs),
Host machine won't be able to use it
5 replies
CDCloudflare Developers
•Created by raylux92 on 8/19/2023 in #general-help
Help with ssl
could be a paid feature, better ask their support
9 replies
CDCloudflare Developers
•Created by bᥲkᥙg᥆ on 8/19/2023 in #general-help
use cloudflare as vpn
for proxy (what u mean sounds like a forward proxy) might not be possible.
for vpn, https://1.1.1.1 is an option
5 replies