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

Is there any workarount to get Cron Triggers or bckground tasks to work on pages?

I'm very limited by pages for their 100second timeout and absence of queues, crons, etc. How does everyone deals with longer tasks on pages?...

How to remove wrangler.toml to unlock settings in web dashboard?

I originally posted this in the #pages-discussions channel before I realized this channel existed. I have a Cloudflare Pages project that uses Wrangler to run a function locally. I've recently Dockerized the project and since the function uses Hono, I can run that locally using a Node container, so I do not need Wrangler anymore. So I removed the wrangler.toml file and pushed to main, but I still see the tool tips in their web UI saying that configuration for the function and the environment variables is being handled by the wrangler.toml file....

VPN #vpn

guys , I want enable #VPN is customer use it 
 how can I fixe it ?

Does Cloudflare Pages support Next.js Client Side rendering with Next.js App Router?

Dumb question but, Is it compulsory to use this with @cloudflare/next-on-pages? ```ts export const runtime = "edge"; export const preferredRegion = "auto";...

Bun failing builds

I want to use bun to run my cloudflare builds however it fails every time and not sure why, this is my stack trace: ```bash 12:05:01.271 Cloning repository... 12:05:01.953 From https://github.com/jacobsamo/website 12:05:01.954 * branch e783baa52cc0afe5427458b8a143b9beb00a07f4 -> FETCH_HEAD...

Qwik deployement succeeded but gives error 404 on page

Hello ! I am trying to deploy my Qwik app using cloudflare and the log says it builds and uploads successfully but when I go to visit the site it gives me an error 404. I don't have any errors showing during build so i don't know where the problem is 😊 - pages.dev : https://ldav6.pages.dev/...

Deployment triggered on a really old PR

I'm curious if there's any way to diagnose why a particular closed, outdated PR from about a year ago suddenly triggered a deployment. https://github.com/ratatui-org/ratatui-website/pull/33 To the best of our understanding, nothing changed on this PR at all. There's nothing in the deployment logs about what triggered the deployment. It's possible that this comment is against the wrong PR (as the git hash aligns with the most recent main push). Perhaps this is a bug in the deployment?...

Error 403 LOCALHOST y Astro js

Hello, I would like to know if there is a way to get from localhost the files uploaded to R2, images, gifs or videos. I am developing my landing page and in localhost I get error, I already have the CORS configured with *, in production it works perfect but in local it does not and I need the images and videos because I apply effects with js and css.

Svelte Kit Environment vars pages

I am using @auth/svelte it use environment vars for AUTH_TRUST_HOST which needs to be true and some google secrets. These are picked up in dev locally but not getting in production. I have tried declaring them in wrangler.toml: [vars] AUTH_TRUST_HOST = true ...

How do I edit the default domain name?

When I host my site on github it will get a username.github.io/{reposirory name}. How do I get this type of name with pages.dev (ex: username.pages.dev/{project name})

Can't deploy middleware function | Qwik • Sentry

Hey ! I'm trying to implement Sentry on the server-side of my Qwik website. I didn't find any working exemples on the internet so i seeked for help on the Qwik and the Sentry Discord servers. I found something on the Qwik Discord that didn't worked, and the guy that answered ma at Sentry's redirected me to the @sentry/cloudflare package that didn't worked too 😊 I am now thinking that I missed something on the Cloudflare part. because the function is not deployed and I think it is not even detected at build time. I have defined my function like this : ...

Unexpected end of JSON ( How to use Durable Objects with next-on-pages? )

I am trying to use Durable Objects with next-on-pages. From my understanding, Durable Objects cannot be used directly with next-on-pages, they must be created in a separate worker and bound to that worker. I created a separate worker from the page and it now works on its own. However, when I call it with the page, I get an error. ```...

error plan from free to pro

I have upgraded to pro and the maximum number of PAGES upload limit is still 100. Can you help me because on the faq page, the maximum number of PAGES upload is 5000 per month. Thank you

Cloudflare Pages Error

Hey, I've noticed something wrong in Cloudflare Pages. Trying to deploy a new build from main branch, what took 42 seconds before (and successfully deployed), now is taking 32 minutes to a timeout error (obviously). Is there something wrong on my side, or is something wrong with Cloudflare Pages? ...

Unable to delete pages project

Hello there, I hope someone can help on this matter, when trying to delete a CF Pages project, I get an error with this message: An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH. (Code: 8000000) How can I delete my project via the dashboard?...

CloudFlare

I redirected the domain to Cloudflare and everything works, but the problem is that when I'm in Poland, it doesn't work and it shows a host error, while using a VPN in other countries it works. What’s going on? Do I need to wait longer?

Error 522 - Cloudflare pages

I have a 522 error but it appears that the web page has been active, I don't know what could be happening

Data renders locally but not on dev env via cloudflare pages

Hello everyone Has anyone ever experienced an error where the data shows fine on local host but deployed get status 200 but the data is nowhere to be found https://github.com/Jorgo55/newpages-for-freelancers ...