Skip to content

How to fix this sandbox error #31

@yunsuyunsu

Description

@yunsuyunsu

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

Metadata

Metadata

Assignees

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