Skip to content

AltServer cannot connect to Apple ID #1781

Open

Description

@acolombo11
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 johndoe+apple@gmail.com (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}

Activity

  1. soyamashi commented on Sep 4, 2026

    @soyamashi

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

  2. Jerry-Master commented on Sep 4, 2026

    @Jerry-Master

    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.

  3. ryan-ph commented on Sep 4, 2026

    @ryan-ph

    I'm experiencing this on Sequoia 15.6.1

  4. changed the title [-]AltServe cannot connect to Apple ID if Apple ID contains +[/-] [+]AltServer cannot connect to Apple ID[/+] on Sep 4, 2026
  5. Sujan-Acharya commented on Sep 5, 2026

    @Sujan-Acharya

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

  6. p13rr37 commented on Sep 5, 2026

    @p13rr37

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

  7. Angelos2008new commented on Sep 5, 2026

    @Angelos2008new

    Same on windows 10 and ios 26.6.1

  8. galaxy-nomad commented on Sep 6, 2026

    @galaxy-nomad

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

  9. hongkongkiwi commented on Sep 6, 2026

    @hongkongkiwi

    Yea same here.26.6.2 (25G83)

  10. FrakesH commented on Sep 6, 2026

    @FrakesH

    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

  11. Jerry-Master commented on Sep 6, 2026

    @Jerry-Master

    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.

  12. galaxy-nomad commented on Sep 6, 2026

    @galaxy-nomad

    This issue persists even with this fix build

    Failure Reason
    The data is not in the correct format.

  13. Jerry-Master commented on Sep 6, 2026

    @Jerry-Master

    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.

  14. galaxy-nomad commented on Sep 6, 2026

    @galaxy-nomad

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

  15. muneebamjad commented on Sep 6, 2026

    @muneebamjad

    @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.

  16. 21 remaining items

  17. galaxy-nomad commented on Sep 7, 2026

    @galaxy-nomad

    I was able to launch it after bypassing gatkeeper on the app with the proper xattr command in Terminal then launching the app from terminal with a path directly to the executable. Clicking the app icon itself still doesn't launch it for some reason.

  18. FrakesH commented on Sep 7, 2026

    @FrakesH

    I was able to launch it after bypassing gatkeeper on the app with the proper xattr command in Terminal then launching the app from terminal with a path directly to the executable. Clicking the app icon itself still doesn't launch it for some reason.

    It's a Gatekeeper/quarantine issue, not a code problem. Right-click, Open, sometimes doesn't fully clear the quarantine attribute depending on how the zip got extracted.

    For anyone hitting this, a more reliable fix is running this in Terminal before opening the app normally:

    xattr -cr /Applications/AltServer.app

    That strips all extended attributes including quarantine, and after that a normal double-click or menu bar launch should work fine, not just launching via the executable path directly.

    If that doesn't do it, try re-signing it locally as well:
    codesign --force --deep --sign - /Applications/AltServer.app

  19. galaxy-nomad commented on Sep 7, 2026

    @galaxy-nomad

    If that doesn't do it, try re-signing it locally as well: codesign --force --deep --sign - /Applications/AltServer.app

    Awesome, thanks so much for your efforts in getting the app back up and running.

  20. Jgallegos87 commented on Sep 8, 2026

    @Jgallegos87

    what worked for me was downloading this version: https://github.com/FrakesH/AltStore/releases/tag/v1.7.2-macos27-fix

    I then unzipped it > right clicked "AltServer-macOS27..." > clicked "Show Package Content" > MacOS folder > clicked "AltServer"

    This will open terminal, if it doesn't open terminal and it says to send to TRASH (don't send). Go to Settings > Privacy & Security > and ALLOW the app. you might have to do it twice.

    After you ALLOW in settings, terminal will stay open (don't close it). You will see AltServer on your top menu bar. I was able to "install AltStore" and I was also able to hold "Option" and "Sideload IPA" as well. once you install or Sideload, wait a couple of seconds and you'll see terminal start showing you that its installing. it'll tell you when finished and you'll see the app on your iPhone.

  21. galaxy-nomad commented on Sep 8, 2026

    @galaxy-nomad

    After you ALLOW in settings, terminal will stay open (don't close it). You will see AltServer on your top menu bar. I was able to "install AltStore" and I was also able to hold "Option" and "Sideload IPA" as well. once you install or Sideload, wait a couple of seconds and you'll see terminal start showing you that its installing. it'll tell you when finished and you'll see the app on your iPhone.

    Same for me. Terminal is the only way I can get it to open even with xattr and codesign fixes.

  22. Zhang161215 commented on Sep 8, 2026

    @Zhang161215

    For the question above about tracking the seven-day window after signing IPAs directly on the Mac: refresh still requires re-signing the original IPA before the development profile expires. Keeping the original IPA is important; the desktop installation alone does not set up future refreshes.

    Disclosure: I maintain SideloadManager, an open-source macOS manager for an alternative xtool-based workflow. It archives imported IPAs, tracks account-side development profile expiration (with an estimate when no match is available), and offers optional scheduled re-signing and retries. The Mac must be awake, the iPhone reachable/trusted, and xtool logged in; Apple's free-account limits still apply.

    It includes an auditable xtool GrandSlam HTML/5xx retry patch, but does not repair AltStore's on-device login or implement AltStore's refresh protocol. It is currently source-only, requires macOS 14+, and the complete build uses Xcode 26.3 / Swift 6.2. English setup, screenshots, and limitations. Consider app identity/data before migrating an existing installation; deleting apps is not necessary just to investigate this login error.

  23. galaxy-nomad commented on Sep 8, 2026

    @galaxy-nomad

    For the question above about tracking the seven-day window after signing IPAs directly on the Mac: refresh still requires re-signing the original IPA before the development profile expires. Keeping the original IPA is important; the desktop installation alone does not set up future refreshes.

    Disclosure: I maintain SideloadManager, an open-source macOS manager for an alternative xtool-based workflow. It archives imported IPAs, tracks account-side development profile expiration (with an estimate when no match is available), and offers optional scheduled re-signing and retries. The Mac must be awake, the iPhone reachable/trusted, and xtool logged in; Apple's free-account limits still apply.

    It includes an auditable xtool GrandSlam HTML/5xx retry patch, but does not repair AltStore's on-device login or implement AltStore's refresh protocol. It is currently source-only, requires macOS 14+, and the complete build uses Xcode 26.3 / Swift 6.2. English setup, screenshots, and limitations. Consider app identity/data before migrating an existing installation; deleting apps is not necessary just to investigate this login error.

    I don't think it's ok to advertise your project inside an issue for a different project.

    Per GitHub:

    - You may not advertise in other users’ accounts, including by posting monetized or excessive promotional content in issues. -
    
  24. jandersonthegreat commented on Sep 8, 2026

    @jandersonthegreat

    please fix this quickly. I am now unable to use background playback for youtube and I refuse to pay their insane prices for soemthing as simple as background playback.
    Mind you, I'm not using the auto refresh. I couldn't get the altstore to install the IPA properly, so I've been sideloading wired and that's giving me this same error.

  25. galaxy-nomad commented on Sep 8, 2026

    @galaxy-nomad

    Mind you, I'm not using the auto refresh. I couldn't get the altstore to install the IPA properly, so I've been sideloading wired and that's giving me this same error.

    You're a paying AltStore customer yes, to demand an expedited fix?🤣 Anyway the app and ipa have been patched by a wonderful contributor and he supplied instructions and files as well to get you back up and running for the time being. Just read the thread above.

  26. vikasuxdesigner-oss commented on Sep 9, 2026

    @vikasuxdesigner-oss
  27. galaxy-nomad commented on Sep 9, 2026

    @galaxy-nomad

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

    it's working!!!!!!!!! thanks

    They've just released an official update as well so when you're ready you can upgrade per the instructions in the app. I believe its AltServer release 1.7.5 and AltStore app version 2.2.2

  28. Vfposselt commented on Sep 10, 2026

    @Vfposselt

    I'm still getting the same problem when installing Altstore Classic via Altstore PAL. Version was updated yesterday (2.2.2) but the error HTTP 503 still shows up. Is anyone having this issue while trying to use Altstore PAL instead of Altserver?

  29. Lukaszpl666 commented on Sep 10, 2026

    @Lukaszpl666

    I updated to 1.7.5 and 2.2.2 yesterday and all seemed fine and I installed my apps but today "503" the problem is here again. All I eventually did was updating my ios from latest 27 beta to 27 release candidate (probably that created the problem again), while using MacOS 15.8.7 in both situations. ;/ ;/

    EDIT:
    updated to 1.7.6 via the top menu bar and now it started to work again!! Thanks for extremely fast fix!

  30. gro322 commented on Oct 15, 2026

    @gro322

    Hi Guys, I just found this conversation because this just happened to me today and it looks its related... I can't either find the error code at the AltServer page, so I'll leave the info here, to see if someone can help somehow, thanks for your time and effort 👍🏻

    I tried many times, the password is ok and the email too, but it doesn't allow to install AltStore again. I installed it past week with this same versions, nothing changed, but now it doesn't allow to do it.

    This is last version by today MacOS 27.0.1
    Also last official version AltServer 1.8.1
    Today October 14th 2026

    Image
  31. kisnner26 commented on Oct 15, 2026

    @kisnner26

    The current sign-in failures on macOS 27 (-80045, and since Oct 14 "The data is not in the correct format") are tracked in #1828. Apple now rejects the Android anisette data AltServer generates on macOS 27. I opened a fix that switches AltServer to Windows anisette data: #1834 (+ rileytestut/AltSign#61), tested with sign-in, 2FA and AltStore installed on iPadOS 27.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions