NyaMisty / AltServer-Linux

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

Unable to sign you in to your Apple ID. Try again later. (-36607) #58

Open flarn2006 opened 2 years ago

flarn2006 commented 2 years ago

I'm trying to install YouTube++. I ran AltServer with the parameters it asked for in the help prompt, and it says "Installing app..." and prints a bunch of info, ending with an error message. I won't post the full output because I don't know how much of it is privacy-sensitive, but this is the end of it:

Received auth response status code: 200
Received auth response status code: 200
Alert: Could not install youtubeplus.ipa to unknown.
    Unable to sign you in to your Apple ID. Try again later. (-36607)
Press any key to continue...

Error: com.rileytestut.AltServer.Localized (-36607).
Finished!

As a side note, is there any way to use this without having to put my Apple ID password on the command line?

Centterm commented 2 years ago

My guess is that you do not have a custom anisette server running (or might just forgot to export its url before starting altserver). See the release for further information: https://github.com/NyaMisty/AltServer-Linux/releases/tag/v0.0.5

As a side note, is there any way to use this without having to put my Apple ID password on the command line?

Sure, create a new one and use that one just for AltStore

flarn2006 commented 2 years ago

Thank you; I wasn’t aware of that page.

As for the Apple ID thing, I think I assumed (evidently erroneously) that it needed to be the same Apple ID that the device is registered to.

While we’re talking, would you happen to know where to get the IPA for AltStore? All I see are instructions for installing it using the menu item, which doesn’t exist here. I know there’s a GUI based altserver someone made for Linux which has it, but that one just broke when I tried it.

Sent from my iPhone

On May 18, 2022, at 1:42 AM, Centterm @.***> wrote:

 My guess is that you do not have a custom anisette server running (or might just forgot to export its url before starting altserver). See the release for further information: https://github.com/NyaMisty/AltServer-Linux/releases/tag/v0.0.5

As a side note, is there any way to use this without having to put my Apple ID password on the command line?

Sure, create a new one and use that one just for AltStore

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

swanux commented 2 years ago

I don't know if it's been resolved for you, but I get the same error, even while running a custom anisette server. I ran export ALTSERVER_ANISETTE_SERVER="http://127.0.0.1:6969" (the docker instance was running, and I was able to get an answer with curl) before running ./AltServer -u "UDID_HERE" -a "EMAIL_HERE" -p "PWD_HERE" AltStore.ipa

Any ideas?

lo-decibel commented 2 years ago

I'm having the same issue. The anisette server is returning a response in curl and the altserver output but I'm still getting the same error. EDIT: tried with a new Apple ID, the issue persists.

lo-decibel commented 2 years ago

I'm having the same issue. The anisette server is returning a response in curl and the altserver output but I'm still getting the same error. EDIT: tried with a new Apple ID, the issue persists.

Update: I compiled the AltServer-Linux from source. Problem solved.

swanux commented 2 years ago

I can confirm, it works if compiled manually (I followed the approach from the compile notes).

koevoet1221 commented 2 years ago

I am getting the -36607 error aswell, even with the server running. I can see the response in the log so i know that part is working. I also get a response when I curl 127.0.0.1:6969. I don’t know what i can share so heres the log with all the random looking data removed:

Installing app... Received response status code: 200 parse anisette data ret Got anisetteData json: {"X-Apple-I-Client-Time":"2022-07-04T17:14:21Z","X-Apple-I-MD":"(removed)","X-Apple-I-MD-LU":"(removed)","X-Apple-I-MD-M":"(removed)","X-Apple-I-MD-RINFO":"(removed)","X-Apple-I-SRL-NO":"(removed)","X-Apple-I-TimeZone":"PST","X-Apple-Locale":"en_US","X-MMe-Client-Info":"<MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Mme-Device-Id":"(removed)"} X-Apple-I-MD-M: (removed) X-Apple-I-MD: (removed) X-Apple-I-MD-LU: (removed) X-Apple-I-MD-RINFO: (removed) X-Mme-Device-Id: (removed) X-Apple-I-SRL-NO: (removed) X-MMe-Client-Info: <MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)> X-Apple-I-Client-Time: 2022-07-04T17:14:21Z X-Apple-Locale: en_US X-Apple-I-TimeZone: PST Building anisetteData obj... MachineID : (removed) One-Time Password: (removed) Local User ID: (removed) Device UDID: (removed) Device Description: <MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)> Date: 2022-07-04T17:14:21Z Received auth response status code: 200 Received auth response status code: 200 Alert: Could not install uYouPlus_17.25.1_2.1.ipa to unknown. Unable to sign you in to your Apple ID. Try again later. (-36607) Press any key to continue...

I’ve installed the altstore app with my windows pc and this is what i get when i try to login on the app with the server daemon running, in the app i get the same 36607 error.

DNSServiceRegister result: 0 Other Socket:8. Port: 63261. Error: 0 Receiving request size... Checking socket: 8 Received bytes: 4(of 4) Receiving 48 bytes... Checking socket: 8 Received bytes: 48(of 48) Received response status code: 200 parse anisette data ret Got anisetteData json: {"X-Apple-I-Client-Time":"2022-07-04T17:20:20Z","X-Apple-I-MD":"(Removed)","X-Apple-I-MD-LU":"(Removed)","X-Apple-I-MD-M":"(Removed)","X-Apple-I-MD-RINFO":"(Removed)","X-Apple-I-SRL-NO":"(Removed)","X-Apple-I-TimeZone":"PST","X-Apple-Locale":"en_US","X-MMe-Client-Info":"<MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Mme-Device-Id":"(Removed)"} X-Apple-I-MD-M: (Removed) X-Apple-I-MD: (Removed) X-Apple-I-MD-LU: (Removed) X-Apple-I-MD-RINFO: (Removed) X-Mme-Device-Id: (Removed) X-Apple-I-SRL-NO: (Removed) X-MMe-Client-Info: <MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)> X-Apple-I-Client-Time: 2022-07-04T17:20:20Z X-Apple-Locale: en_US X-Apple-I-TimeZone: PST Building anisetteData obj... MachineID : (Removed) One-Time Password: (Removed) Local User ID: (Removed) Device UDID: (Removed) Device Description: <MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)> Date: 2022-07-04T17:20:20Z Represented Value: 593 Sent Bytes Count: 4 (4) Sent Data: 4 Bytes Sent Bytes Count: 593 (593) Sent Data: 593 Bytes Finished handling request!

I’ve also tried compiling my own version but it gives the same results. To compile I exactly followed instructions in the note, only thing ive done is adding -j 40 to make to make it go faster. Im running this in a debian 11 lxc on proxmox. Does anyone know what I’m doing wrong and how I can fix it? Thanks in advance

AlyafeiAli commented 2 years ago

@koevoet1221 Were you able to fix it?

koevoet1221 commented 2 years ago

Had to login with the apple id on my ipad to fix that error. Whole load of errors after that, finally got it working but only usb and unreliably, sometimes it’d take 3 reboots. Then i just created a windows vm which boots at 4:50 and shutdown at 5:10 and setup a shortcut to refresh at 5:00. I did use a modified windows iso called GGOS

AlyafeiAli commented 2 years ago

Had to login with the apple id on my ipad to fix that error. Whole load of errors after that, finally got it working but only usb and unreliably, sometimes it’d take 3 reboots. Then i just created a windows vm which boots at 4:50 and shutdown at 5:10 and setup a shortcut to refresh at 5:00. I did use a modified windows iso called GGOS

Looks like I'll do the same. Thank you for the detailed reply, I appreciate it :)

AlyafeiAli commented 2 years ago

Update: Logging in in the appstore on my iPad and installing an app from there solved the issue! I downloaded the latest version from here: https://github.com/NyaMisty/AltServer-Linux/actions/runs/2392885622 (But I had to run it as sudo, else it would give some error about json) And used https://github.com/Dadoum/Provision for the alternative anisette server (had to build it myself) Thank you again !

j5155 commented 2 years ago

Thank you; I wasn’t aware of that page. As for the Apple ID thing, I think I assumed (evidently erroneously) that it needed to be the same Apple ID that the device is registered to. While we’re talking, would you happen to know where to get the IPA for AltStore? All I see are instructions for installing it using the menu item, which doesn’t exist here. I know there’s a GUI based altserver someone made for Linux which has it, but that one just broke when I tried it.

According to the apps database https://cdn.altstore.io/file/altstore/apps.json, the current release is downloadable at https://cdn.altstore.io/file/altstore/apps/altstore/1_5_1.ipa This should probably be mentioned somewhere in the readme.

bbb651 commented 1 year ago

I've also been stuck on this for a few days, and I've gotten my Apple ID locked for like the 4th time today...

According to the apps database https://cdn.altstore.io/file/altstore/apps.json, the current release is downloadable at https://cdn.altstore.io/file/altstore/apps/altstore/1_5_1.ipa This should probably be mentioned somewhere in the readme.

You can also use https://cdn.altstore.io/file/altstore/altstore.ipa to get the latest version