LiveOverflow / minecraft-hacked

Minecraft:Hacked is a video series exploring various technical areas of Minecraft.
210 stars 11 forks source link

Querry: OpenSSL.SSL.Error #1

Closed MajliTech closed 1 year ago

MajliTech commented 2 years ago

Auth failed: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]>]

FriwiDev commented 2 years ago

Disable online mode

LiveOverflow commented 2 years ago

Since I started working on the videos the Mojang account migration has begun. Moving away from Mojang accounts to Microsoft accounts. This could cause some issues, but most likely the error you encountered is due to not using the proxy in offline mode (connecting to an offline server)

fizzrepo commented 2 years ago

This issue is to do with Windows support in quarry or one of it's dependencies. Someone managed to fix it by installing the windows subsystem for Linux, but I ran it in a docker environment on my Ubuntu VPS and it worked well. Edit: I believe the issue is that it's trying to communicate with mojangs https Auth servers, but there is no ssl certificate in the library it's using.

cbat98 commented 2 years ago

i managed to get it to work by chaning the QuietDownstreamFactory in the main python file to contain more information about the proxy server. Specifically, adding this line online_mode = False

cbat98 commented 2 years ago

Obviously I don't have write access to this repo, but I can confirm that making the change shown in the screenshot allows this to work on a local hosted server image