Skip to content

OpenAI provider headers timeout after 10000ms on 1.15.11; increasing headerTimeout fixes it #29548

Description

@rayborg

Description

After upgrading OpenCode via Homebrew from 1.14.28 to 1.15.11, requests using the OpenAI provider began failing with:

Provider response headers timed out after 10000ms

Increasing the OpenAI provider headerTimeout resolved the issue locally.

This looks like a regression or a default timeout that may be too aggressive for some OpenAI/ChatGPT-provider requests or network environments.

Plugins

No custom plugins involved in the repro.

OpenCode version

1.15.11

Installed via Homebrew.

Steps to reproduce

  1. Upgrade OpenCode from 1.14.28 to 1.15.11 via Homebrew.
  2. Use the OpenAI provider with gpt-5.5-fast / GPT-5.5 Fast.
  3. Run a normal request.
  4. Observe the request fail with:
Provider response headers timed out after 10000ms
  1. Add the following provider options to the global config:
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "openai": {
      "options": {
        "headerTimeout": 60000,
        "timeout": 600000,
        "chunkTimeout": 60000
      }
    }
  }
}
  1. Verify with opencode debug config that the options are loaded.
  2. Run the same request again.
  3. Observe that it succeeds after increasing headerTimeout.

Screenshot and/or share link

N/A. Relevant terminal error is included above.

Operating System

macOS, arm64

Terminal

zsh

Question

Is the 10000ms default intended for OpenAI/ChatGPT-provider requests in 1.15.11? It may be too low for some responses or network/proxy environments.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions