Skip to content

Bug: Login error -80045 #329

Closed
Closed

Description

@cervisebas

Description

I ran the xtool setup command and tried to log in with my Apple ID (since I don't have an Apple Developer membership).

And I get this error:

Logging in...
Error: This action cannot be completed at this time. (-80045)

I also tried logging in with an app-specific password, and the same thing happens.

Environment

Host OS (macOS/Linux/WSL): WSL

Host OS version: WSL 3.0.1.0 ; Ubuntu 26.04 ; Windows 11 26H2

iOS device version: iOS 27.0.1

Swift version: 6.4

Activity

  1. added
    bug
    on Oct 12, 2026
  2. javiertrejoyam commented on Oct 12, 2026

    @javiertrejoyam
    Contributor

    sospecho , por lo que veo en el codigo es que estamos usando la misma mac , misma serie etc , por eso puede ser que nos bloquearon

  3. WhoLeb commented on Oct 12, 2026

    @WhoLeb

    Same, also on WSL, but it's Ubuntu 24.04

  4. KakaDuu0 commented on Oct 12, 2026

    @KakaDuu0

    same issue

  5. Odnoyko commented on Oct 12, 2026

    @Odnoyko

    Arch Linux. The same issue

  6. F3rNaNDEZ57 commented on Oct 12, 2026

    @F3rNaNDEZ57

    Same here on WSL2 (Ubuntu 24.04), xtool 1.21.0. Sharing some probes in case they save time.

    The block is before credential checking. A made-up account (…@example.com) gets the same -80045 as a real one.

    Updating the client-info strings doesn't fix it this time (unlike #243 and #257). I built d802c71 with env overrides and probed with a fake account:

    Variant Result
    stock strings (<macOS;27.0;26A5378j>, UA …com.apple.dt.Xcode/26.5, X-Xcode-Version: 26.5 (17F42)) -80045
    release strings taken from Xcode 27.1 RC: <{model}> <macOS;27.0;26A425> <com.apple.AuthKit/1 (com.apple.akd/1.0)>, UA AuthKit/1 (Macintosh; OS X 27.0) (com.apple.dt.Xcode/27.1), X-Xcode-Version: 27.1 (27A9274) -80045

    Local XADI provisioning still succeeds. XTLProvisioningInfo gets written, so the rejection appears to come at GsService auth init, not at midStartProvisioning / midFinishProvisioning.

    Remote anisette: with OmnisetteADIProvider pointed at ani.sidestore.io, ani.npeg.us, anisette.wedotstud.io and ani3server.fly.dev, none reached Apple. They returned 502, or get_headers without X-Apple-I-MD-M. That's possibly unrelated (server load), but it may mean those servers' provisioning is being refused too.

    So whatever changed doesn't look string-based. It could be a new required field or header, or rejection of the anisette machine itself. Comparing against a capture of a genuine Mac login would probably be needed. Happy to test a build if that helps.

  7. changed the title [-]Bug: Login error[/-] [+]Bug: Login error -80045[/+] on Oct 12, 2026
  8. kabiroberai commented on Oct 12, 2026

    @kabiroberai
    Member

    This appears to be happening to other tools that interact with Apple APIs as well (SideStore/AltStore). Investigating.

  9. pinned this issue on Oct 12, 2026
  10. its-tony commented on Oct 13, 2026

    @its-tony

    same issue :(

  11. barongartner commented on Oct 13, 2026

    @barongartner

    Not sure it's the anisette machine or the shared serial. There's a report in altstoreio/AltStore#1828 of the official AltServer on a real Mac (macOS 27.0.1) getting the same -80045, and Sideloadly, iloader and PlumeImpactor are all failing too.

    The person in the AltStore thread can still sign in at account.apple.com with the same Apple ID, so the accounts seem fine.

  12. BootlegYouki commented on Oct 13, 2026

    @BootlegYouki

    cachyos same issue :/

  13. noaroussiere commented on Oct 13, 2026

    @noaroussiere

    same issue

  14. aman-mohammed-max commented on Oct 13, 2026

    @aman-mohammed-max
    Image

    what i want to do man ?? fix this bug

  15. simontrost commented on Oct 13, 2026

    @simontrost

    same issue; Linux Mint 22.1

  16. 3 remaining items

  17. pr0vis0ri0 commented on Oct 13, 2026

    @pr0vis0ri0

    seems like they've blocked the auth since it doesn't even try to log in

  18. NightmareFox12 commented on Oct 13, 2026

    @NightmareFox12

    Same issue with Arch WSL
    Image

  19. Harry-Wallbank commented on Oct 13, 2026

    @Harry-Wallbank

    running command as sudo instead of regular user seemed to get past to download the library but still fails on login error, fake and real user details fail the same way all tools using the apple id sign in are failing seems like a apple end issue

    Image
  20. kabiroberai commented on Oct 13, 2026

    @kabiroberai
    Member

    This should be resolved by #337. Will land and cut a new release shortly.

  21. kabiroberai commented on Oct 13, 2026

    @kabiroberai
    Member

    Fix is merged. Reopening for tracking until the release is published

  22. added a commit that references this issue on Oct 13, 2026
    fae1981
  23. kabiroberai commented on Oct 14, 2026

    @kabiroberai
    Member

    Fixed in v1.22.2! Would be good if someone could update and confirm that this is resolved.

  24. unpinned this issue on Oct 14, 2026
  25. Jaredinho commented on Oct 14, 2026

    @Jaredinho

    It is resolved

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions