Docker build issues in environments with SSL/TLS inspection
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Inizia dal comando cfn submit e dal percorso build-container che installa le dipendenze Python con pip. Il lavoro è completo quando un flag opt-in passa le impostazioni trusted-host richieste durante l’installazione delle dipendenze, mantenendo il comportamento attuale per impostazione predefinita; nell’issue non sono indicati file o test specifici.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 107
- Fork
- 46
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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.
Altre issue di aws-cloudformation/cloudformation-cli-python-plugin
-
Support UV Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Repo alive? Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
aws-cloudformation/cloudformation-cli-python-plugin#270 · 1 commento · 1 reazione ·
-
Improve docstrings for Hooks Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws-cloudformation/cloudformation-cli-python-plugin#268 · 1 commento · 2 reazioni ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws-cloudformation/cloudformation-cli-python-plugin#264 · 1 commento ·
Tutte le issue di aws-cloudformation/cloudformation-cli-python-plugin
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
triage/confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
agentscope-ai/agentscope#2775 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
comp/desktop P3 type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
NousResearch/hermes-agent#118866 ·