OTLP HTTP: certifi default breaks TLS behind corporate SSL inspection on macOS/Windows
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- observability, security
Direzione di ricerca
Start from the default _build_transport() in the OTLP HTTP exporter, where verify=True makes requests use certifi, and from how OTEL_EXPORTER_OTLP_CERTIFICATE already overrides it. The open question is the design: an opt-in env var, scoped to the exporter, that uses OS trust on darwin and win32 only when no explicit certificate is set. Settle that design with maintainers before coding. Done means the opt-in works behind a TLS-inspecting proxy and the default behaviour is unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
AI Disclosure: AI generated Issue, human directed.
Is your feature request related to a problem?
OTLP HTTP export fails on macOS/Windows behind TLS inspection (e.g. Zscaler): SSLCertVerificationError: unable to get local issuer certificate, while browsers trust the same host.
Default _build_transport() uses verify=True, so requests validates with certifi, not the OS trust store where inspection roots usually live. OTEL_EXPORTER_OTLP_CERTIFICATE works but requires every dev to export a PEM.
Describe the solution you'd like
Opt-in env (e.g. OTEL_EXPORTER_OTLP_HTTP_USE_SYSTEM_TRUST) to build the default OTLP HTTP requests session with OS-backed TLS on darwin/win32 when no explicit cert env is set—scoped to the exporter only (e.g. truststore on an HTTPAdapter, not global ssl monkeypatching).
Describe alternatives you've considered
OTEL_EXPORTER_OTLP_CERTIFICATE/ custom PEM per machine- Custom
session=oropentelemetry_otlp_credential_provider(works; not discoverable for typicalOTLPSpanExporter/ Phoenix setups)
Additional Context
Repro: HTTPS collector (e.g. https://<host>/v1/traces) from a corp-inspected network. SDK opentelemetry-exporter-otlp-proto-http 1.45.2, Python 3.14, macOS.
Would you like to implement a fix?
Yes
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
- Lingua principale
- Python
- Stelle
- 2.7k
- Fork
- 1.1k
- Merge medio
- 3g 12h
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di open-telemetry/opentelemetry-python
-
References to Archived open-telemetry/otepsForse già presa @RjyavardhanSingh l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
open-telemetry/opentelemetry-python#5984 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Autoconfiguration rejects OTEL_EXPORTER_OTLP_PROTOCOL=http/jsonForse già presa @WendeelMarinho l’ha presa 2 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
open-telemetry/opentelemetry-python#5981 ·
I maintainer di solito rispondono entro 2 giorni
-
MeterProvider raises ValueError on empty or uppercase OTEL_METRICS_EXEMPLAR_FILTERForse già presa @bishalde l’ha presa 8 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
open-telemetry/opentelemetry-python#5948 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
W3CBaggagePropagator drops a list-member over 4096 bytes that W3C Baggage requires it to propagateForse già presa @codedbyadiiii l’ha presa 20 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
open-telemetry/opentelemetry-python#5913 ·
I maintainer di solito rispondono entro 2 giorni
-
otel.sdk.processor.{span,log}.queue.capacity uses synchronous UpDownCounter recorded once in __init__Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
open-telemetry/opentelemetry-python#5891 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di open-telemetry/opentelemetry-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug improve content
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
opensafely/documentation#2102 ·
I maintainer di solito rispondono entro 1 giorno
-
difficulty:1 documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
MakazhanAlpamys/Soup#3533 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
onyx-dot-app/onyx#18730 ·
I maintainer di solito rispondono entro 1 giorno