open-telemetry/opentelemetry-java

OkHttpHttpSender should support COMPATIBLE_TLS connectionSpec

Open

#7,573 opened on Aug 15, 2025

View on GitHub
 (12 comments) (0 reactions) (0 assignees)Java (1,005 forks)auto 404
Feature Requesthelp wanted

Repository metrics

Stars
 (2,433 stars)
PR merge metrics
 (PR metrics pending)

Description

Is your feature request related to a problem? Please describe. The OkHttp based exporter can only export to https:// endpoints that meet the requirements of the OkHttp MODERN_TLS ConnectionSpec.

Describe the solution you'd like the OkHttpHttpSender should support the COMPATIBLE_TLS ConnectionSpec (possibly via a config switch)

Describe alternatives you've considered A custom ExporterSender, but hits on #6718

Additional context Certain WebSphere 8.x systems (java 1.8) running on AIX platforms (for example) cannot export to https:// endpoints. The J9 1.8 JVMs cannot satisfy the requirements of OkHttp MODERN_TLS and there is no available otel-collector for AIX to handle a http://localhost type setup.

Contributor guide