Skip to content

sandboxd error: status 500: failed to create network: Error response from daemon: already exists #181

@shaftoe

Description

@shaftoe

I'm not sure yet how to reproduce it but it seems that e.g. removing a running sandbox from the TUI prevents creating a new one:

~/git/sbx-template-pi [master|✔] ❯❯❯ sbx diagnose

sbx diagnose
─────────────────────────────────────────

  Installation
  ✓ CLI binary — found
      /opt/homebrew/Caskroom/sbx/0.31.0/bin/sbx
  ✓ Daemon — healthy
      version v0.31.0

  Connection
  ✓ Version match — v0.31.0

  Storage
  ✓ Storage directories — all 1 paths present
  ✓ Directory permissions — all writable

  Connection
  ✓ Socket — responsive
  ✓ Authentication — authenticated

─────────────────────────────────────────
  7 passed

~/git/sbx-template-pi [master|✔] ❯❯❯ sbx ls
No sandboxes found.
Launch one: sbx run claude

~/git/sbx-template-pi [master|✔] ❯❯❯ sbx run --debug --kit ./sbx-kits/pi-zai/ pi
Creating new sandbox 'pi-sbx-template-pi'...
ERROR: failed to create sandbox: create runtime: create runtime: sandboxd error: status 500: failed to create network: Error response from daemon: already exists

I'll update this issue if/when I understand how to reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions