Python 3.13 / OpenSSL 3.5.5 crashes on Windows with OPENSSL_Uplink ... no OPENSSL_Applink when SSLKEYLOGFILE is set
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 35.9k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
Bug report
Bug description:
Title: Python 3.13 / OpenSSL 3.5.5 crashes on Windows with OPENSSL_Uplink ... no OPENSSL_Applink when SSLKEYLOGFILE is set
Environment:
- OS: Windows
- Python: 3.13.12, 64-bit
- OpenSSL: OpenSSL 3.5.5 27 Jan 2026
- Application: ComfyUI Desktop / ComfyUI Manager
- GPU: NVIDIA RTX 3060
Problem:
When SSLKEYLOGFILE is set, Python exits immediately during HTTPS/network activity with:
OPENSSL_Uplink(...): no OPENSSL_Applink
There is no Python traceback because the process aborts in native OpenSSL code.
Reproduction:
- Set an environment variable:
SSLKEYLOGFILE=E:\AI\Apps\Wireshark\sslkeys.log
- Start ComfyUI with Manager public/network mode enabled.
- During ComfyUI-Manager startup network/cache fetches, Python exits with:
OPENSSL_Uplink(...): no OPENSSL_Applink
Observed:
The process exits with code 1. No Python exception is raised.
Expected:
Setting SSLKEYLOGFILE should enable TLS key logging or fail gracefully, not abort the Python process.
Investigation:
import sslworks.import aiohttp.resolverworks.import requests,urllib3,github, andhuggingface_hubwork.- ComfyUI runs in offline mode.
- ComfyUI Manager public mode crashes during online cache/network fetching.
- ProcMon showed access to
E:\AI\Apps\Wireshark\sslkeys.logimmediately before the crash. - Clearing the environment variable fixes the issue:
set SSLKEYLOGFILE=
After removing SSLKEYLOGFILE, ComfyUI Manager starts successfully in public mode.
Workaround:
Remove SSLKEYLOGFILE from User/System environment variables.
Question:
Is this a known issue with Python 3.13 / OpenSSL 3.5.x on Windows when TLS key logging is enabled?
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Guida per i contributori
Apri 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.
Direzione di ricerca
Inizia riproducendo il problema di SSLKEYLOGFILE su Windows con Python 3.13 e OpenSSL 3.5.5 durante l’attività HTTPS descritta; il report non indica alcun file del codice sorgente né alcun test di CPython. Il lavoro sarà completato quando sarà determinato se CPython è responsabile e sarà garantito che la registrazione delle chiavi non interrompa più il processo, usando come validazione lo scenario in modalità pubblica di ComfyUI Manager.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- operating-systems, security
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100