Docker build issues in environments with SSL/TLS inspection
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 38/100
Direção de pesquisa
Comece pelo comando cfn submit e pelo caminho build-container que instala dependências Python com pip. Considere concluído quando uma flag opt-in passar as configurações trusted-host solicitadas durante a instalação das dependências, preservando o comportamento atual por padrão; o issue não especifica arquivos nem testes específicos.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Recently when working on a project where I was building a custom hook on behalf of my customer, I ran into issues firstly with not being able to see the error coming from the build container (as referenced in #250). After finally discovering the error, it turned out to be SSL errors being encountered during the attempt to install dependencies with pip:
connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)
Upon further inspection, the build environment has TLS inspection enabled and a self-signed certificate is inserted in the chain. The only way to make installations work in this environment outside of using an authenticated pull-through proxy, is by using --trusted-host xxxxxxxx flags with pip.
I'd like to open this is a potential feature request where a new flag could be submitted along with the cfn submit that would allow for the following flags to be submitted along with the rest of the requisite defaults:
--trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org
The flag to be submitted could look something like cfn submit --trust-self-signed-certs or cfn sub --dry-run --trust-self-signed-certs
- Linguagem predominante
- Python
- Estrelas
- 107
- Forks
- 46
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
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 aws-cloudformation/cloudformation-cli-python-plugin
-
Support UVAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Repo alive?Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
aws-cloudformation/cloudformation-cli-python-plugin#270 · 1 comentário · 1 reação ·
-
Improve docstrings for HooksAberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
aws-cloudformation/cloudformation-cli-python-plugin#268 · 1 comentário · 2 reações ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
aws-cloudformation/cloudformation-cli-python-plugin#264 · 1 comentário ·
Todas as issues de aws-cloudformation/cloudformation-cli-python-plugin
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
spec-kitty/spec-kitty#5319 ·
Mantenedores costumam responder em até 1 dia
-
backend::vllm diffusion multimodal
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
openai/openai-agents-python#5229 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia