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

Error 1101

Hi I am new on Cloudflare. And I got this Error 1101. I plan to remove my domain from cloudflare, its was setup by Inter from lovable.dev Wondering what is the best way to remove the domain properly. So I can use my domain again...

Domain Issue

earlier i changed hosting from vercel to cloudflare, how long would it take for my Domain to be available again?

Does Cloudflare email worker verifies SPF and DKIM?

Hey, I'm wondering if email worker verifies SPF/DKIM and checks DMARC policy before it runs email function. I've searched through documentation and I haven't found information about this. I know that in raw email body are full headers (including spf and dkim checks), do we have to check them ourselves?...

KV binding not working via wrangler.toml

kind of new to this so I'm certain that I'm doing something wrong, but here's my wrangler.toml: ```name = "dropshipdb-worker" main = "worker.js" ...

Is it possible to have a worker and a pages app on the same domain

I am making a website and want to host them on the same domain, ie the api on mydomain.com/api/* and the webapp on mydomain.com/*. I'm not sure if I can do this with two separate workers, but I imagine I could get something working by serving the webapp in the same worker as the backend. Not sure though, is there any good advice?

How to implement free of charge ping pong in cloudflare Durable Object Websocket

I want to implement ping pong in my DO websocket so it's possible to know when the client is offline, since the websocket alone does not tells that. But I want to avoid extra charge for each ping/pong. Cloudflare says pings are not charged. Consider the following:...

Discord HTTP Interactions Issue

I'm having this weird issue trying to make a bot with CF workers where my worker hangs on the fetch in this block: ``js export async function discordFetch(env, url, options) { options = options || {}; url = https://discord.com/api/v10/${url}`;...
No description

Workers Email Testing

Is there a good way of testing sending/receiving emails using Cloudflare Workers locally without deploying? If not, how can I test without deploying to prod?

have a HTML file hosted on R2 that shows the live file size of the bucket, updating every 24 hours

basically this on the R2 dashboard, but on a page anyone can visit to see the file size every 24 hours. it's all good if it's just a tiny embed of a worker URL reporting the filesize, i just wanna see if this is possible?...
No description

Cloudflare Workers Not Loading only in Auckland

Hi, I am having some trouble debugging a high Wall Time (30 seconds) then basically times out issue in backend calls ONLY from requests from Auckland, New Zealand. Happens to a fair proportion of Auckland visitors (10% or so) and never happens to any Sydney or other country connections. How can i find our more about where this potential issue arised from?...

Preview deployments non a thing with Assets?

With Pages I could just push to another branch and that got its own .pages.dev URL. Doing the same with Workers Assets doesn't give me such URL, so... how can I get a preview deployment?—say that of the dev branch

Not able to use @google-cloud/speech

I am not able to use @google-cloud/speech package when i import it and just initialize class like below import speech from '@google-cloud/speech' // Initialize Google Speech Client...

Unable to bind workers to each other locally when using @cloudflare/vite-plugin

I've been trying to do the work to move to the cloudflare vite plugin. I've got most of the way there, the only remaining issue is that I can't seem to use multiple workers together locally. My setup is - A React Router v7 app - An API worker...

I wanna deploy my remix app to cloudflare

I wanna deploy my remix app to cloudflare

Chain multiple Workers/DOs with RPC stub forwarding across Service Bindings

I'm trying to achieve the most of the performance I can get by the ecosystem in a situation where I need to bounce a request from an introduction worker to a deeply nested Service Binding DO in my architecture: Until now I've been using HTTP across all services passing requests over the fetch() handler: Introduction Worker (HTTP) -> Worker A (HTTP) -> Worker B (HTTP) -> Worker C (HTTP) -> Worker D (HTTP) -> DO (HTTP) What I'd like achieve is switching to RPC for testing performance and speed: ...

Build rust workers

Using the git integration it complains that cargo is not found. Is this a limitation of the git integration?

We keep getting "Verifying you are human" from within the Worker Edit code "preview" window.

Any solutions to disable this without disabling on the entire zone? Seems cloudflare is identifying their preview window as a bot?...

Receiving ratelimit errors, while not hitting rate limits.

Hello, I'm hosting a worker for some friends which we use for notifying us in discord channels if we have a turn waiting in Civilization 6. The worker receives a json, process some logic (chooses which server based on game name, which person to tag etc) and then calls a discord webhook to post a the message to. When posting to the discord webhook, i get a rate limit error 429 - error code: 1015 from (it looks like) cloudflare and not discord. ...

Deploy Issue

I am getting an issue when deploying my next.js project.