altstoreio / altstoreio/AltStore

Refresh/sign-in fails with NSCocoaErrorDomain 3840; HTTP 503 observed during reproduction

Open
#1,782 43 comments 23 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
14.4k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

AltStore intermittently failed to refresh apps, sometimes succeeding between failures. It now fails to sign in after signing out.

Error:
NSCocoaErrorDomain 3840
“The data couldn’t be read because it isn’t in the correct format.”

Environment and tests:

  • AltServer 1.7.2 (build 90) on macOS.
  • Reproduced using both a MacBook Pro and a Mac mini.
  • Failed over Wi-Fi and with the iPhone connected by USB.
  • Restarting AltServer and signing out/back into AltStore did not resolve it.
  • Signing into Apple’s developer website succeeds.
  • AltStore on iPhone: 2.2.1.
  • iOS 27 public beta 6.

Captured evidence:
During one failed sign-in attempt on September 4, 2026, iPhone Console logs attributed to the AltStore process showed:

  • A successful TLS handshake on Connection 22.
  • Two HTTP 200 responses, followed by an HTTP 503 response on that same connection.
  • The 503 request completed in approximately 55 ms, with 477 response bytes reported.

The capture does not identify the endpoint or expose the response body, and it did not contain the 3840 exception itself. Therefore, the 503 is correlated with the failed attempt, but we cannot prove it caused the parsing error or identify which service returned it.

Could you advise how to safely identify the failing endpoint and capture the underlying parsing error without exposing credentials or authentication tokens?

Potentially related: https://github.com/altstoreio/AltStore/issues/1747

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing related issue #1747 and reproducing the sign-in failure while examining iPhone Console logs for the AltStore process. No source file or test is named; done means safely identifying the failing endpoint and capturing the underlying parsing error without exposing credentials or authentication tokens.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.