diegosouzapw/OmniRoute · error · Error
translateOrFallback("tailscaleLoginTimedOut", "Timed out…
Error message
translateOrFallback("tailscaleLoginTimedOut", "Timed out waiting for Tailscale login") What it means
Thrown when waitForTailscale's polling loop exhausts its attempts after the operator opened the Tailscale login URL without completing authentication; translateOrFallback('tailscaleLoginTimedOut', ...) tells the user the login window expired. A timeout, not an HTTP failure — every poll returned OK without success.
Solutions
- Increase the polling window or interval for slow logins
- Verify the login completed in the opened browser tab
- Retry the enable flow
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx:841 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Timeouts: ETIMEDOUT, deadlines, and hung requests — what actually expires when a request times out.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/64595ddbb24e056b.
Report an issue: GitHub.
Appendix: source
Thrown at src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx:841
throw new Error(
data?.error ||
translateOrFallback("tailscaleEnableFailed", "Failed to enable Tailscale Funnel")
);
}
if (data?.needsLogin && data?.authUrl) {
window.open(data.authUrl, "tailscale_auth", "width=680,height=780");
setTailscaleNotice({
type: "info",
message: translateOrFallback(
"tailscaleWaitingForLogin",
"Complete the Tailscale login in the opened browser tab. OmniRoute will retry automatically."
),
});
const loggedIn = await waitForTailscale((status) => status.loggedIn);
if (!loggedIn) {
throw new Error(
translateOrFallback("tailscaleLoginTimedOut", "Timed out waiting for Tailscale login")
);
}
({ res, data } = await requestTailscaleEnable({
sudoPassword: tailscalePassword || undefined,
}));
if (!res.ok) {
throw new Error(
data?.error ||
translateOrFallback("tailscaleEnableFailed", "Failed to enable Tailscale Funnel")
);
}
}
if (data?.funnelNotEnabled && data?.enableUrl) {
window.open(data.enableUrl, "tailscale_funnel", "width=680,height=780");
setTailscaleNotice({View on GitHub (pinned to a179ffed5b)