NyaMisty / AltServer-Linux

AltServer for AltStore, but on-device
GNU Affero General Public License v3.0
946 stars 73 forks source link

Failed to handle request:Error in SSL handshake #70

Open huantianad opened 1 year ago

huantianad commented 1 year ago

When using altserver in server mode or using it to install an app, I'm getting this error:

Detected device:Phone
Starting notification connection to device: Phone
Sent wired server connection available response!
Started wired server connection!
Receiving request size...
Receiving 48 bytes...
parse anisette data ret
Represented Value: 201
Failed to handle request:Error in SSL handshake

iOS 15.1 NixOS Unstable

max-amb commented 11 months ago

Did you manage to fix this error? I am having the exact same error using NixOS 23.05

huantianad commented 11 months ago

Sorry, I haven't been using altstore for a while, so I haven't had any luck getting it to work on NixOS

max-amb commented 11 months ago

Ah, ok. I have sort of given up also, thanks for your reply anyway!

max-amb commented 11 months ago

I wrote a nix package which is currently in unstable so if you need it you could check it out, the fix for the ssl handshake bug was to run alt-server as root with a custom anisette server. Just putting that there for any internet traveler that may come this way!

theoparis commented 10 months ago

I'm having the same issue with a custom anisette server (https://github.com/Dadoum/Provision) and I even tried to install avahi-compat to fix libdns_sd.so not being loaded.

I also tried downloading the binary from github releases and I ran patchelf and it still errors about ssl handshakes... I'm about to buy an android phone at this point 😕

max-amb commented 10 months ago

Did you run it as root? Also, you do not need to run patchelf on the binary, as shown by the nixpkgs pr for this package!

LordRusk commented 3 months ago

i am running the server, and using a similar command to install IB2X. I get the same SSL handshake error whether or not the anisette -server is running. WHY IS THERE NO GOOD TUTORIAL FOR THIS ANYWHERE?