Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

www subdomain redirect stopped working after a while

Since yesterday I have pointed a custom domain to my CF pages via the automatically added CNAME pointing to the apex. Then I first tried to add the www subdomain as another custom domain which worked for an hour and then returned 503 again. Afterwards I removed the www subdomain again and tried to add a bulk redirect which never worked. In the end I added a page rule to redirect which worked immediately but then also stopped working after some time and I get again 503s. ...
No description

How can I bypass the cache on a page to get new SSR content?

I have a site served on Cloudflare pages along with a worker for some SSR content. One of my pages is SSR and adds a modal to a page if a certain cookie is present and then instructs for the cookie to be deleted. This modal doesn't appear and the cookie isn't deleted. The behaviour works as expected when hosting locally. I tried bypassing the cache by adding a query parameter for when the modal should show e.g. example.com/?modal, however this doesn't change the resulting HTML....

Main page cant load new content

Hi guys. I dont know why but when i add or delete some new content on my main page, then it wont apply on website. Iam using astro
No description

Is a Durable Object necessary to retain a server WebSocket?

My application establishes a web socket with the client, and then uses it to send a message when another application hits a worker. It's a pages app. Ideally, I'd like to avoid a durable object so I can deploy the whole thing using pages git route. My application needs to maintain a reference to the web socket, after the function that has created it has returned. Do I need to create a durable object to hold that reference, or is there some other way?...

Web Analysis Disable For CloudFlare pages

I want to disable analysis from cloudflare I am getting error : Loading failed for the <script> with source ā€œhttps://static.cloudflareinsights.com/beacon.min.jsā€. i have installed the js snippet but still the delete button is not working please help. šŸ™...
No description

My code is executed in the build step, crashing because of missing env vars

So I have a solid-start project that I want to deploy to pages. I have a problem with deployment to Cloudflare pages though. After the build is complete and code is uploaded, my code is executed in the build step. This leads to a deploy error, because the environment variables aren't available so the code throws. Why does this happen? It doesn't make sense to me. As the error happens after upload I suspect this is not an error with solid-start, but I could be wrong about that of course....

Image serving in cloudflare pages or R2

Hi everyone, right now I have lots of images in my codebase it seems to work directly from cloudflare pages, is there any limit at which I need to move to R2? Is there any performance issues with serving directly from cloudflare pages?

Wan't to inport my website

Hi, I have a website that is ready made but I can't put it up

CloudFlare pages custom domain error "It looks like we're having some internal issues."

Good day, I just tried adding a custom domain to my CloudFlare pages project with the my dns provider option. But after clicking begin CNAME setup I get an error page with "It looks like we're having some internal issues." I tried this about 4 hours ago to with the same result. Are there currently problems with custom domains? Visiting the Custom domains tab afterwards shows the domain as "initializing"....
No description

Internal error occurred - Contact support

Hi We are getting the following error from time to time since yday. It gets resolved by it self when manually retrying the build: ``` 22:34:13.230 Cloning repository... 22:34:14.381 From https://github.com/***/***...
No description

Deployment fails on upload files with zero help

Okay, so I try to upload via wrangler deploy, then via direct upload of my build folder, and there's absolutely nothing I can find to indicate why the deployment is failing.

google-api-javascript-client throw "Uncaught ReferenceError: window is not defined" in Remix CF page

I am trying to use google-api-javascript-client (recommended by google) in my Remix CF page project. Sample code is https://github.com/google/google-api-javascript-client/blob/master/docs/start.md#option-2-use-gapiclientrequest. However, it failed: ✘ [ERROR] service core:user:myproject Uncaught ReferenceError: window is not defined at null.<anonymous> (functionsWorker-0.15113220025986496.js:63854:19)...

Flotiq project

Hello everyone, I'm not sure if this is the right place to post a comment, but I'm reaching out from Flotiq. We submitted our headless CMS some time ago and had a page here: https://workers.cloudflare.com/built-with/projects/flotiq Unfortunately, it now appears to be unavailable. Could you please check what we can do to resolve this? Thank you!...

build exceeded memory limit (on a very large NextJS app)

Hey there, I've got a relatively large nextjs project and I'm running into the "build exceeded memory limit" - This is the first time I've created a build since the last 2 weeks and I've not added "thaat" much to it, so I'm a bit confused about it. Anyone able to help me out? (Thanks in advance)

My custom domain is stuck in either initializing or inactive (requires dns setup)

I've been trying for at least 4 days now, I've been through the "Debugging Pages". I added all respective CAA records on the apex domain, and looking at the records (CNAME, A) it looks all good for www.studiokonter.de, but it seems the SSL Part is in the way still. I am getting a "SSL routines::sslv3 alert handshake failure" on doing the https curl acme-challenge. Also looking at the audit log it seemingly shows an active custom hostname?! ...

Web Analytics do not report fecthed URLs

Hi, I have a small SPA website, and have activated the web analytics. It workls fine, but does not report any fecth calls from the APP. Is this expected? Is tpossible to have analytics on fetch calls? FWIW, I am on the free plan....

Worker exceeded resource limits

I deployed my site and it's working, but if I refresh it a few (~6) times in a row then I get an Error 1102 exceeded resource limits. What can I do to prevent this?...

ebay notification is blocked by cloudflare website protection

I am onboarding email notification (https://developer.ebay.com/marketplace-account-deletion#optingOut) for my remix page application. ebay need to call my url to send a challenge code and get back a hash to confirm my application is working. Unfortunately, cloudflare blocks ebay call by asking an email. I have granted everyone hoping it can solve the problem but it didn't. Service auth seems not to work either for eBay either. I saw some unconfirmed discussion here: https://community.cloudflare...

Cannot find module with vite + react + typescript + yarn build

I'm going crazy trying to figure out the reasoning I'm getting
src/App.tsx(1,53): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations.
src/App.tsx(1,53): error TS2307: Cannot find module 'react-router-dom' or its corresponding type declarations.
along with a billion other Cannot find module errors with my new Vite project. It's a vite + react + typescript project that's almost directly out of the box. When I've done this with other projects it worked, so I'm confused where I might be going wrong. Anyone seen this before?...

This site can’t be reached

I have deployed an astro site on pages, but I can't seem to open it unless I open a specific deployment url - URL: portfolio-1bs.pages.dev - Account ID: a2b511460698bf4ccc851c39cba1211f - The URL doesn't open, it says site cannot be reached...