{"record":{"id":"849df804e8d61a86","repo":"langgenius/dify","slug":"timed-out-waiting-for-description-after-timeo","errorCode":null,"errorMessage":"Timed out waiting for ${description} after ${timeoutMs}ms.","messagePattern":"Timed out waiting for (.+?) after (.+?)ms\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"e2e/scripts/common.ts","lineNumber":249,"sourceCode":"  check,\n  description,\n  intervalMs,\n  timeoutMs,\n}: {\n  check: () => Promise<boolean> | boolean\n  description: string\n  intervalMs: number\n  timeoutMs: number\n}) => {\n  const deadline = Date.now() + timeoutMs\n\n  while (Date.now() < deadline) {\n    if (await check()) return\n\n    await sleep(intervalMs)\n  }\n\n  throw new Error(`Timed out waiting for ${description} after ${timeoutMs}ms.`)\n}\n\nexport const isTcpPortReachable = async (host: string, port: number, timeoutMs = 1_000) => {\n  return await new Promise<boolean>((resolve) => {\n    const socket = net.createConnection({\n      host,\n      port,\n    })\n\n    const finish = (result: boolean) => {\n      socket.removeAllListeners()\n      socket.destroy()\n      resolve(result)\n    }\n\n    socket.setTimeout(timeoutMs)\n    socket.once('connect', () => finish(true))\n    socket.once('timeout', () => finish(false))","sourceCodeStart":231,"sourceCodeEnd":267,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/e2e/scripts/common.ts#L231-L267","documentation":"Error \"Timed out waiting for ${description} after ${timeoutMs}ms.\" thrown in langgenius/dify.","triggerScenarios":"Thrown at e2e/scripts/common.ts:249 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":"ef8544b173fd6cd7a8e71df2cab576e52bebbfbc","analyzedAt":"2026-08-12T05:15:17.394Z","schemaVersion":2},"datasetVersion":"2026-08-12T13:17:24.610Z"}