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

Custom Domain

I set up a website running through git. The auto generated domain is working fine, but when I use my own the domain the website just doesn't work. I have used it before and it worked, any ideas??

Setting up sub-domain

Hey! I currently have a domain for my website: gameoholic.xyz I want to set up a subdomain (repositories.gameoholic.xyz) I've set up 2 records of type A: "www" and "repositories", both have the same IP. ...
No description

How to access environment variables in helper functions ?

I am using Remix with Cloudflare Pages. I have a helper function mentioned below. Can you suggest how to access the environment variable outside the loader, action ? ```ts export async function internalAPI(url: string, options: FetchOptions = {}) { ...

Cloudflare MIME Unity WebGL Problems

Hey all, I'm having a bit of trouble figuring out how to change the MIME for a unity webgl app...
No description

Prisma not found when upgrading to builds v2

I tried it in the past, but got an error and chose v2 instead. Yesterday I tried v2 again for the caching, but with no luck. My build command prisma generate && next build worked great on v1. But on V2 it sais that Prisma is not found. I have tried all sorts of different suggested combinations, but with no luck. These, for instance: ```sh yarn dlx prisma generate && ......

Pages 'Building application' is very slow or fails at random.

I've enabled build caching, and I'm using the v2 build environment. When it works 50% of the time, it takes 1 minute, but 30% of the time it takes 6-20 minutes, and 20% fails without a real reason (works when I click Redeploy) Often, it seems to get stuck on 'Downloading node-v17.2.0-linux-x64.tar.gz', but I don't know why it randomly fails.

Pages Down!

The page project randomly works/breaks. This is a bootstrap purely frontend content:...
No description

Loading page slower and slower after repeatedly disable cache on browser

Why Loading page slower and slower after repeatedly disable cache on browser ( cf-cache = HIT)? And why sometimes the loading page is slower but after I restart my browser the page is fast again. I’m using tiered cache with cache reserve options....

Domain issue

So I just bought a domain and for some reason its filled with DNS I didn't add
No description

Custom Domains for Pages (saas for custom domains)

Need some guidance with Pages custom domains . I would to offer my saas customers the ability to add their custom domains within the dashboard on certain routes like "/dashboard" So i set up a under pages - > custom domains > add a domain i.e. custom.mycustomer.com which points to my pages.dev And my customer adds a dns CNAME setting of custom to pages.dev This all works! But it works for all routes, we need only custom domains on /dashboard....

Pages build doesn't seem to be taking environment var changes

framework: NuxtJS Build system: v1 I have a pages project that uses a nuxt build module to exlude pages when set to a specific value, regardless of what I set the value to in the Pages environment it is still excluding those pages from the build. Things I've tried: ...

How can I get to do other than systematic failure when Cloudfare checks that you are a human because

How can I get to do other than systematic failure when Cloudfare checks that you are a human because I have blocked from the start on a site where I want to connect, which uses the Cloudfare on it and ditto on the Cloudfare site I don't get authenticated because I never pass this verification which always remains in check so how can I do it to unlock this?

How can I get to do other than systematic failure when Cloudfare checks that you are a human because

How can I get to do other than systematic failure when Cloudfare checks that you are a human because I have blocked from the start on a site where I want to connect, which uses the Cloudfare on it and ditto on the Cloudfare site I don't get authenticated because I never pass this verification which always remains in check so how can I do it to unlock this?

Still having issues with custom domain in Pages

Came here from Cloudflare Community. Have tried the documentation in troubleshooting. Attached the screenshot for the result of command. Domain is stutastic.pages.dev. Already have one domain active but wishes to have other domain pointing to their respective branch. Troubleshooting domain is v1.stutastic.danplace.tech and v3.stutastic.danplace.tech
No description

getting worker limit exceeded error when its not true.

i am getting the worker limit exceeded error when you can clearly see that we are no where close to hitting that limit. please help me debug this issue.
No description

405 POST method not allowed. No actions exist for this page

I get this error, when simply trying to display what i have written and submitted from a form. - Do i have to go through a database, worker or function or should'nt this be possible without? Its a simple POST i want to display?

Wrangler v3 Local Dev Broken

Anyone else getting these errors when trying to spin up local Pages with Wrangler v3? ``` ⎔ Starting local server... [mf:inf] Ready on http://0.0.0.0:8005...
No description

Functions is too large

Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large) I am getting this error. I don't know why the functions are so large? I'm just running the default command and my app isn't that big but upon checking my functions folder is like 92Mb which doesn't seem right......