Add workaround for occasional SSL errors
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Esamina la logica di download nell'installer, probabilmente in un file che gestisce le chiamate aria2c. Il problema menziona una bypass SSL esistente per le query su macOS; individua quel codice per comprenderne il modello. Controlla come vengono trasformati gli URL e dove viene invocato aria2c. I test richiederanno la simulazione di errori SSL o la verifica con gli utenti che li riscontrano.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We occasionally get users who cannot download using our installer using Aria2c, with a
SSL/TLS handshake failure: Error: The revocation function was unable to check revocation because the revocation server was offline.
Most recently, a Windows user reported this issue, who had no problem with installing ch1-3, but only on ch4 had this issue. Interestingly the installer will only show a warning on startup, despite not being able to download from the https of 07th-mod server, and startup will take a very long time. But the installer will still continue anyway.
See https://07th-mod.com/wiki/Installer/faq/#download-or-init-stage-fails-i-get-a-ssltls-handshake-failure-from-aria2c for more details
Usually, they can still download via their browser (and I'm unsure as to why).
There are a couple of workarounds for this:
- Implement https://github.com/07th-mod/python-patcher/issues/188 - download manually, but install automatically option, then let the user manually download all the files.
- The downside of this option is the user still needs to manually manage/download all the files
- Add an option to disable SSL (transform all https:// links to http://). This is already done for the 'query' stage on MacOS to bypass some MacOS SSL errors on old MacOS, but not for the actual download portion to ensure the download is still secure.
- This is generally a bad idea but still an option.
- Use a different download tool than Aria2c/add different tool as fallback
- From memory, this issue only affects Aria2c and not other download tools, but I would need to verify this
- Lingua principale
- JavaScript
- Stelle
- 214
- Fork
- 12
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 07th-mod/python-patcher
-
SSL/TLS Errors Index PageAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
07th-mod/python-patcher#214 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
07th-mod/python-patcher#193 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
07th-mod/python-patcher#137 ·
-
enhancement help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
07th-mod/python-patcher#83 ·
-
Missing cert on Fedora LinuxAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
07th-mod/python-patcher#80 · 11 commenti ·
Tutte le issue di 07th-mod/python-patcher
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
curriculum documentation quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
githubnext/gh-aw-workshop#3897 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno