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

I need waiting room feature as soon as possible, but I am having issues with upgrading to business

Hello all, I need to upgrade my account to business since we need waiting room as soon as possible. However, since I already had a pro plan that plan needs to get cancelled. I need immediate help with this, I created a ticket yesterday but no luck yet. How can I get immediate assistance? Thank you all.

next-on-pages not working on Windows

I'm on Windows and when I run npm run pages:build I get the following warning: ```shell ⚡️ @cloudflare/next-on-pages CLI v.1.13.2 ⚡️ Warning: It seems like you're on a Windows system, the Vercel CLI (run by @cloudflare/next-on-pages...

Avoiding deploying in Russia

Is there a way to avoid deploying in Russia (ie Russian users can connect to an edge server that's located outside Russia)? Asking because my NextJS backend uses the OpenAI API, and it doesn't work in Russia. Russian users can access our site, but they're missing functionality because the OAI API calls are blocked from the backend. I'm presuming this is because Russian users are hitting an edge deployment located in Russia. Maybe Load Balancer can deal with this?...

Cancel deployments queue

So, I have a github repository linked to a Pages project and sometimes a lot of deployments are queued (for example when merging dependabot PRs), slowing down a lot the final production deployment so I was wondering if it's possible to automatically discard other queued/in progress production deployments when a new one is queued so that it is deployed faster. Consider that I'm using Next.js, so every deployment takes about 2 minutes Thanks in advance!...

Cloudflare pages run time logs

I have deployed next.js app in cloudflare pages I have created a api endpoint in next.js app Now i want to see the run time logs of api endpoint in the cloudflare pages ...

Rate limiting API (binding) support for pages

Hello, are there any plans of supporting rate limiting API for pages workers?

Error: Failed to publish your Function. Got error: Unknown internal error occurred.

Today I have been receiving the error "Error: Failed to publish your Function. Got error: Unknown internal error occurred." at the end of the log when attempting new Cloudflare Pages branch preview deploys of a Nuxt 3 site. This has happened both on a branch with new updates, as well as when attempting to redeploy an unchanged branch I know was successful yesterday. - First failed deploy ID (changed branch): 40f8d806-dc76-47f2-aecb-eb89010d18f6...

Pages can not build with nodejs 20.17.0 and pnpm 9

Hi guys, I started deploy my NextJS application on Pages and got this error message. It can't find NodeJS 20.17.0 and detected wrong pnpm version ( using 9 but found 8 ). Could you guys please help me resolve this one ?

POST Request being blocked?

A classic 'works in development but not in production' issue. I'm sending a simple email signup payload from my cloudflare site to mailchimp. Everything in my local environment works, Postman works, the same setup doesn't work when I deploy to production. I turned off DNS proxy, thought that might be it, but no luck....

[Resolved] Product Environment Variables not appearing in Cloudflare dashboard

I've got some environment variables for both preview and production envs in the wrangler.toml file of my pages application, but when deploy the application with wrangler, only the preview env vars are appearing in the cloudflare dash. Here are the contents of my wrangler.toml (private values obviously removed): ```toml...

Thief steal my account and domain

Hello, i have a big problem. My CloudFlare account be hacked and thief change email-adress. It turns out my domain was stolen (I used this domain for my business, I have already found out what email my domain was linked to, can I somehow return it? I beg you, help. pls...

destination adress

hello in destination adress some times one adress work (the first adresss i creat ) the rest not working

How do I bind to a pages project from my cron worker?

I don't have a strong mental model of how the whole pages/CF worker paradigm still work. I'm trying to call into functionality in my pages project from my cron worker, but I'm having trouble figuring out how. My guess is I need to make the pages function accessible through a service binding, but that's where things fall apart for me. Can I get some help?...

Run a nodejs script right before website is deployed to transform the website's content

my website is multilingual, and i do it by running a script on my project that transforms it into multiple folders, each for a different language. I run that script during development to view my website, but is there a way to do that in cloudflare?...

node js deployment on Pages full-stack

Hi! I have a node js express app totally SSR (I use EJS to render the pages' HTML) and I don't understand how to refactor my code. I now use AWS Lambda and it was quite easy (just wrapped express in a handler), but for Pages full-stack I don't know how to do and ChatGPT is not much usefull on this topic

I want to change "preview" and "production".

I am currently trying to deploy about remix app in cloudflare pages. I am using “wrangler deploy” to do so. Somewhere along the line, the deploy destination was treated as “preview” and not as “production”. How can I switch between “preview” and “production” when using “wrangler deploy”? I want to change this page (preview) -> https://0359d43d.kotoriforblog.pages.dev...

I need to setup a custom URL for my preview deployments

One of the services I am using needs a custom TXT record in the site domain so this prevents me for using pages.dev as the domain. I tried to add a wilcard CNAME, but this would require the advanced certificate manager. I am ok with the advanced certificate manager, but can it in fact create a custom wildcard certificate for the CNAME pointing to *.APPNAME.pages.dev? I don't want to get the subscription and then find out I can't create wildcard certificates.

Browers returns 'This site can’t be reached' after successfully deploy.

I'm new to cloudflare pages, just successfully deployed a nextjs project to pages. But when I try to access the page, it shows site can't be reached. Any help would be appreciated.