Python 3.13 / OpenSSL 3.5.5 crashes on Windows with OPENSSL_Uplink ... no OPENSSL_Applink when SSLKEYLOGFILE is set
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo el fallo de SSLKEYLOGFILE en Windows con Python 3.13 y OpenSSL 3.5.5 durante la actividad HTTPS descrita; el informe no menciona ningún archivo de código fuente ni ninguna prueba de CPython. Se considerará terminado determinar si CPython es responsable y garantizar que el registro de claves ya no aborte el proceso, usando como validación el escenario de modo público de ComfyUI Manager.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- operating-systems, security
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100