cloudflare / cloudflare/developer-platform

Sandboxes & Wrangler: network connection lost

Abierto
#52 9 comentarios 2 reacciones 2 asignados Reclamado por @gabivlj Ver en GitHub
product:containers product:sandboxes
Lenguaje dominante
Sin datos de lenguaje
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.