diegosouzapw/OmniRoute · error · Error

tailscaled did not become ready

Error message

tailscaled did not become ready

What it means

Error "tailscaled did not become ready" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/tailscaleTunnel.ts:614

    throw new Error("Sudo password required to start tailscaled");
  }

  setCachedPassword(password);
  await ensureTailscaleDir();

  const command = [
    `mkdir -p ${shellEscape(getTailscaleDir())}`,
    `nohup ${shellEscape(daemonBinary)} --socket=${shellEscape(getTailscaleSocketPath())} --statedir=${shellEscape(getTailscaleDir())} >> ${shellEscape(getLogFilePath())} 2>&1 & echo $! > ${shellEscape(getPidFilePath())}`,
  ].join(" && ");

  await runSudoShell(command, password);
  await sleep(3000);

  // Re-probe socket after starting
  invalidateSocketCache();

  if (!(await getLiveStatusPayload(resolution.binaryPath))) {
    throw new Error("tailscaled did not become ready");
  }

  const pid = await readPidFile();
  await updateStateFile({
    binaryPath: resolution.binaryPath,
    installSource: resolution.installSource,
    daemonPid: pid,
    lastError: null,
  });

  return { started: true };
}

export async function startTailscaleLogin({
  hostname,
}: {
  hostname?: string;
} = {}): Promise<TailscaleLoginResult> {

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/tailscaleTunnel.ts:614 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/e2fabff9bd579b26. Report an issue: GitHub.