Skip to content

[bug][otel]: OpenTelemetry gRPC exporter sends unencrypted data to HTTPS endpoint #6153

@haivanka

Description

@haivanka

What version of Codex is running?

0.53.0

What subscription do you have?

Business

Which model were you using?

gpt-5-codex

What platform is your computer?

No response

What issue are you seeing?

Regarding OpenTelemetry export, I observed plain HTTP traffic being sent to my gRPC OpenTelemetry endpoint (using Wireshark), even though my endpoint url explicitly mentions https.

This is related to open-telemetry/opentelemetry-rust#3182.

What steps can reproduce the bug?

  1. Set up a gRPC HTTPS endpoint in config.toml https://developers.openai.com/codex/security/#enable-otel-optin
  2. Run the Codex CLI
  3. Observe unecrypted outgoing traffic in Wireshark

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions