diegosouzapw/OmniRoute · error · Error
Cannot connect to ${this.displayName} at ${this.config.baseU
Error message
Cannot connect to ${this.displayName} at ${this.config.baseUrl}: ${healthy.error} What it means
Error "Cannot connect to ${this.displayName} at ${this.config.baseUrl}: ${healthy.error}" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/memory/genericBackend.ts:154
readonly id: string;
readonly displayName: string;
private config: GenericBackendConfig;
private initialized = false;
constructor(id: string, displayName: string, config: GenericBackendConfig) {
this.id = id;
this.displayName = displayName;
this.config = {
timeout: 30000,
...config,
};
}
async initialize(): Promise<void> {
const healthy = await this.health();
if (!healthy.ok) {
throw new Error(
`Cannot connect to ${this.displayName} at ${this.config.baseUrl}: ${healthy.error}`
);
}
this.initialized = true;
log.info("generic.backend.initialized", { id: this.id, baseUrl: this.config.baseUrl });
}
private getEndpoints() {
return {
search: this.config.endpoints?.search ?? "/memories/search",
create: this.config.endpoints?.create ?? "/memories",
list: this.config.endpoints?.list ?? "/memories",
get: this.config.endpoints?.get ?? "/memories/{id}",
update: this.config.endpoints?.update ?? "/memories/{id}",
delete: this.config.endpoints?.delete ?? "/memories/{id}",
health: this.config.endpoints?.health ?? "/health",
};
}View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/lib/memory/genericBackend.ts:154 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/44fd9a5b7037a8c5.
Report an issue: GitHub.