{"record":{"id":"d7da0266c8a1a775","repo":"langgenius/dify","slug":"timed-out-waiting-for-url-after-timeoutms-ms","errorCode":null,"errorMessage":"Timed out waiting for ${url} after ${timeoutMs}ms.","messagePattern":"Timed out waiting for (.+?) after (.+?)ms\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"e2e/support/process.ts","lineNumber":78,"sourceCode":"      const controller = new AbortController()\n      const timeout = setTimeout(() => controller.abort(), requestTimeoutMs)\n\n      try {\n        const response = await fetch(url, {\n          signal: controller.signal,\n        })\n        if (response.ok) return\n      } finally {\n        clearTimeout(timeout)\n      }\n    } catch {\n      // Keep polling until timeout.\n    }\n\n    await sleep(intervalMs)\n  }\n\n  throw new Error(`Timed out waiting for ${url} after ${timeoutMs}ms.`)\n}\n\nexport const startLoggedProcess = async ({\n  command,\n  args = [],\n  cwd,\n  env,\n  label,\n  logFilePath,\n}: ManagedProcessOptions): Promise<ManagedProcess> => {\n  await mkdir(dirname(logFilePath), { recursive: true })\n\n  const logStream = createWriteStream(logFilePath, { flags: 'w' })\n  const childProcess = spawn(command, args, {\n    cwd,\n    env: {\n      ...process.env,\n      ...env,","sourceCodeStart":60,"sourceCodeEnd":96,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/e2e/support/process.ts#L60-L96","documentation":"Error \"Timed out waiting for ${url} after ${timeoutMs}ms.\" thrown in langgenius/dify.","triggerScenarios":"Thrown at e2e/support/process.ts:78 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"}