Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Download request failed: The network connection was lost. #649

Open
jebediah2 opened this issue Nov 21, 2024 · 2 comments
Open

Error: Download request failed: The network connection was lost. #649

jebediah2 opened this issue Nov 21, 2024 · 2 comments

Comments

@jebediah2
Copy link

First-time user.

mas version: 1.8.8-beta.9
macOS version: 10.15.7

mas Install Method

[] mas GitHub Releases

Bug Description

When running the mas purchase command, an App Store dialog appears with "The network connection was lost.", a Cancel and a Retry button. Nothing else happens. I don't have connection problems, a firewall or anything else, and purchasing/download apps from the App Store works perfectly.

Steps to Reproduce

  1. Have an active internet connection, be logged in to the App Store app and ensure apps can be downloaded.
  2. run mas purchase

Shell Output, Screenshots…

Error: Download request failed: The network connection was lost.

Console

com.apple.CommerceKit.TransactionService StorePurchaseBatchOperation: Cancelling 1 purchases from batch after error: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSLocalizedDescription=The network connection was lost.}

@rgoldberg
Copy link
Contributor

rgoldberg commented Nov 21, 2024

What other mas commands suffer the same network error?

I would guess install, lucky & upgrade, but likely none of the others.

The released 1.8.7 probably won't work on macOS 10.15.7 due to release problems, but the existing 1.8.6 & the forthcoming 1.8.8 and later versions should.

After trying other commands in 1.8.8 beta, can you try mas 1.8.6?

@rgoldberg
Copy link
Contributor

@jebediah2 have you had a chance to try out other commands, or to try rerunning mas purchase?

Have you had a chance to try out mas 1.8.6?

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

No branches or pull requests

2 participants