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

CORS problem

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015. (Reason: CORS request did not succeed). Status code: (null). None of the “sha512” hashes in the integrity attribute match the content of the subresource. The computed hash is “z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==”. What does THIS mean/imply?...

Error 1014 and instability

Hello, i've been noticing some instabilities today regarding my pages websites, they seem to have network errors and sometimes requests get blocked. While doing some tests i noticed that i got a somewhat scary error 1014 (left a picture) so i'm wondering what the issue might be. (all the CNAME are owned by me so i'm not sure why i'm getting this error) Pages url: https://asm-editor.pages.dev/...
No description

"Add an A, AAAA, or CNAME record for your root domain so that my-site.com will resolve."

When I try to go to my website, https://my-site.com, it gives me "DNS_PROBE_FINISHED_NXDOMAIN". This is odd, because it was working before I added a subdomain called "games". I want my root domain to show the same page that's like "my-site.pages.dev"...
No description

How to redirect to the specific page if the route was not found?

Hey folksđź‘‹ I'm using static HTML files and deploying them from a Git repo. If a user opens non-existent pages, I want to redirect them to 404.html. How can I do this? I haven't found any mention of this in the documentation.

Delete a pages project

It returns 524, indicating a timeout / problem with my server. But there is no server, just a pages project.

Querying pages functions logs

Hi đź‘‹ I'm using SvelteKit with Cloudflare Pages. I'm using Sentry (via toucan js) for error handling/alerting. I'd like to be able to view and query pages logs, not just tail live....

Upload Cloudfare Pages from Google Drive Folder using n8n worflows. How can I do it?

Hi everyone, I'm looking to automate the deployment of a website to Cloudflare Pages using files stored in a Google Drive folder. I work with n8n. Has anyone set up a similar workflow, and if so, could you share some tips or a step-by-step guide on how to achieve this? Any advice on best practices or potential pitfalls would be greatly appreciated. Thanks!...

Nuxt deployment 1101: "Script will never generate a response"

I have attempted to deploy a Nuxt SSR application using cloudflare and although the build is successful and local testing works, the deployed page on cloudflare produces a 1101 error. I did a trace log on the page which produced the attached response.

Next Pages 1101 Error Logs

I have recently just published a Page for a Nuxt SSR application. The build is successful and deploys. When I access the page, I get the dreaded 1101 error page. This page does not show my details, as I expected, but I realize there are no runtime logs accessible to see what errors are occuring. How is one supposed to debug these 1101's without logs or any feedback as to what's happening under the hood?...

Pages usage multiple accounts

I'm currently evaluating whether and how to use Cloudflare Pages to host our customers websites. To that point I'm not sure how Cloudflare handles its limits. For example, am I allowed to create a separate account per customer/domain? That would effectively "circumvent" limits imposed per account and might break the Cloudflare Self-Serve Subscription Agreement, as I understand it. But I could not find a definitive answer....

Sentry fronted problem

I have remix project on cloudflare pages linked with worker I initialized sentry in pages via :https://docs.sentry.io/platforms/javascript/guides/cloudflare/ But its seems working only for backend not for front. What could be the issue?...

Update pages github account after transfering page from account to organization

I transfered my page from my personal github account to its own organization, after this i wanted to update the cloudflare page to point to the new organization so i get to keep the pages.dev and the old deployments, but it seems that there is no option to do so Creating a new page with the new github integration would mean not having the same pages.dev url and if i were to delete the old page, and make the new one to keep pages.dev then the old deploys would disappear I just want to update the github origin without losing anything else...

Next.js + Cloudflare pages functions

I tried it myself but was a nightmare to work with, is there any guide or github repo i can follow to make it work?

Missing Content-Security-Policy & Permissions-Policy Headers on Cloudflare Pages Deployment

Hi everyone, I'm experiencing an issue where my Content-Security-Policy (CSP) and Permissions-Policy headers are not being applied correctly when deploying my site on Cloudflare Pages. (https://securityheaders.com/?q=dashio.net&followRedirects=on) Context:...

Running into CPU time limits

Any free/cheap way around this? I have an API route that uses an library that needs to do some crypto-related stuff (generate random RSA keys, uses sha256 etc.), and I believe this is causing the page to (sometimes) go over the limit. Any advice?

How to genenrate a toml-suffix wrangler file when use npm create cloudflare

When I used npm create cloudflare, the wrangler in the project I created was always JSON suffix, and I needed to configure something to generate a toml-suffix file when using the default script

You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0"

can somebody help me with that... I am using the latest nodejs version
v23.7.0
v23.7.0
I've tried everything I could possibly find lol I am trying to deploy a nextjs project to cloudflare pages...

Reccomended Way To Run Npx Wrangler Pages Dev with preview/production env vars?

My Wrangler toml is configured correctly with preview and production enviromnent variables as described by the documentation here https://developers.cloudflare.com/pages/functions/wrangler-configuration/. However, I am unsure of how to run the development server with different environment variables other than [vars] -- which are the only ones injected by saying 'npx wrangler pages dev out/' Asked perplexity and got the use of a non-existent flag '--env'....

I need to change my name servers so that elk-pickleball.com can connect correctly to the Wix site.

I need to change my name servers so that elk-pickleball.com can connect correctly to the Wix site. Please update the name server records for this domain to: ns2.wixdns.net ns3.wixdns.net...
Next