Getting "Failed to create session: 500" when trying to start containers
Hi! I'm trying to use Cloudflare Containers with the @cloudflare/sandbox SDK but getting a
"Failed to create session: 500" error when my Worker tries to start a container.
What's working:
- wrangler deploy succeeds ✓
- Container image builds and pushes successfully ✓
- Container application registered (Application ID: a033a220-ac81-4d51-8105-0427956c4828) ✓
- Worker code runs fine ✓
What's failing:
- When I call sandbox.writeFile() or any sandbox operation, it fails with:
Job failed: Failed to create session: 500
- The sandbox handle is created successfully, but the actual container won't start
0 Replies