kingmesal
kingmesal
CDCloudflare Developers
Created by kingmesal on 5/30/2024 in #pages-help
Pages that were removed are still showing up in Live Pages Deployment
I moved a page in my site from /contact-us/index.html to /company/contact-us/index.html After deploying, the new page is up and works great. However, the old page still exists and is still resolving and it should 404. I checked the deployment details > assets uploaded and the old page is not there. How do I get the old pages to "disappear" ?
4 replies
CDCloudflare Developers
Created by kingmesal on 5/20/2024 in #workers-help
Toucan API - Correct way to use it?
I have been creating my sentry instance as such:
const sentry = new Toucan({
dsn: env.SENTRY_DSN,
context: ctx,
request,
tracesSampleRate: 1.0,
debug: false,
});
const sentry = new Toucan({
dsn: env.SENTRY_DSN,
context: ctx,
request,
tracesSampleRate: 1.0,
debug: false,
});
Then calling sentry.captureException(message | error); However it appears this method is now (for a while) deprecated. Are there any instructions on the new correct way to use toucan?
2 replies
CDCloudflare Developers
Created by kingmesal on 4/25/2024 in #workers-help
worker failed to prewarm
is there a current known issue with wrangler dev --remote? I'm getting ▲ [WARNING] worker failed to prewarm: Service Temporarily Unavailable
4 replies
CDCloudflare Developers
Created by kingmesal on 4/19/2024 in #pages-help
wrangler pages deploy --var
I'm missing one "minor" bit of functionality with the new wrangler pages deploy which would be great to have... I need to set a variable at deploy time value and need to use --var key:value Is this going to be coming to the deploy function?
1 replies
CDCloudflare Developers
Created by kingmesal on 2/9/2024 in #pages-help
Deployment notification timestamps
Is there a "bug" in the pages deployment notifications? I get the same timestamp for a EVENT_DEPLOYMENT_STARTED and the following EVENT_DEPLOYMENT_SUCCESS I don't see how that should be possible given that it takes between 10-60 seconds when it runs.
1 replies
CDCloudflare Developers
Created by kingmesal on 9/21/2023 in #workers-help
Worker using fetch gets 522 from CF Pages Project
Here is my problem. User hits my pages website (origin), the javascript that is loaded hits the pages endpoint /api/data. /api/data internally is bound to a worker so the request is passed through to said worker. That worker runs some business logic then uses await fetch(origin/some-specific-path). That fetch request is returning a 522 from the CF pages project. Running this all locally works fine with the service binding via wrangler. How do I resolve this?
4 replies
CDCloudflare Developers
Created by kingmesal on 4/15/2023 in #pages-help
Cloudflare Images Custom Domains - BUG?
BUG ALERT 🪲 I see in the docs https://developers.cloudflare.com/images/cloudflare-images/serve-images/serve-images-custom-domains/ it says:
Serve images from custom domains
I have use cases that are failing with a 403 when using CF Images service via this URL format:
https://mycustom.domain/cdn-cgi/imagedelivery/
Details: 1. I have my sites in pages. 2. I have a bunch of images stored in images. 3. I know the problem has to do with DNS (custom domains). 4 I have a 2 custom domains that this URL path works just fine
One of the two is a CNAME from another DNS provider. All good. One is CNAME flattening in the same CF account.
4 It does not work 2 of the custom domains
Both DNS are managed in other cloudflare accounts with CNAME flattening and one example with subdomain CNAMEs pointing at the pages.dev project.
5. If I use the pages.dev url of my pages projects all the images load just fine. 6. All the SSL certificates are setup, valid, enabled... Some custom domains working and other failing, but the most baffling part is the case where the subdomain managed in another DNS provider works. But those managed via other cloudflare accounts do not. Is this a 🐛 ❓
5 replies