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

justhost email issues

Hi Cloudfare team I have a Justhost account and created an email address for my domain www.redmarketingfirm.com Email address is [email protected]...
No description

My Pages is out of date

I have an old Cloudflare Pages. Seems like it's still running with NodeJS 12. This error shows up in the build logs. ``` wanted: {"node":">=16"} (current: {"node":"12.18.0","npm":"6.14.4"})...

Error 404 with Cloudflare Hosting

Hey, I registered my domain with the german registrar "STRATO" and I am hosting it with Cloudflare. Only recently my domain is no longer avaliable and throughs the ERROR 404. I didn´t upload a website to the hosting yet. Usualy, the domain showed me something like "This domain is hosted by Cloudflare but now, that is no longer the case. How can I fix the problem? Thank you in advance and best regards...

Can i time my form submission?

I am using sveltekit with Cloudflare pages. I have a form where the user could submit some large image files. Is it possible to time how long the form takes to submit, completely on server side?

SvelteKit - Failed to load resource: the server responded with a status of 500 ()

I have done some changes to my app, and since then I get this error message on CF Pages. Failed to load resource: the server responded with a status of 500 () - cart:1 Sadly on Pages, I'm not seeing any error message, so I"m unsure where's the problem, or how I can troubleshoot it. ...

I need support but I don't even understand the problem to describe it

I'm not a dev, I'm a body modification artist. I've had a wordpress based website through 123reg for about 12 years. On Jan 21st I tried to view my website, the theme and layout was there but no pages. A few of the pages were displaying page versions from 4 years ago which must be in a backup somewhere i guess? I cant even google this because I dont know what I'm googling. I've never seen this in 12 years of web editing. 17th Nov i started using cloudflare for the security certificate so I can take payments via my site. It has been totally fine until now. I dont know if its a wordpress update that's messed it up? There's no rollback options for wordpress versions, that i know of. 123reg customer support say they cant do anything because it would need to be resolved through cloudflare. I have logs if someone can look please. I'm completely stumped and I'm usually ok with this for a non-dev. Thanks...
No description

Deployment failure logs

I'm getting failed deployments in the Cloudflare dashboard, despite my GitHub action deployment succeeding and no errors in the GH action logs. Are there any other logs to see?
No description

Server Side Rendering of templates Cloudflare Pages without ‘node:fs’

Hi guys, I am trying to get a templating setup, using Mustache. Mustache however to render files on the server side requires the use of node:fs core module. Workers, however, is limited in what node modules it can support, according to - https://github.com/cloudflare/workers-sdk/issues/3430#issuecomment-1589351536. So Mustache templates cannot be read on the server side using node:fs Here is my problem, I want to have several HTML templates & partials, in many separate files that I want to render on the server side (using workers). Then send it to the front end....

Uncaught ReferenceError: HTMLElement is not defined

I am trying to do Server Side Rendering using import {render} from '@lit-labs/ssr'; and import {html} from 'lit'; I am doing this by importing the libraries inside the /functions folder. But I get the error below. ```✘ [ERROR] service core:user:start-project: Uncaught ReferenceError: HTMLElement is not defined...

CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder

Hey folks, I'm trying to run a wasm file compiled by emscripten on CF workers. It's working fine locally, but when I try it in production I get: ```...

Custom domain status "Inactive (Error)" but DNS works

I am trying to add a custom domain (name.com as registrar) to my Pages deployment (https://www-oshevtsov-com-astrojs.pages.dev/, accountID: f95aca84f876132db3862fbcef501666). The DNS works and I can reach the webpage via the domain name (https://oshevtsov.com), but the "Custom domains" tab says the domain status is "Inactive (Error)". Do you know what is wrong here? Thank you 🙂 Similar issue answered before: https://discord.com/channels/595317990191398933/1163787758087721002...

Manual uploading of a Next.js project to Cloudflare Pages is encountering issues.

I attempted to host my Node.js project on Cloudflare Pages using Git integration initially, and the deployment was successful. However, due to the nature of my repository, I opted for manual upload on Cloudflare Pages instead. While the deployment itself was successful, the application is now unresponsive. Does anyone faced this issue before when using manual upload method.

How do I add a mta-sts text file to a https://mta-sts.example.com/.well-known/mta-sts.txt

I was able to add /.well-known/mta-sts.txt to the public directory of my Cloudflare Workers project and going to example.com/.well-known/mta-sts.txt loads the .txt file that the google admin is expecting. My main problem right now is how to I handle the mta-sts subdomain that the mta-sts that google admin is looking for. How do I make https://mta-sts.example.com/.well-known/mta-sts.txt return the same document that https://example.com/.well-known/mta-sts.txt currently returns in a way that satisfies the mta-sts check. I currently have a CNAME in the DNS records for this domain on cloudflare with the following properties. But it is still failing the google admin check. Also I followed the procedures in this documentation, the the response from this default worker is not the exact same response that google admin is expecting. https://developers.cloudflare.com/email-routing/setup/mta-sts/ ...

Error: Exit with error code: 1

Hi, I have an error I am trying to fix on multiple projects, pretty weird 🥲 . Deployment ID : a134533e-ac9d-401d-a20a-34123f0e89ce...

GoHighLevel don't work with proxied DNS Records, but I need it for some Page Rules

Hi Coomunity! I have a problem with GoHighLevel. If a put my A & CNAME record into proxy mode, GoHighLevel's webpage don't work ("Too many redirects" error). Because this I switched to "DNS only" mode, however can't use my URL Forwarding / URL redirects which are needed for my website because I need multi-level redirects (GoHighLevel don't support these "complex" type of redirects). Anyone had encounter with this problem? How can I resolve it?...

Unable to access any website with cloudfire bot verification

hi, i m only a regular web surfer, i brought a new laoptop and each time i meet a website with your bot verification, when i check the box to verify i m huan, i stay stuck there, i end in a loop, always have to check again and again the ' i am human' verification, what it could be? i m using windows 11 family, up to date, laptop Katana 17 B12V model, with google crhome up to date.

What is the difference between preview and production builds ?

Is the support and availability the same, or are there differences ?

ERR_SSL_VERSION_OR_CIPHER_MISMATCH on pages preview deployments for recreated project

https://64649e61.j-along.pages.dev/ deployment id: 64649e61-afec-4ba2-b90a-5e9b1c42af95 account id: ae2d29b38aa7fa96f9f1b2e9f0bb882f error: ERR_SSL_VERSION_OR_CIPHER_MISMATCH ...

Where do I store SQL migrations in my Pages app's repo?

I am interested to start a new project using Pages but I want to use D1 in this Pages app. I've gone ahead and setup my basic Pages repo where I have a /site directory where I keep my frontend and is what is built when I run npm run build to the /dist directory. And I have my /functions directory which is of course where I am storing my backend API. I am wondering if I should use a /sql directory to house the SQL and migrations? Or should this be kept in a different repo?...

what us the best way to speed the cloudflare dns routing

Our api response time is around 10-15ms. But this same api with a domain cloudflare routing become 200-350ms. How can we speed up the routing time