[Bug] HTTP 503 after 2FA on AltStore 2.3.1 / AltServer 1.8.2, including Remote AltServer

Aperta
#1,842 43 commenti 42 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift

Direzione di ricerca

Start with the referenced authentication handling in AltSign/Sources/ALTAppleAPI+Authentication.swift around lines 584–600, then read AltStore/Operations/FetchAnisetteDataOperation.swift around lines 89–104 and compare the Mac and Remote AltServer flows. Reproduce with official releases while keeping the reported 503 separate from device discovery errors. Done means identifying a supported diagnostic or fix for the failing authentication stage and clarifying the anisette resynchronization behavior; the issue provides no failing test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

I still cannot reliably install or refresh apps with official AltStore Classic 2.3.1 and AltServer 1.8.2. The main failure is AltStore.AppleDeveloperError 3000 with HTTP 503 from Apple's authentication servers, including attempts where a verification code arrived and I submitted it.

The failure occurs through both the Mac AltServer route and the official on-device Remote AltServer + LocalDevVPN route. There are also intermittent, separate Mac/device discovery failures (2003 and 1200), which I have distinguished below rather than treating them as the cause of every 503.

My immediate goal is to install AirCard and keep the existing AltStore and WebDriverAgent (WDA) installations working, without deleting them or revoking their signing certificate.

Environment

Component Version / configuration
Mac Apple Silicon, macOS 27.0.1 (26A434)
AltServer Official 1.8.2 (99); application signature verified
iPhone iPhone Air (iPhone18,4), iOS 27.0.1
AltStore Classic Official 2.3.1 (69)
LocalDevVPN App Store version 1.3.0
Apple account Free Personal Team, 2FA enabled; same account on Mac and iPhone
Pairing Developer Mode and trust configured; Finder “Show this iPhone when on Wi-Fi” enabled
Current LAN Mac and iPhone on the same ordinary Wi-Fi; Mac also keeps Ethernet connected as its default route
USB Disconnected during the latest wireless/Remote AltServer tests
Target app AirCard-iOS 1.3.2, official release IPA

Earlier in troubleshooting I tried an unofficial Mac authentication workaround associated with #1834. I subsequently restored official AltServer. The current reproductions below use the official Mac and iPhone applications; no patched iPhone authentication build was installed.

Reproduction A: Mac AltServer

  1. Keep the paired, unlocked iPhone and Mac on the same Wi-Fi, with Mac Ethernet still connected.
  2. Attempt an app install/update/refresh from AltStore, or use Mac AltServer → Install AltStore → existing iPhone to attempt an in-place reinstall.
  3. Sign in with the existing Apple account. When a verification code arrives, submit it in the relevant authentication prompt.
  4. The attempt can subsequently fail with HTTP 503. Other attempts fail with the distinct device/server discovery errors listed below.

The Mac reinstall error says:

AltServer could not sign in with your Apple ID.
Apple's authentication servers returned an error (HTTP 503).

Its detailed error identifies:

AltStore.AppleDeveloperError 3000
Source File: AltSign/ALTAppleAPI+Authentication.swift
Source Line: 590
HTTPStatusCode: 503

Receiving and submitting a code does not establish that Apple accepted it or that authentication completed; I do not have that visibility.

Reproduction B: official Remote AltServer

Following the official Remote AltServer guide:

  1. Set up Remote AltServer in the existing official AltStore installation, using the existing pairing configuration.
  2. Install LocalDevVPN from the App Store and approve its local VPN configuration.
  3. Connect LocalDevVPN. AltStore reports Connected / ready to sideload. Enable Prefer Remote AltServer.
  4. Try installing the AirCard IPA with provider https://ani.jkcoxson.com.
  5. A verification code arrives; after I submit it, AltStore reports AppleDeveloperError 3000 / HTTP 503.
  6. Change the provider to https://ani2.stikstore.app and retry once. This also reports HTTP 503.

The connected status establishes that the local tunnel/setup is ready; it is not evidence that Apple authentication or installation succeeded. LocalDevVPN is the local device tunnel, not a commercial VPN used to change the Internet exit location.

Recent results

All times below are 22 October 2026, UTC+08:00.

Time Route / controlled change Result
19:31 Mac using the same iPhone's personal hotspot; official Mac route HTTP 503
19:34 Mac anisette provider changed; Mac log reported Anisette provisioning succeeded Phone reported AnisetteServerError 0, details below
23:02 Back on ordinary shared Wi-Fi, Ethernet retained; official Mac route; verification code submitted ServerError 2003: device not found
23:03 Official AltServer restarted OperationError 1200: AltServer could not be found
23:08 Temporarily disabled Mac Wi-Fi while retaining Ethernet; iPhone remained on Wi-Fi HTTP 503; Mac Wi-Fi restored afterward
23:21 Official Remote AltServer + LocalDevVPN, ani.jkcoxson.com; verification code submitted HTTP 503
Around 23:23 Official Remote AltServer, ani2.stikstore.app HTTP 503

An earlier official Mac-side installation succeeded under a different test configuration. Subsequent failures do not establish intermittence under identical conditions. I stopped repeated login attempts after the latest failures.

Additional diagnostics and limits of the evidence

Authentication boundary: the screenshot's source line appears to correspond to the non-2xx check in the shared GrandSlam helper in AltSign at e639bdf, calling gsa.apple.com/grandslam/GsService2. This does not identify whether the failing request is init, complete, app-token retrieval, or another invocation. Rate limiting and a wider Apple outage remain unconfirmed.

Credential-free comparison: while on the iPhone hotspot, an intentionally invalid GrandSlam request containing no account credentials or tokens returned HTTP 401, whereas the actual AltStore authentication flow still returned 503. This comparison was inspired by #1825; it does not establish that my failure has the same ISP-specific cause or that valid authentication should succeed.

A separate anisette resynchronization error: at 19:34, the phone showed:

AltStore.AnisetteServerError 0
Your remote AltServer is currently unavailable.
Source: AltStore/FetchAnisetteDataOperation.swift:92

Remote AltServer had not yet been configured on the phone at that point. The reported line appears consistent with the guard requiring a preferred anisette server URL during resynchronization, even though the Mac had just reported successful provisioning. Please confirm whether this is the intended behavior when the original anisette data came from Mac AltServer. I have not established that this explains the later 503s.

Separate wireless device-discovery diagnostics (2003)

Apple's device listing reported the iPhone as a network-connected device, and wireless WDA control worked while AltServer installation failed. A direct connection to the paired device's lockdown service also worked through Ethernet. Mac Local Network access for AltServer was enabled.

There was an IPv6 link-local scope discrepancy: the advertised device address used the Ethernet interface scope, but a replay of the pinned libimobiledevice socket-selection logic selected the Wi-Fi scope. Connecting with the advertised scope worked; the selected Wi-Fi scope timed out. However, isolated IPv4 and via-usbmux device probes still failed, so this is not a demonstrated complete root cause or fix.

A device-only probe produced Connecting to device [redacted] failed! (-8) and the device-not-found response corresponding to UI error 2003. No installation or Apple-account authentication was initiated by that probe. All temporary connection adapters were removed afterward; official AltServer startup and the original Ethernet/Wi-Fi setup were restored.

These transport observations should be investigated separately from HTTP 503, particularly because the official on-device Remote AltServer path also returns 503.

Expected behavior / current impact

I expect an authenticated installation/refresh to complete through either supported route, or to receive an error that identifies the failing authentication stage sufficiently for diagnosis.

AirCard is still not installed. Existing AltStore and WDA remain installed, and their UI showed seven days remaining at the last check. Background refresh is enabled, but successful unattended renewal has not been verified. I have not intentionally revoked/replaced the signing certificate or accepted a revoke-certificate prompt.

Could you suggest a safe workaround or stage-specific diagnostic for the official releases, especially around anisette refresh/resynchronization after verification-code submission? I can collect redacted diagnostics, but would like to preserve the existing apps, pairing and signing setup.

Related reports: #1828, #1825, #1782; potentially relevant work: #1835. I do not yet know whether these share a root cause.

Account details, device identifiers, network addresses, pairing material, certificates, credentials and verification codes are intentionally omitted.

Lingua principale
Swift
Stelle
15.1k
Fork
1.8k
Merge medio
5g 16h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di altstoreio/AltStore

Tutte le issue di altstoreio/AltStore

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.