{"record":{"id":"e6394f108c280b79","repo":"paperclipai/paperclip","slug":"cloudflare-sandbox-bridge-request-timed-out-after","errorCode":null,"errorMessage":"Cloudflare sandbox bridge request timed out after ${requestTimeoutMs}ms.","messagePattern":"Cloudflare sandbox bridge request timed out after (.+?)ms\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts","lineNumber":136,"sourceCode":"    });\n    const body = await parseJson(response);\n    if (!response.ok) {\n      const errorBody = isRecord(body) ? body as BridgeErrorBody : {};\n      throw new CloudflareBridgeError({\n        status: response.status,\n        code: typeof errorBody.error === \"string\" ? errorBody.error : null,\n        message:\n          typeof errorBody.message === \"string\" && errorBody.message.trim().length > 0\n            ? errorBody.message\n            : `Cloudflare sandbox bridge request failed with HTTP ${response.status}.`,\n        details: errorBody.details,\n      });\n    }\n    return body as T;\n  } catch (error) {\n    if (error instanceof CloudflareBridgeError) throw error;\n    if ((error as { name?: string } | null)?.name === \"AbortError\") {\n      throw new Error(\n        `Cloudflare sandbox bridge request timed out after ${requestTimeoutMs}ms.`,\n      );\n    }\n    throw error;\n  } finally {\n    clearTimeout(timeout);\n  }\n}\n\nasync function requestResponse(\n  config: CloudflareDriverConfig,\n  path: string,\n  init: RequestInit,\n  extraHeaders: BridgeClientHeaders = {},\n): Promise<Response> {\n  const controller = new AbortController();\n  const requestTimeoutMs = resolveRequestTimeoutMs(config, path, init);\n  const timeout = setTimeout(() => controller.abort(), requestTimeoutMs);","sourceCodeStart":118,"sourceCodeEnd":154,"githubUrl":"https://github.com/paperclipai/paperclip/blob/120ae5428fa29bee300bcf806491cd4d965fbb7c/packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts#L118-L154","documentation":"Error \"Cloudflare sandbox bridge request timed out after ${requestTimeoutMs}ms.\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts:136 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Increase the request timeout or check bridge/network health; retry the request."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"120ae5428fa29bee300bcf806491cd4d965fbb7c","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}