diegosouzapw/OmniRoute · error
[STARTUP] Auto-refresh daemon failed to start (non-fatal):
Error message
[STARTUP] Auto-refresh daemon failed to start (non-fatal):
What it means
Startup warning (non-fatal): one of the parallel background daemons in the bootstrap Promise.allSettled-style block — auto-refresh (or a sibling like the embedded-services/WS-proxy starters sharing the pattern) — rejected during dynamic import or init. The message distinguishes which subsystem failed; boot proceeds.
Solutions
- Check the daemon init error in logs
- Restart the process
- Manually re-authenticate connections as a stopgap
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/instrumentation-node.ts:557 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/e9f6622a89fccc0d.
Report an issue: GitHub.
Appendix: source
Thrown at src/instrumentation-node.ts:557
console.log("[STARTUP] Embedded services bootstrap complete");
})
.catch((err: unknown) => {
const msg = err instanceof Error ? err.message : String(err);
console.warn("[STARTUP] Embedded services bootstrap failed (non-fatal):", msg);
}),
import("@/lib/services/embedWsProxy")
.then((m) => m.initEmbedWsProxy())
.catch((err: unknown) => {
const msg = err instanceof Error ? err.message : String(err);
console.warn("[STARTUP] Embed WS proxy failed to start (non-fatal):", msg);
}),
import("@omniroute/open-sse/services/autoRefreshDaemon")
.then((m) => m.autoRefreshDaemon.start())
.catch((err: unknown) => {
const msg = err instanceof Error ? err.message : String(err);
console.warn("[STARTUP] Auto-refresh daemon failed to start (non-fatal):", msg);
}),
// Conductor bridge (PRD Conductor RF1): mirrors OmniConductor hub tasks into the
// A2A TaskManager via the hub SSE. Opt-in — self-gated on CONDUCTOR_HUB_URL.
import("@/lib/conductor/boot").then((m) => {
if (m.initConductorBridge()) console.log("[STARTUP] Conductor bridge started");
}).catch((err: unknown) => {
const msg = err instanceof Error ? err.message : String(err);
console.warn("[STARTUP] Conductor bridge failed to start (non-fatal):", msg);
}),
// Proactive connection-cooldown recovery (#8): re-validate connections whose
// transient `rate_limited_until` window has elapsed OUTSIDE the request hot path,
// so the first request after a cooldown does not pay the probe latency.
import("@/lib/quota/connectionRecovery")
.then((m) => m.initConnectionRecoveryScheduler())
.catch((err: unknown) => {
const msg = err instanceof Error ? err.message : String(err);View on GitHub (pinned to a179ffed5b)