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

Has anyone solved this kind of error yet

Has anyone solved this kind of error yet? Would love ideas on what to try to get it working.

I'm having an issue with container

I'm having an issue with container configuration where instance_type setting isn't working: ```json "containers": [ {...

i just deployed a very first worker with

i just deployed a very first worker with container, but its been about 30 minutes, the instance status is stuck at inactive. is that normal?

Hasura

Hi, I am getting this error while trying to get Hasura running: Error checking if container is ready: connect(): Connection refused: container port not found. Make sure you exposed the port in your container definition....

Guys how do I access env vars set via

Guys how do I access env vars set via wrangler secret put <KEY> setting it this way ...

[ERROR] Making POST request to undefined/api/execute/

Attempting to run @cloudflare/sandbox, simply running: ``` const sandbox = getSandbox(env.SANDBOX, "sandbox-test"); const result = await sandbox.exec("ls", args ?? []);...

browser does see that it's an event-

browser does see that it's an event-stream, it does get the first event but then it does not do anything. the Docker container when ran in standolone mode, is working of course

How long should the containers take to

How long should the containers take to build during local development? I'm using one of the basic go examples and the built step takes ~1 minute. Is this normal?
=> [build 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -o /server 53.4s
=> [build 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -o /server 53.4s
...

Docker buildx support

Is there a way to use docker buildx with wrangler deploy? I had to create a custom builder for my environment via docker buildx create but wrangler is not using it.

any examples of a worker using hono +

any examples of a worker using hono + containers?

I don't quite understand what I did, but

I don't quite understand what I did, but I seem to have an endless series of timers that constantly respawn my dead containers when i wrangler deploy they all go inactive, but then they pop back up again, presumably because of the alarm triggers đź’€ (just wanted to flush some logs to R2 every 60s) ...
No description

hey all - i am updating from the alpha

hey all - i am updating from the alpha to the beta to be able to have some automagic building of our image for local development. should simplify a lot of our setup, but we're using the vite plugin, and i'm unclear on support here? the image doesn't show up in .wrangler after i spin up the app. if i use wrangler dev i do see it picks up on the container and tries to build it. i'm on: wrangler 4.21.2...

I'm pushing an update to an existing

I'm pushing an update to an existing container, I get a successful reply from wrangler containers push (though, it was suspiciously fast): `` ⛅️ wrangler 4.21.2 ─────────────────── ▲ [WARNING] 🚧 wrangler containers push` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose...
No description

Follow-up question - is there any good

Follow-up question - is there any good example of a simple websocket pass-through proxy for passing through websocket connections to a container?

Is there any flow which would permit

Is there any flow which would permit running an existing docker container image? I have a high-performance rust application that already has a working docker build. I would like to try to run this with limited modifications, as a spike test.

guys I am seeing coldboot times of up to

guys I am seeing coldboot times of up to 5m

I see this in the FAQ

I see this in the FAQ
Container cold starts can often be the 2-3 second range, but this is dependent on image size and code execution time, among other factors.
Is this an estimate based on a certain size container?...

@Mike Nomitch - Any suggestion with

@Mike Nomitch - Any suggestion with containers in regards to splitting video/audio conversion between containers and a vps? I heard 50mb or less for containers but I am curious your thoughts on what it can handle.

I'm trying to deploy just the hello-

I'm trying to deploy just the hello-containers example but on npm run dev it builds and hangs at Starting local server.... I can access the main page with listen endpoints but navigating to any of them results in 500 errors. All setup using defaults for that template. This is in WSL context.

The blog that announced containers are

The blog that announced containers are coming explicitly mentioned ffmpeg, but I can't see anyway of making this work. The compression example is the closest, but I don't even see how that would work when the response needs to fit inside 1MB? R2 bindings don't work with containers either, right? Is there any examples of ffmpeg to checkout?...