Client or integration
Codex CLI
Area
Streaming
Summary
Native openai / gpt-6-astra requests intermittently terminate with a logged 502 and upstream_server_error on an existing locally patched 2.35.0 installation. Successful requests also occur regularly. The available usage and in-memory request-log rows do not retain a detailed upstream error for the sampled failures, so they cannot distinguish an upstream failure from an OCX transport/relay failure.
This is an investigation report, not a claim that current dev has a reproduced Astra regression or that account entitlement is missing.
Reproduction
Intermittently observed during ordinary native Astra sessions on the running proxy; a deterministic synthetic reproduction has not yet been established.
Read-only log inspection of a sample ending 2026-09-05 at approximately 11:41 UTC found 1,256 successful Astra rows and 41 failed rows in the preceding 24-hour window. Failed rows have status=502, terminalStatus=failed, and closeReason=terminal. Recent failure attempts use openai-responses, sendCount=1, streamAborted=true, and no recorded recovery kinds. Some failures have a first-output timestamp, others do not. First-output absence is not proof that the upstream did no work.
The service health endpoint remains OK. No settings were changed, debug logging enabled, paid probe sent, or process restarted during this inspection.
Version
Running runtime reports 2.35.0 and contains local patches, including Astra catalog support. This is not an unmodified published-package reproduction. Current dev was separately inspected at ebad8ebfff8b29f7d5b67c65e8b4a3abd27e72d1; the observed failures have NOT been reproduced on that revision.
Operating system
Linux x86_64, kernel 6.8.0-139-generic
Provider and model
openai / gpt-6-astra, ChatGPT-forward native path
Logs or error output
status: 502
errorCode: upstream_server_error
terminalStatus: failed
closeReason: terminal
attempt.adapter: openai-responses
attempt.sendCount: 1
attempt.streamAborted: true
attempt.recoveryKinds: []
detailed upstream error: unavailable in inspected rows
Screenshots and supporting files
Only aggregate and fixed diagnostic fields are shared. Prompts, response contents, account labels, request identifiers, tokens and session data are omitted.
Redacted configuration
Native forward route; Astra is already present in the local catalog. No catalog, auth, retry or service configuration change is proposed from these observations alone.
Checks
Additional context
#3384 / #3389 discuss a related mid-stream reset symptom on different providers, but equivalence is not established. #3643 has since landed transport changes on dev; it is not evidence that these older local failures are fixed. Do not enable blanket replay: a missing first-output timestamp does not make a sent request safe to execute again. Next evidence should bind a sanitized close/error category to the precise transport and revision, followed by a deterministic regression before any retry-policy change.
Client or integration
Codex CLI
Area
Streaming
Summary
Native
openai / gpt-6-astrarequests intermittently terminate with a logged 502 andupstream_server_erroron an existing locally patched 2.35.0 installation. Successful requests also occur regularly. The available usage and in-memory request-log rows do not retain a detailed upstream error for the sampled failures, so they cannot distinguish an upstream failure from an OCX transport/relay failure.This is an investigation report, not a claim that current
devhas a reproduced Astra regression or that account entitlement is missing.Reproduction
Intermittently observed during ordinary native Astra sessions on the running proxy; a deterministic synthetic reproduction has not yet been established.
Read-only log inspection of a sample ending 2026-09-05 at approximately 11:41 UTC found 1,256 successful Astra rows and 41 failed rows in the preceding 24-hour window. Failed rows have
status=502,terminalStatus=failed, andcloseReason=terminal. Recent failure attempts useopenai-responses,sendCount=1,streamAborted=true, and no recorded recovery kinds. Some failures have a first-output timestamp, others do not. First-output absence is not proof that the upstream did no work.The service health endpoint remains OK. No settings were changed, debug logging enabled, paid probe sent, or process restarted during this inspection.
Version
Running runtime reports 2.35.0 and contains local patches, including Astra catalog support. This is not an unmodified published-package reproduction. Current
devwas separately inspected atebad8ebfff8b29f7d5b67c65e8b4a3abd27e72d1; the observed failures have NOT been reproduced on that revision.Operating system
Linux x86_64, kernel 6.8.0-139-generic
Provider and model
openai / gpt-6-astra, ChatGPT-forward native path
Logs or error output
Screenshots and supporting files
Only aggregate and fixed diagnostic fields are shared. Prompts, response contents, account labels, request identifiers, tokens and session data are omitted.
Redacted configuration
Native forward route; Astra is already present in the local catalog. No catalog, auth, retry or service configuration change is proposed from these observations alone.
Checks
Additional context
#3384 / #3389 discuss a related mid-stream reset symptom on different providers, but equivalence is not established. #3643 has since landed transport changes on
dev; it is not evidence that these older local failures are fixed. Do not enable blanket replay: a missing first-output timestamp does not make a sent request safe to execute again. Next evidence should bind a sanitized close/error category to the precise transport and revision, followed by a deterministic regression before any retry-policy change.