Skip to content
Runtime

Terminals, SSH sessions and port forwards stay open when the API restarts

Previously, an API release closed every open terminal and tunnel. The API now moves each one to the instance that serves next: the server sends {"type":"restart"}, then a resume token, and closes the WebSocket with code 1012 (Service Restart). The JavaScript and Python SDKs, the CLI and the console reconnect with the token immediately and continue from the exact byte where they stopped, with nothing lost or sent twice. Clients that speak the WebSocket protocol directly can follow the same steps; see Resuming terminals and tunnels after a restart.

100 free hoursin your first 30 days.

of a 1 GB machine

  • No credit card
  • Four sandboxes at once, 2 vCPU and 4 GiB each
  • Then prepaid credit from $10, no plan fee
Start free, no card
Start free, no card