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

Help me please

I just enter to the app of Cinépolis go And I want to sign in and the app says that u am banned temporary so I want to comunicate with the support and see if you can help me 😦...

Domain is routing to production branch even after setting it up for preview branch

i have deployed my pages to domain. now i want my <branchname>.project.pages.dev to be on my branch.domain.com . but the thing is, even after changing the cname record branch to point to <branchname>.project..pages.dev , its still pointing to the production branch. so right now, both my main.domain.com and branch.domain.com are pointing to the same production branch. how to fix this?

Make sure non-blocking function can actually complete

I have a SvelteKit API route in this pattern: ```javascript export const GET = async () => { const data = await doSomething(); ...

Using wrangler for local development with pages + functions

Is this supported? It appears under https://developers.cloudflare.com/pages/functions/local-development/, which implies that if you run "npx wrangler pages dev" the dev mode wrangler will find js/ts files under the functions/ subdirectory and somehow miniflare(?) will run them as a worker at the relevant route. But when I start it I only see "No Functions. Shimming..." in the early output of the dev server launch command every time. I've used the helloworld.js example file from https://developers.cloudflare.com/pages/functions/get-started/. I moved the functions/ subdirectory to both the root directory and under the static assets directory, same result....

website is not using for some of users ( Users getting ERR_CONNECTION_TIMED_OUT on Cloudflare Pages)

We have more than 600,000 users every month. For the past few days, some users can’t open our website. They are getting ERR_CONNECTION_TIMED_OUT on our Cloudflare Pages site. I posted about this on the Cloudflare community page: https://community.cloudflare.com/t/my-website-is-not-opening-for-some-users/800642 I’m sharing here too to get help faster. Any help would be great. Thank you! 🙂...

astro workflow ignores wrangler.jsonc and tries to bind to "USER_WORKFLOW" (not something I know of)

trying out CF pages with astro and a workflow ```sh
pdse-the-wall-of-us@0.0.1 dev astro dev...

Initializing build environment +13m

`Build log Initializing build environment 13m 41s Cloning git repository — Installing tools and dependencies — Building application —...

Suddenly hitting build memory limits even when retrying previously-successful builds

Hi team, We have suddenly begun experiencing a 100% failure rate due to "build memory limits" even on previously-successful builds from this morning (i.e. retrying a working one also fails now). See https://dash.cloudflare.com/b13b745a2c036b494d0d56c86c9cc5a7/pages/view/linus/4c9ef136-c99b-427f-81b9-0f5a66714ecb for a build that worked last night, and now the same build retried fails this morning: ``` 11:47:56.811 λ Bundled 199066ms node_modules/expo-router/node/render.js (5682 modules)...

Pages site not loading on some networks

1. khalidshell.pages.dev (blog.khalidrafi.me) 2. Account ID - a001d3fb6924fda27e3570844b6c8dbc My Cloudflare Pages site can't be visited from some networks. What could be the issue?...

Does Page Redirect work on Pages?

Hi, I'm hosting a website on a CloudFlare Pages and I set redirection of legacy URLs to new ones using the documented _redirects file, but didn't work (either on my domain of the *.pages.dev domain). So I decided to do it on domain-level, so I went to my domain configuration (on CloudFlare) then "Rules", and I added few redirect rules (see attached example) but it's still not working... Any clue?...

I have been deploying stuff on vercel but now considering alternatives how is pages?

What is the difference between pages and workers ,I am a complete beginner in cloudlfare ecosystem how should I explore it?I have few react apps that I need to deploy

Cookie not set in pages deployed, but working with local wrangler

Hi Guys, I see that there seem to be issue with setting cookies for nextJS pages on cloudflare. Can any kind soul provide me with the reference on how to allow cookie to be set on the deployed pages? Below is a snippet of my code to set the cookie:...

unable to create rules

it says how to here https://developers.cloudflare.com/rules/transform/url-rewrite/create-dashboard/ but it just doesn't appear to be anywhere, the webpage I have is rather simple in what it needs ``` / /home.html...

Cannot delete Pages project

Hello, every time I attempt to delete a Pages project, with the ultimate goal of migrating to a new account, I get this error. Just a few side notes as well, when I attempt to trigger a deployment, I get told: 2025-05-16T23:25:03.415326Z Failed: unable to submit build job ```Deployment URL: nomad-production-site.pages.dev ...

Pages deployment UI/API questions

for a site deployment, is it possible to do the following (in UI or API): - change the github repo associated with the deployment - change the "base" URL (i.e. my-site.pages.dev to my-other-site.pages.dev) - build previews on a dedicated domain via wildcard/etc.? i.e. use my custom domain for previews instead of the cloudflare URL...

500 Internal Server on javascript chunk file

I’ve been running into a issue with my production site hosted on Cloudflare Pages. Occasionally, the main JavaScript index chunk file (likely the main app chunk) fails to load, and I get a 500 Internal Server Error in the Network tab. The site gets stuck at 0% loading. This happens randomly and rarely, but it’s been reported by multiple users and I’ve reproduced it on different devices. Here’s what I’ve observed and tried so far: Using Next.js with SSG (Static Site Generation) with no server-side rendering or API routes....

_redirects is not working...

Hi, this is driving me crazy. I'm hosting an Angular app. I set up the _redirects file to redirect legacy routes to new ones and the file is correctly parsed (see the screenshot). But when I make a request using postman (<project>.pages.dev) to make sure the redirect is working properly on server-level, nothing happens, it continues to serve the index.html and I receive a HTTP 200 instead of 301. Anything I did wrong? Also, I'm not using Functions in this project....

Reaching CPU time limit when streaming AI responses

```ts export const runtime = "edge"; import { NextRequest, NextResponse } from 'next/server'; ...

Transfer domain reject

Hi, I transferred my domain to Cloudflare, but the process reject. Can I get a refund for the payment I made? Thank you.