Add workaround for occasional SSL errors
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
Piste de recherche
Examinez la logique de téléchargement dans l'installateur, probablement dans un fichier gérant les appels aria2c. Le problème mentionne un contournement SSL existant pour les requêtes sur macOS ; trouvez ce code pour comprendre le modèle. Vérifiez comment les URL sont transformées et où aria2c est invoqué. Les tests nécessiteront de simuler des erreurs SSL ou de vérifier auprès des utilisateurs qui les rencontrent.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- JavaScript
- Étoiles
- 214
- Forks
- 12
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de 07th-mod/python-patcher
-
SSL/TLS Errors Index PageOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
07th-mod/python-patcher#214 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
07th-mod/python-patcher#193 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
07th-mod/python-patcher#137 ·
-
enhancement help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
07th-mod/python-patcher#83 ·
-
Missing cert on Fedora LinuxOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
07th-mod/python-patcher#80 · 11 commentaires ·
Toutes les issues de 07th-mod/python-patcher
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
solana-foundation/solana-com#2202 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
yegor256/copyrights-action#216 ·
-
[BUG] onScroll never refreshes the window container's height after a vertical-only viewport resizeOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
juliangarnier/anime#1192 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
PedestrianDynamics/pyFDS-Evac#226 ·
Les mainteneurs répondent en général sous 1 jour