LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithsandbox_exceptionsSandboxConnectTimeoutError
Class●Since v0.10

SandboxConnectTimeoutError

Copy
SandboxConnectTimeoutError()

Bases

SandboxConnectionError
View source on GitHub

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

Distinct from its parent because it is safely retryable: the execute frame was never sent, so re-issuing the same command_id cannot double-run a command. run() retries this with backoff; a plain SandboxConnectionError (a rejected handshake) is permanent and propagates immediately.