Skylark Hub
Skylark Hub

Skylark SDK on this machine: troubleshooting

What to do when the Skylark SDK won't start, stays on "Loading models", refuses your key or your camera, and the files, ports and limits behind it.

This page is for the SDK you start from the Hub, described in Run the Skylark SDK on this machine. Find your symptom below; the wording matches what hubctl and the Library show. Where a fix needs a terminal on a desktop machine, hubctl is installed with the Linux desktop Hub.

First look

hubctl sdk status            # active? URL? AI: ok / down / degraded
sudo hubctl sdk logs -n 100  # the SDK and the AI server, most recent last
curl -s http://127.0.0.1:8092/healthz

On the desktop Hub, Stopped with an error on the card has a See what happened link, and with developer mode on, the Logs page shows the same log.

Starting

Models and the AI

Calls from your code

Machine

Reference

Files, services and ports

The SDK program/usr/lib/skylark-sdk/skylark-sdk, from the skylark-sdk package
The running SDKsystemd unit kepler-ai-sdk.service, created on start, gone on stop
Kepler AI/opt/kepler-ai-<profile> and kepler-ai-<profile>.service, where <profile> is jetson, workstation or hailo
Activation/etc/skylark/license.json
Downloaded modelsKepler AI's own models folder, owned by its kepler user
Temporary uploads/var/cache/kepler-ai-sdk, cleaned by the SDK
API127.0.0.1:8092 (--listen changes it)
AI server50053, used by the SDK on the same machine
Logssudo hubctl sdk logs, or sudo journalctl -u kepler-ai-sdk

Limits on a device

MeteringNone. Responses keep a credits block: cost counts frames, costMicros is 0, remaining is unlimited.
Requests in flightA handful at a time per machine; the rest queue.
Camera streams4 at once; 24 hours each at most; stopped after a couple of minutes without a reader.
Video filesAs in the cloud: a job you poll, frames with timestamps back.
ModelsThe catalog's five models, loaded on this machine's accelerator.

Still stuck?

Raise a support ticket with the output of hubctl sdk status --json, hubctl doctor and sudo hubctl sdk logs -n 200, and say what you called and what came back.