cloudflare / cloudflare/developer-platform

Sandboxes & Wrangler: network connection lost

Open
#52 9 comments 2 reactions 2 assignees Claimed by @gabivlj View on GitHub
product:containers product:sandboxes
Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### What versions & operating system are you using?

```
System:
OS: macOS 26.3.1
CPU: (11) arm64 Apple M3 Pro
Memory: 7.69 GB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.13.1 - /Users/gregoiremielle/.asdf/installs/nodejs/22.13.1/bin/node
Yarn: 1.22.19 - /Users/gregoiremielle/.asdf/shims/yarn
npm: 10.9.2 - /Users/gregoiremielle/.asdf/plugins/nodejs/shims/npm
pnpm: 10.29.3 - /opt/homebrew/bin/pnpm
Watchman: 2025.10.27.00 - /opt/homebrew/bin/watchman
```

Wrangler version: 4.75.0

### Please provide a link to a minimal reproduction

https://github.com/cloudflare/sandbox-sdk/tree/main/examples/minimal

### Describe the Bug

I'm currently experimenting with Cloudflare sandboxes locally using the [official getting started guide](https://developers.cloudflare.com/sandbox/get-started/).

However, I keep running into issues where I cannot reach the running container using: `curl http://localhost:8787/file`.

I can see that the Docker image is correctly built but when started with Podman, the container instantly stops with the following logs in it:
```
Fatal error: setsockoptint: protocol not available
```

The wrangler logs indicate the following:
```
✘ [ERROR] Uncaught Error: Network connection lost.
✘ [ERROR] {"level":"error","msg":"Sandbox error","component":"sandbox-do","sandboxId":"956c961ef88df70def610f2cd9516c93fa320dd26a1bd2f96fdf7530b45af31a","traceId":"tr_a0a30473c5534867","timestamp":"2026-03-19T07:47:01.085Z","error":{"message":"Monitoring container failed with: 404 {\"cause\":\"no such container\",\"message\":\"no such container\",\"response\":404}\n","stack":"Error: Monitoring container failed with: 404 {\"cause\":\"no such container\",\"message\":\"no such container\",\"response\":404}\n","name":"Error"}}
```

### Please provide any relevant error logs

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.