SDK limitations
What the Tiltas SDKs do not do yet, and what to do instead.
The SDKs are in beta. This page lists what they do not do, so you can plan around it.
Not on the registries yet
go get tiltas.openpanel.sh/go, pip install tiltas and npm install tiltas work once the packages are published.
Until then, install from a build as each language's page shows.
Platforms
Prebuilt libraries for Python and Node.js: Linux x64 and arm64 with glibc 2.34 or newer, macOS 12 or newer on Apple
silicon and Intel, and Windows x64. Alpine and other musl systems have no prebuilt library: build one with
sdk/c/build.sh on that system and point TILTAS_LIBRARY at it. The Go package builds wherever Go 1.27.4 does.
A Device left behind after a crash
An ephemeral Server leaves the Network when it closes. A program that is killed without closing (kill -9, the
machine stops) leaves its Device behind, offline, until you remove it under Devices. It counts against your Device
allowance meanwhile. Handle SIGTERM as the examples do, so docker stop and process managers close it.
Hosting Services
- A Web Service can point at a program joined with the SDK: requests to
http://<service>/reach the program's port 80 on the Network. The console shows no health for it, because only the Tiltas app reports Service health. - TCP Services with their own address, and HTTPS for Web Services, need the Tiltas app on the Device that hosts them. Point them at a Device that runs the app, or call the program by its Device name and port instead.
Python and Node.js
- They listen and dial over TCP. UDP is in the Go package only.
listenhands connections to a port on127.0.0.1, which other programs on the same computer can reach.whoisrefuses any caller that did not come in over the Network; check callers with it.- One
Serverper process. A program that forks (gunicorn workers,multiprocessing) creates aServerin each worker, and each worker is a Device of its own.
Names outside the Network
Dial, dial, fetch and urlopen reach names and addresses outside the Network directly, from the computer, not
through the Network. The SDKs do not use exit nodes.
The Go package and upstream tsnet
The Go package builds against tailscale.com from the Go module proxy, the release the Tiltas engine is built from.
The SDK switches off its log upload, and the engine's build tags leave out the rest (see Go).
One difference stays: if your computer's DNS cannot resolve your Network's Coordinator, upstream code asks Tailscale's
public DNS fallback servers for it. The prebuilt Python and Node.js libraries are built from the Tiltas engine, which
has no such fallback.