Repository navigation
Conversation
Apple's GrandSlam endpoint returns an immediate 503 edge error to any request whose X-Mme-Client-Info contains "com.apple.dt.Xcode", so the provisioning requests omnisette makes on its own behalf never reach authentication. Every anisette server built on this crate fails as a result, regardless of what its clients send. AKD_USER_AGENT in the same file already identifies as akd/1.0; this brings the client info string in line with it.
Rogue911
requested review from
JoeMatt,
Spidy123222,
SternXD,
lonkelle and
nythepegasus
as code owners
September 14, 2026 07:50
Author
|
The failing It fails in
plist = { git = "https://github.com/naturecodevoid/rust-plist", version = "1.4.3" }so Cargo resolves it to whatever that branch currently points at. This PR changes a single string constant in |
mpDom
pushed a commit
to mpDom/MultiStore
that referenced
this pull request
Sep 18, 2026
…stops 503-ing sign-in
Since early September 2026 Apple's GrandSlam edge returns HTTP 503 (an
HTML page) to any request whose X-MMe-Client-Info contains
"com.apple.dt.Xcode". The HTML body then fails plist parsing and
surfaces as NSCocoaErrorDomain 3840 ("The data couldn't be read because
it isn't in the correct format").
This fork takes X-MMe-Client-Info verbatim from the anisette server's
/v3/client_info, and the public servers (ani.sidestore.io, ani.npeg.us)
still advertise "<com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>",
so every provisioning and sign-in request was blocked regardless of
which server was selected. Rewrite the Xcode identity to
"com.apple.akd/1.0" before use, on both the v3 and v1 intake paths.
Verified against gsa.apple.com with a bodyless probe: the Xcode string
gets 503, the akd string gets a normal 401/404. Mirrors upstream
SideStore/AnisetteKit@ebab7b9 and SideStore/apple-private-apis#27.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Since early September 2026, Apple's GrandSlam endpoint
(
https://gsa.apple.com/grandslam/GsService2) returns an immediate HTTP 503 to anyrequest whose
X-Mme-Client-Infoheader contains the substringcom.apple.dt.Xcode. Theresponse is an edge error page, not a GrandSlam reply, so the request never reaches
authentication.
omnisettehardcodes exactly that substring inadi_proxy.rs:and sends it on its own provisioning requests to Apple. That means every anisette server
built on this crate fails to provision, regardless of what the client using it does, and the
failure surfaces to users as a 503 they cannot act on.
Change
One constant:
com.apple.dt.Xcode/3594.4.19becomescom.apple.akd/1.0, matching theidentifier
akditself uses.AKD_USER_AGENTin the same file already identifies asakd/1.0, so this only brings the client info string in line with it.Verification
Reproducible against Apple with a single request, no account involved — only the header
differs between the two calls:
The User-Agent makes no difference: with the client info string clean, Apple accepts the
request whether or not the User-Agent mentions Xcode. Only
X-Mme-Client-Infois filtered.Built and run with this change in a self-hosted
omnisette-server. Provisioning againstApple completes (it returned 503 before), and the headers the server then serves are accepted
by GrandSlam: a well-formed SRP
initbuilt from them, sent with a nonexistent Apple ID so noreal account is involved, comes back as a normal GrandSlam response
rather than the edge error page returned while the Xcode identifier was in place.
Same root cause and same fix as altstoreio/AltStore#1790.