{"record":{"id":"a344bf8028b05373","repo":"deepseek-ai/deepseek-harness","slug":"transport-failure-for-path-http-response-sta","errorCode":null,"errorMessage":"transport failure for ${path}: HTTP ${response.status}","messagePattern":"transport failure for (.+?): HTTP (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/host/apiproxy/src/fetch/client.ts","lineNumber":324,"sourceCode":"   */\n  private async postJson(\n    path: string,\n    body: ClientRequest | ClientResponse,\n    signal: AbortSignal | undefined,\n    timeoutPolicy: UnaryTimeoutPolicy = 'default',\n  ): Promise<Response> {\n    const requestSignal = timeoutPolicy === 'default'\n      ? signal === undefined\n        ? AbortSignal.timeout(this.timeoutMs)\n        : AbortSignal.any([AbortSignal.timeout(this.timeoutMs), signal])\n      : signal\n    const response = await this.doFetch(new URL(path, this.resolveBase()), {\n      method: 'POST',\n      headers: { 'content-type': 'application/json' },\n      body: JSON.stringify(body),\n      ...requestSignal === undefined ? {} : { signal: requestSignal },\n    })\n    if (!response.ok) throw new Error(`transport failure for ${path}: HTTP ${response.status}`)\n    return response\n  }\n\n  /**\n   * Unary protocol path: mint → tap → POST full form → envelope parse → verify\n   * echo → value parse → tap → narrow. Virtual so a fake carrier (fixture) can\n   * override transport at this layer.\n   */\n  protected async callUnary<K extends keyof RpcMethodMap>(\n    method: K,\n    payload: RequestPayload<K>,\n    signal?: AbortSignal,\n    timeoutPolicy: UnaryTimeoutPolicy = 'default',\n  ): Promise<RpcResponse<ResponseValue<K>>> {\n    const message: ClientRequest = { type: 'client-request', rpcId: this.mintRpcId(), method, payload }\n    this.onEnvelope(message)\n    const response = await this.postJson(`/api/${method}`, message, signal, timeoutPolicy)\n    const full = serverResponseSchema.parse(await response.json())","sourceCodeStart":306,"sourceCodeEnd":342,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/host/apiproxy/src/fetch/client.ts#L306-L342","documentation":"Error \"transport failure for ${path}: HTTP ${response.status}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/host/apiproxy/src/fetch/client.ts:324 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":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}