LiveOverflow / minecraft-hacked

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

another OpenSSL error... #14

Open HX7Q opened 2 years ago

HX7Q commented 2 years ago

When I run the code and attempt to connect to my proxy I get the following OpenSSL error. Seems I'm missing something but I've installed the necessary libraries so I'm not sure what's going on and I'm not finding much online

Auth failed: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('STORE routines', '', 'unregistered scheme'), ('STORE routines', '', 'unsupported'), ('STORE routines', '', 'unregistered scheme'), ('system library', '', ''), ('STORE routines', '', 'unregistered scheme'), ('STORE routines', '', 'unsupported'), ('STORE routines', '', 'unregistered scheme'), ('system library', '', ''), ('STORE routines', '', 'unregistered scheme'), ('STORE routines', '', 'unsupported'), ('STORE routines', '', 'unregistered scheme'), ('system library', '', ''), ('STORE routines', '', 'unregistered scheme'), ('STORE routines', '', 'unsupported'), ('SSL routines', '', 'certificate verify failed')]>]

gamingredpandas commented 2 years ago

The Proxy is telling the client it is an online server, but it needs to be an offline server to read and edit the packages. Adding online_mode = False to QuietDownstreamFactory (line 70) will fix this. I also made a pull request for it if you want to just download the changed file https://github.com/LiveOverflow/minecraft-hacked/pull/16