# SandboxConnectTimeoutError

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_exceptions/SandboxConnectTimeoutError)

Raised when the socket fails or times out before the WebSocket handshake.

The execute frame was never sent, so re-issuing the same command ID cannot
double-run a command.

## Signature

```python
SandboxConnectTimeoutError(
    self,
    message: str,
    *,
    retry_after: Optional[float] = None,
)
```

## Extends

- `SandboxRetryableConnectionError`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19d52419f47c93ca2c57a0d51c58d255f5949092/python/langsmith/sandbox/_exceptions.py#L63)