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 with Proxy = "The page isn’t redirecting properly"

When using "Set up custom domain" it automatically creates a record in Cloudflare DNS, and it enables Cloudflare Proxy on that record. This seems like a good idea, and is an expected result. But it doesn't work. It leads to "The page isn’t redirecting properly". And I really don't understand why. But disabling Proxy makes it work....

Error: Pages only supports files up to 26.2 MB in size

I got this error when deploying my nextjs app with pages. I think it's related to server-rendered pages on my app. Is this correct? Should I have a different setup for server-rendered content?
No description

Internal server error with static images

We have a Next on Pages project which includes some static assets in the project codebase. Those assets should be served staticly, but many times after deployments those files will throw internal server errors. For example: https://yeahgummy.webbers.dev/images/avocado.png https://yeahgummy.webbers.dev/images/potje2.png...
No description

_routes.json not being honoured

As explained in title, my deployment is successful in the sense that the _worker.js file is uploaded along with all my static assets. But, for some reason, the rules defined in _routes.json file is not being honoured. This is what my _routes.json file looks like: ```json { "version": 1,...
No description

How can I view the `wrangler pages deploy` build output, or check the size limit being hit?

When I do wrangler pages deploy ... I get a generic "This deployment failed" error. I'm pretty sure I've hit the build size limit (using _worker.js for SSR, so it's girthy), but I don't know for sure how large the build is or what's in it. Is there a way to get wrangler to output the build somewhere I can poke around, or see the actual size of the build?

SSL error on subdomain.

My frontend is hosted on Vercel, and my backend on a VPS. I declared the VPS IP in the DNS, and it has a certificate. My site with the "Complete" option works perfectly, but my subdomain, where my API is located, is blocked even though the certificate is correctly set up.
No description

Can't Connect Github to Cloudflare Pages

try to connect my github to cloudflare pages. it already said 'configure' when i want to connect it (which usually means it is connected already) but i kept getting this error: API Request Failed: POST /api/v4/accounts/a104610a788ba040cf2e55c719cad54c/pages/connections/github (504) and that said github organization / account is not connected....

Cannot setup a domain for Pages project

Pages custom domain setup asks me to transfer DNS management, but the domain is already managed by CF
No description

Deployed Page Could Not Be Found

I did notice that there's an incident. Maybe it's the incident that affected my deployed page? https://www.cloudflarestatus.com/incidents/p1mjftm6t6c8...
No description

Deployment failed, no other information

Hey folks, I'm trying to deploy my Pages app and getting a strange failure. When I deploy via command line or Git Action, it succeeds. But when I check the deployment in my dashboard, it says "Failed" and there's no other information that I can find about the failure. When I visit the site, there is a connection timeout reported. Any ideas?...
No description

Pricing / subscription unclear

At https://pages.cloudflare.com/ there are clear pricing options. However at the moment Workers & Pages are shown as 1 in the CF dashboard and the pricing plans there are very different. We want to upgrade to have concurrent CF pages builds, but I cannot find out where to do this....

Pages DNS cache with prior 301

We have switched createiq.tech's apex domain to use Cloudflare Pages, but this is still returning a cached 301 from the origin: ``` $ curl -i 'https://createiq.tech' HTTP/1.1 301 Moved Permanently...

`TypeError: This WritableStream has been closed` due to use of Buffer?

I came across this issue on pages: https://discord.com/channels/595317990191398933/1066524365333729350 ✘ [ERROR] TypeError: This WritableStream has been closed. I suspect it is due to the use of node:buffer (I set the node compatibility flag). It does seemingly not cause any issues and the site seems to work fine. But it definitely feels uneasy....
No description

Does node-postgres work on pages?

I'm trying to set up drizzle ORM with node-postgres on my SvelteKit pages application and get build errors about lack of support for some node imports. I've tried both nodejs_compat and node_compat, but the same issues persist....
No description

Cloudflare IP

I am developing a new minecraft server, and I am in charge of figuring out the IP issues. As of right now, as can not setup our IP as cloudflare owns it. I have never used cloudflare before this, and am attempting to find a way to buy it.
No description

Typesense search breaks the app when refreshing the page.

This error only shows up when I refresh the page that contains a search. When navigating to the page, it does not throw error.
Has anyone successfully implemented typesense search on cloudflare pages? I am using sveltekit for your reference....
No description

functions in a Nuxt 3 app

i have a fairy simple site with a registration form and a function endpoint to append rows to a google sheet (a bit complicated the google auth with the cf workers not supporting the googleapis library) but my issue is that the function works locally using "npx wrangler pages dev -- npm run build" but when deployed it seams to not find the route and return the layout site. loaction is /functions/sheetappend.js
No description

Error: Dynamic require of \"node:buffer\" is not supported

I added amazon SES to my SvelteKit pages application and it deploys perfectly fine, but when visiting the deployment URL it throws a 500 internal error. The logs return this message: Error: Dynamic require of \"node:buffer\" is not supported I have the nodejs_compat flag already added...

Cannot Delete Project

Receiving this error while trying to set up a static site deployment:
A project already exists for this repository. To use the desired respository, delete this project. Then make a new project and connect it to the desired repository.
There is no mention of WHERE to delete the project. I cannot find any project established anywhere in my Cloudflare dashboard....