e2b-dev / e2b-dev/open-computer-use

How to fix this sandbox error

Open
#31 0 comments 0 reactions 1 assignee View on GitHub

@mishushakov is already working on this.

Since May 16, 2025.

Dominant language
Python
Stars
2.3k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

When I run the original code, an error, 'Sandbox' has no attribute 'stream', comes out, so I change the code
sandbox.stream.start()
vnc_url = sandbox.stream.get_url()
to
vnc_url = sandbox.start_stream()
which seams right.

But Another error 'ConnectTimeout' comes out, which seams an connection error to the e2b sandbox API. Then I print out the sandbox client URL 'https://api.e2b.app/sandboxes', and I cannot ping to it from my local computer. But I can access to the e2b web 'https://e2b.dev/'. Dose this error caused by the wrong 'URL'? I cannot find where to change it

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.