{"record":{"id":"44fd9a5b7037a8c5","repo":"diegosouzapw/OmniRoute","slug":"cannot-connect-to-this-displayname-at-this-co","errorCode":null,"errorMessage":"Cannot connect to ${this.displayName} at ${this.config.baseUrl}: ${healthy.error}","messagePattern":"Cannot connect to (.+?) at (.+?): (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/lib/memory/genericBackend.ts","lineNumber":154,"sourceCode":"  readonly id: string;\n  readonly displayName: string;\n\n  private config: GenericBackendConfig;\n  private initialized = false;\n\n  constructor(id: string, displayName: string, config: GenericBackendConfig) {\n    this.id = id;\n    this.displayName = displayName;\n    this.config = {\n      timeout: 30000,\n      ...config,\n    };\n  }\n\n  async initialize(): Promise<void> {\n    const healthy = await this.health();\n    if (!healthy.ok) {\n      throw new Error(\n        `Cannot connect to ${this.displayName} at ${this.config.baseUrl}: ${healthy.error}`\n      );\n    }\n    this.initialized = true;\n    log.info(\"generic.backend.initialized\", { id: this.id, baseUrl: this.config.baseUrl });\n  }\n\n  private getEndpoints() {\n    return {\n      search: this.config.endpoints?.search ?? \"/memories/search\",\n      create: this.config.endpoints?.create ?? \"/memories\",\n      list: this.config.endpoints?.list ?? \"/memories\",\n      get: this.config.endpoints?.get ?? \"/memories/{id}\",\n      update: this.config.endpoints?.update ?? \"/memories/{id}\",\n      delete: this.config.endpoints?.delete ?? \"/memories/{id}\",\n      health: this.config.endpoints?.health ?? \"/health\",\n    };\n  }","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/memory/genericBackend.ts#L136-L172","documentation":"Error \"Cannot connect to ${this.displayName} at ${this.config.baseUrl}: ${healthy.error}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/memory/genericBackend.ts:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}