Skip to content

Getting 404 errors when connecting to paused sandboxes #899

@emclaughlin215

Description

@emclaughlin215

Describe the bug
When resuming a sandbox using .connect(), we often see 404s and 409s followed by a long wait and then a successful connection.

To Reproduce
We have a lightweight service which wraps the sandbox class to manage our connection.

Image

This is implemented in a few places where we want to either create a new sandbox or connect to an existing one which may or may not be paused.

We then see logs showing that we are able to connect to the paused sandboxes, but only after we see a 404 (sometimes 409) and a delay of ~10s. Presumably this is due to the sandbox waking up.

Image

Expected behavior
We connect to a paused sandbox, it takes some time (hopefully not 10s) and then we have access to the sandbox.

Metadata

Metadata

Assignees

No one assigned

    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