Python 3.13 / OpenSSL 3.5.5 crashes on Windows with OPENSSL_Uplink ... no OPENSSL_Applink when SSLKEYLOGFILE is set
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- python
- Domínio
- operating-systems, security
Direção de pesquisa
Comece reproduzindo a falha de SSLKEYLOGFILE no Windows com Python 3.13 e OpenSSL 3.5.5 durante a atividade HTTPS descrita; o relatório não nomeia nenhum arquivo de código-fonte nem teste do CPython. Considera-se concluído determinar se o CPython é responsável e garantir que o registro de chaves não aborte mais o processo, usando o cenário de modo público do ComfyUI Manager como validação.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 36k
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 558
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de python/cpython
-
docs pending
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
stdlib type-feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
stdlib type-feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
-
build type-bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
stdlib topic-email type-feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Todas as issues de python/cpython
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
bancolombia/sentinel#23 ·
-
test md AbertaCI
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100