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

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.

Git Integration

Hi all. Trying to deploy a website to Pages through Git integration. It's a public repository that I'm a collaborator of, not the owner. However, it doesn't show the git repo on the dropdown list, so I'm guessing I need to be the owner? Unless there's something else obvious I'm missing....

Does @cloudflare/vite-plugin work with pages functions?

Does @cloudflare/vite-plugin work with pages functions? My repo is https://github.com/tmplabs/cloudflare-pages-vue and having difficulty making it work.

Question about reverse DNS

Hey everyone! I’m currently setting up my own mail server, and I’m trying to configure reverse DNS so I don’t get flagged as spam by Gmail/Outlook. My VPS provider keeps bouncing me around — first telling me to set the PTR record on my OVH DNS panel (where I bought the domain), then saying “nah actually, use Cloudflare instead”....

Is there a file amount limit (20k) during the build phase of Pages?

Does the 20k file limit throw during the build phase or only upon final output? I'm generating static HTML in the builder, which will soon output more than 20k HTML files, which I will transfer to R2 and delete in the local build before the build finishes. Will that work, or will Pages throw an error as soon as 20k files are in the build env?...

Specific error-token for WAF Block custom pages

Page: https://9a66421b.wafblock-dgf.pages.dev/ Error: no exactly an error. Hi, I want to create a custom page or custom error page for the WAF Block Category but I didnt find a specific error-token for this category, the only available are: ...

pages.dev and custom domain are not showing up despite successful deployment

I apologize that this is my first time trying to get a website hosted myself and a first time user of cloudflare. https://1e982d87.law-website.pages.dev alias: www.renesq.com account ID: a9dd0ae0b612c4b025921cc499f749c1 ...

Custom domain for preview builds?

I can set a custom domain on the project, I want to have a custom domain for my preview builds (to track dev/staging version of the site). On Workers this can be done using Routes. What are the options for pages? As opposed to just using .pages.dev domain...

Connecting to AI Agent on workers from Pages

New to CF platform but we have a nextjs app on pages and also a worker running hono + agents My question is whats the best way to connect to a client and stream from pages to workers All the examples I see don't show a baseurl option so I don't know if they assume the client will be connected as part of the backend or if I don't need to specify base urls and it''s something related to service bindings and configs?? ...

Plz support Pages Deployment by folder or zip

Current Page Deployment API (https://developers.cloudflare.com/api/resources/pages/subresources/projects/subresources/deployments/methods/create) only support deploy from Git repository, therefore, have to use wrangler for folder (like ./dist) deployment. Would you please support it officially? Thanks in advance!

need urgent advice on https://github.com/tmplabs/cloudflare-pages-vue .

This repo has a template code for page functions. I have configured @Cloudflare/vite-plugin to load the page functions on npm run dev but /api/healthcheck page function is not working. on npm run preview, hot reloading is not working. please help

CF beginner help

I could really use some pointers to info about the best ways to host static sites at CF. Is Pages the way to do it or did I hear they've been superceded? To start my learning I'm looking for the simplest way to do it. With old-school hosting I'd just FTP the files to the host. I already have the domain name at CF and the html & css files total a whole 1031 bytes....

GitHub integration issue

So the website told me I needed to refresh github perms and when I clicked it it stopped working at all. Could I be helped here, or should I ask elsewhere?

A way to get colo for pages?

I know for workers you can get the colo from the req object, but is there a way to get it for pages? Specifically I'm using next-on-pages.

4xx errors

Having quite a lot of 4xx on my Cloudflare page (the screenshot comes from Analytics & Logs > Account Analytics). Is this normal? Are these bots trying to find hidden directories/pages on my website or something is broken? Thanks!

Invalid name servers

Hello, I’m having an issue with my domain voxelune.com. The dashboard shows the following error: "Invalid name servers", and no data appears under security or unique visitors. I’ve checked the configuration but couldn’t find the cause of the error. Could you please help me resolve this issue so the domain works correctly? ...

cache-control header being stacked

i want everything to be cached for 5 minutes but static assets (_astro) to be cached for longer but cloudflare is stacking them _headers ```/_astro/* Cache-Control: public, max-age=86400 ...

hot reloading in pages functions

I have been trying to build an Vue app using pages function. How do I get hotloading for Vue app working in this. wrangler pages dev does not seem to be supporting hot reloading. If I use vite then pages function is not working. Anyone got this working? #page-functions...