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
Nniconiahi3/22/2024

hey guys! implementing a POC with

hey guys! implementing a POC with workerd by consuming a WASM file. I'm missing how to tell my .mjs entrypoint to basically proxy the request to the WASM binary (proxy request from one module to the other). Why? you may ask. Because this WASM binary is a Go webserver so it knows how to handle them. Can someone point me out in the right direction? I'll leave the files contents in a thread...
Jjack2/10/2024

At this stage - not looking for anything

At this stage - not looking for anything particularly exotic - a couple of hello worlds plus a bit of branched logic using KV store would suffice for now... just to understand how the capn proto config maps to workerd. Also, I'm unclear how workerd routes incoming requests to specific requests. The cap 'n proto example configs in the gh repo are all about binding to an ip:port whereas inbound requests to workerd are pretty much only going to be distinguishable based on their URI or URI path. I d...
Nniels71/19/2024

Is there something special you need to

Is there something special you need to do to get local Chrome DevTools profiling working properly? I'm trying the following (with wrangler 3.22.3): * wrangler dev -e test --port 8787 * push 'd' to open chrome devtools, which opens `https://devtools.devprod.cloudflare.dev/js_app?theme=systemPreferred&ws=127.0.0.1%3A9229%2Fws&domain=(REDACTED)&debugger=true * Confirm source files appear under "Sources" tab...
No description
EEezergoode12/27/2023

Hi everyone, hope your holidays are

Hi everyone, hope your holidays are going well! I'm building a worker that uses O2O to Shopify and I'm curious how I can debug this locally. I use fetch(request) which forwards the request on to the origin (Shopify) but locally it it won't know where the origin is. If I overwrite the url to fetch from Shopify it will hit my worker in production. How are others working around this w/ O2O?...
MMrBBot12/7/2023

Working on it as we speak 🙂 (https://

Working on it as we speak 🙂 (https://github.com/cloudflare/workers-sdk/tree/bcoll/vitest-pool-workers/packages/vitest-pool-workers) not quite ready for release yet but getting there. 🙂 Hoping to do an initial pre-release in the next few weeks, or early next year.
OCOscar Cuatrecasas11/30/2023

The 2nd one doesn't seem to affect

The 2nd one doesn't seem to affect anything, but the first one seems correlated to these logs for failed requests happening in production
No description
Jjed9/28/2022

https example

would it be possible to get an example of an https server (ie, with valid tlsOptions specified) in workerd?