AltStore icon indicating copy to clipboard operation
AltStore copied to clipboard

AltServer cannot connect to Apple ID

Open acolombo11 opened this issue 2 months ago • 50 comments

Image

I'm seeing this error message when I try to install the AltStore. ~~It may happen because I'm using an Apple ID with a + sign, like [email protected]~~ (checked, not relevant)

The error states:

AltStore could not be installed onto iPhone. AltServer could not sign in with your Apple ID. The data is not in the correct format.

NSCocoaErrorDomain 3840

Debug Description Encountered unknown tag html on line 1

Error Description AltServer could not sign in with your Apple ID. The data is not in the correct format.

Failure AltServer could not sign in with your Apple ID.

Failure Reason The data is not in the correct format.

Title AltStore could not be installed onto Andrea's iPhone.

kCFPropertyListOldStyleParsingError Error Domain=NSCocoaErrorDomain Code=3840 "Malformed data byte group at line 1; invalid hex" UserInfo=(NSDebugDescription=Malformed data byte group at line 1; invalid hex}

acolombo11 avatar Sep 04 '26 14:09 acolombo11

Same here. I think it started happening after updating to macOS 26.6.2.

soyamashi avatar Sep 04 '26 16:09 soyamashi

I have the same error but my id does not contain any plus sign. I also don't have macOS 26.6.2, but just 26.0.

Jerry-Master avatar Sep 04 '26 20:09 Jerry-Master

I'm experiencing this on Sequoia 15.6.1

ryan-ph avatar Sep 04 '26 20:09 ryan-ph

I am having the same issue on Tahoe 26.5.2 and iOS 26.5.

Sujan-Acharya avatar Sep 05 '26 15:09 Sujan-Acharya

Same issue on Tahoe 26.6.2 (25G83) and iOS 26.6.1

p13rr37 avatar Sep 05 '26 17:09 p13rr37

Same on windows 10 and ios 26.6.1

Angelos2008new avatar Sep 05 '26 19:09 Angelos2008new

Same on macOS Big Sur, iOS 27 Beta and iPad OS 26

galaxy-nomad avatar Sep 06 '26 03:09 galaxy-nomad

Yea same here.26.6.2 (25G83)

hongkongkiwi avatar Sep 06 '26 04:09 hongkongkiwi

For anyone hitting NSCocoaErrorDomain 3840 / "Encountered unknown tag html" or AppleDeveloperError 3020 / -80009 MID is invalid on macOS 27 beta - I combined the fixes discussed in #47, #49, and the anisette machineID patch from kimziro's repo into a single rebuilt AltServer.

Root causes (already covered in this thread, just recapping):

Outdated User-Agent causes Apple's servers to drop the connection after 2 of the 3 requests needed for sign-in (#47) Sign-in reuses a connection pinned to a failing backend node instead of retrying fresh (#49) macOS 27's AOSKit returns empty anisette data, breaking machineID (kimziro's fix)

https://github.com/FrakesH/AltStore/releases/tag/v1.7.2-macos27-fix

FrakesH avatar Sep 06 '26 07:09 FrakesH

The build under that release is from https://github.com/legeling/AltSign.git repo, marketplace branch. But the PRs in AltSign that you mention are from Calvin-Zikakis, BreezeDelegate and kimziro. Did legeling merge those? In the commit there are no traces of him cherrypicking the commits of the others. I am thankful for the work made here, but I think having everything more or less traceable is essential for the official devs to pick the work and merge it into an official release.

Jerry-Master avatar Sep 06 '26 09:09 Jerry-Master

This issue persists even with this fix build

Failure Reason The data is not in the correct format.

galaxy-nomad avatar Sep 06 '26 10:09 galaxy-nomad

I can confirm, with this build you can sideload altstore, but when you try to refresh any app inside altstore it shows the same error.

Jerry-Master avatar Sep 06 '26 10:09 Jerry-Master

Did not work for me on a fresh install desktop big sur

galaxy-nomad avatar Sep 06 '26 10:09 galaxy-nomad

@Jerry-Master the other apps belongs to the previous built of altstore. Now you can't restore them in anycase. In this release the issue still persist.

muneebamjad avatar Sep 06 '26 11:09 muneebamjad

I deleted the app and tried to reinstall again from the IPA and the issue still persists.

Jerry-Master avatar Sep 06 '26 11:09 Jerry-Master

I have the same problem :(

Pellegabriele9 avatar Sep 06 '26 11:09 Pellegabriele9

The build under that release is from https://github.com/legeling/AltSign.git repo, marketplace branch. But the PRs in AltSign that you mention are from Calvin-Zikakis, BreezeDelegate and kimziro. Did legeling merge those? In the commit there are no traces of him cherrypicking the commits of the others. I am thankful for the work made here, but I think having everything more or less traceable is essential for the official devs to pick the work and merge it into an official release.

These are all the people whose code I used while testing fixes - the one that ended up working and being final was the one that made it into the build, and it's referenced in the workflow build file.

FrakesH avatar Sep 06 '26 20:09 FrakesH

Guys, I used this to install the IPA files I needed onto my iPhone - forgot to mention that this only fixes the macOS side; on iOS you'll still get that same error. But AltServer has a feature to sideload IPA files directly without going through AltStore on iOS - you download the IPA file on your Mac, hold Option in the open AltServer menu, and select the IPA file you want to install.

I have the same problem :(

I deleted the app and tried to reinstall again from the IPA and the issue still persists.

@Jerry-Master the other apps belongs to the previous built of altstore. Now you can't restore them in anycase. In this release the issue still persist.

Did not work for me on a fresh install desktop big sur

I can confirm, with this build you can sideload altstore, but when you try to refresh any app inside altstore it shows the same error.

This issue persists even with this fix build

Failure Reason The data is not in the correct format.

FrakesH avatar Sep 06 '26 20:09 FrakesH

@FrakesH where is the "hold Option"?

Image

vuhiepomg17-dev avatar Sep 07 '26 04:09 vuhiepomg17-dev

Guys I am having the same issue, I forgot to refresh the app so I tried re installing alt store but I got this message "AltServer could not sign in with your Apple ID. The data is not in the correct format.". Hope they would fix it soon.

rahul-singh92 avatar Sep 07 '26 07:09 rahul-singh92