moonage.dev
CDCloudflare Developers
•Created by moonage.dev on 12/11/2024 in #workers-help
Cloudflare SaaS fallback with customer cname domain 522
I have
- setup a worker with a custom domain pointing to customers.x.dev
- set the fallback as customers.x.dev on the /ssl-tls/custom-hostnames page and is active
- have set y.dev to as a custom hostname on /ssl-tls/custom-hostnames and is verified and active
- have set a CNAME on y.dev to customers.x.dev (tried proxied and non-proxied)
When i access customers.x.dev it does respond correctly, however when accessing y.dev I get Connection timed out Error code 522
Account id: 6e810700260d9b58e259560786fb1e92
can dm the sites in question 😄
I have used CF SaaS before using worker custom domains and got it to work with the worker route wildcard, so is there a way to also use the fallback with worker custom domains?
4 replies
CDCloudflare Developers
•Created by moonage.dev on 11/1/2023 in #workers-help
hono cron scheduler halp
Know hono is a 3rd party lib, but used for alot of cf things so thought someone might have an answer here.
I using browser rendering api in a worker and want to set it on a cron, have the cron in the wrangler.toml
Im just not sure how to use the scheduled handler with hono, any help appriciated ❤️
1 replies
CDCloudflare Developers
•Created by moonage.dev on 5/30/2023 in #pages-help
Qwik .dev.vars (bindings) with CF pages help
Hi there, I'm using qwik and an openai key in my app. From the docs, for bindings, the cf and qwik docs differ slightly (just fyi)
https://developers.cloudflare.com/pages/framework-guides/deploy-a-qwik-site/#use-bindings-in-your-qwik-application
vs
https://qwik.builder.io/docs/deployments/cloudflare-pages/#context
note the
.env
The actual issue is when serving locally, normally with wrangler I would use .dev.vars
. But with vite, im not really sure how you could serve the qwik app and access the .dev.vars, basically saturating the platform.env
.
Might be more of a qwik specific issue but worth a ask1 replies
CDCloudflare Developers
•Created by moonage.dev on 1/25/2023 in #workers-help
worker site wrangler config diff bucket per env
Is it possible to have different bucket for a env in wrangler.toml?
3 replies
CDCloudflare Developers
•Created by moonage.dev on 1/24/2023 in #workers-help
Worker talking to worker service with itty-router
I'm trying to get worker-a to talk to worker-b service, the worker-b service is deployed and I'm serving up the worker-a via
wrangler dev
From worker-a:
From worker-b service:
But I just get
Is there a way to point to my local served worker service to debug what's going wrong?10 replies