Skip to content

[Bug]: Cluster node sandbox routing fails - OrchestratorIP overwritten with empty string #1763

Description

@alansyang

Sandbox ID or Build ID

No response

Environment

infra== 2026.03

Timestamp of the issue

2026-01-23 01:47 UTC+8

Frequency

Happens every time

Expected behavior

The sandbox should be accessible via Client Proxy. The catalog should contain the correct OrchestratorIP value obtained from the Edge Proxy's OrchestratorsPool.

Actual behavior

The OrchestratorIP in Redis catalog is an empty string, causing:

  • catalogResolution() returns ""
  • Client Proxy constructs invalid URL: http://:5007
  • All HTTP/WebSocket requests to cluster sandboxes fail

Issue reproduction

Steps to reproduce the behavior:

  • Deploy E2B infrastructure with a cluster/edge setup (non-Nomad managed nodes)
  • Create a sandbox on a cluster node
  • Attempt to access the sandbox via Client Proxy
  • Request fails because the routing URL becomes http://:5007 (invalid)

Additional context

Image

packages/client-proxy/internal/proxy/proxy.go#L43-L44

The current architecture has Edge Proxy correctly handling this, but the API Service's redundant write breaks it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions