Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for occasional SSL errors #189

Open
drojf opened this issue Dec 9, 2022 · 1 comment
Open

Add workaround for occasional SSL errors #189

drojf opened this issue Dec 9, 2022 · 1 comment

Comments

@drojf
Copy link
Collaborator

drojf commented Dec 9, 2022

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 Add 'Download manually, but install automatically' option #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
@drojf
Copy link
Collaborator Author

drojf commented Dec 30, 2022

Someone else reported this issue who had AVG antivirus Avast installed (original reporter had AVG antivirus installed).

I did googling and found this minecraft issue: https://bugs.mojang.com/browse/MCL-5546 where the result was "incompatible software". There is a list of incompatible software, which states that AVG causes "download issues": https://minecrafthopper.net/help/known-incompatible-software/

I'm going to try to ask the user to uninstall AVG using their own tool: https://www.avg.com/en-au/avg-remover#pc , then restart their computer and see if it fixes it.

That webpage suggests malwarebytes, so presumably malwarebytes has been vetted as not causing too many problems for Minecraft. We could recommend malwarebytes for users who must have some sort of antivirus installed.

edit: user was using avast, not AVG, so not sure about this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant