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

Secrets Store Secrets

Hi what is the right way to add secret store secrets when using a stateless setup (i.e. getRandom)? Since they are async I don't see how I can pass them in on container startup.

```js

```js const containerInstance = await getRandom( env.API_CONTAINER, INSTANCE_COUNT );...

Stop live Container instances (sandboxes)

I have 4 sandbox container instances that were created 5-10 hours ago that I did not cleanup at the time and now I'm trying to stop them. How can I do that, or is the only way to delete the container at the moment?

Yeah! If containers were colocated with

Yeah! If containers were colocated with R2 this would have been fine, but that doesn't seem to be the case, i did some benchmarking here: https://discord.com/channels/595317990191398933/1387061528016195684/1429929920150245436...

what API token permissions do I need to

what API token permissions do I need to set in order to deploy containers from github actions? we're getting 403 on https://api.cloudflare.com/client/v4/accounts/***/containers/me I used the "Edit Cloudflare Workers" token template and it's not working....

they don't have internet access do they

they don't have internet access do they? I thought the durable object has to handle that. That said the durable object does have access to those things so it can proxy them, but for things like downloading a file thats not really practical

Was in the BETA and now getting `The

Was in the private BETA and now getting The image registry does not exist. User account is linked to profile.

Works only with wrangler dev.. it’s

Works only with wrangler dev.. it’s alright

I’m experiencing the same issue —

I’m experiencing the same issue — everything works as expected in the development environment, but in production I’m getting a Container suddenly disconnected, try again error with status code 500, even though my container is actually responding with status code 409 or 201. The logs show that the service inside the container returns the correct status code. This issue occurs specifically on POST requests. Container App ID: a037b631-8b38-4ea3-9ca6-1c094184df54....

Containers custom build

so in the base containers config they simply reference a dockerfile like this: https://github.com/cloudflare/templates/blob/main/containers-template/wrangler.jsonc#L13 that's not ideal for my project because: 1. I want to build the containers myself...

And some notes from Claude to the

And some notes from Claude to the containers team
No description

Anything I'm doing obviously wrong? Just

Anything I'm doing obviously wrong? Just trying to deploy this containers repo: https://github.com/ghostwriternr/claude-code-containers It's not mine, but getting this error in the build on cloudflare https://dash.cloudflare.com/a3f6e70849e6eb5ca1ebaf6083bc84ba/workers/services/view/claude-code-containers/production/builds/e8a8b77c-ca11-4ddf-8439-a7c204bc4b69
{"url":"https://api.cloudflare.com/client/v4/accounts/a3f6e70849e6eb5ca1ebaf6083bc84ba/cloudchamber/me","status":401,"statusText":"Unauthorized","body":{"error":"Unauthorized: Account is not authorized"},"request":{"method":"GET","url":"/me","errors":{"401":"Unauthorized","500":"There has been an internal error"}},"name":"ApiError"}
{"url":"https://api.cloudflare.com/client/v4/accounts/a3f6e70849e6eb5ca1ebaf6083bc84ba/cloudchamber/me","status":401,"statusText":"Unauthorized","body":{"error":"Unauthorized: Account is not authorized"},"request":{"method":"GET","url":"/me","errors":{"401":"Unauthorized","500":"There has been an internal error"}},"name":"ApiError"}
...

I think people just want certainty over

I think people just want certainty over costs, I wouldn't expect CF to be cheapest, that's the different market full of naff providers with no redundancy that fake CPU cores and throw everything out over he.net/cogent, clarity over egress pricing would be a good start..

> we still won't be the cheapest spot to

we still won't be the cheapest spot to run a container
Is that the goal? šŸ™ If so (and with those announcements) moving off of AWS is looking very tempting 🤤...

My service is failing to respond with

My service is failing to respond with the error Container suddenly disconnected, try again being returned. When I look at the worker logs it shows a 500 error in the fetch but when I look at the container logs it shows it responded to the request with a 200 OK. Everything works perfectly running locally w/ wrangler dev but fails in production (though this same service did work yesterday).

So, I'll be having 3 services. One

So, I'll be having 3 services. One service will push data to Kafka, and another service will consume that data from Kafka. Is it possible to deploy all three services in one Cloudflare container?

Configuration

Are custom container instance types still up to date in docs? Tried setting according to here: https://developers.cloudflare.com/workers/wrangler/configuration/#custom-instance-types but getting a validate input error while deploying (have an enterprise account)
No description

I am trying to run a dev server and

I am trying to run a dev server and point wrangler to pull an image from cloudflare registry but run into an error - anyone know how to solve? ``` ∷ Building container images for local development... ...

Anyone seen this before when pushing - C...

hi @Mike Nomitch | Workers PM i'm getting: "The image registry does not exist" according to https://www.answeroverflow.com/m/1389977616509047009 you shared it's because the account was part of the private beta (which i my case it was)....

gruntlord is right - that Wrangler

gruntlord is right - that Wrangler version is older than when the Containers scope was added to the login command
Next