ipatool icon indicating copy to clipboard operation
ipatool copied to clipboard

Unknown error occurred while downloading

Open LushanCloud opened this issue 2 years ago • 34 comments

What happened?

The country code is set and I can search fine but when I download it I get an error。ipatool installed using brew

Version

ipatool version 2.1.4

Relevant log output

ipatool download -b com.miHoYo.Yuanshen
downloading   0% |                                                 | ( 0/ 1 B) 2:36PM ERR error="received error: An unknown error has occurred" success=false

LushanCloud avatar Nov 20 '24 06:11 LushanCloud

Same issue here

silviafiat avatar Nov 20 '24 12:11 silviafiat

Same here. I set the storefront code in Keychain (on MacOS) and am able to now search for apps with no issues (previously could not search without manually setting storefront code). However, after obtaining the license on the relevant Apple account, I am unable to download the .ipa file using the bundle identifier as shown above.

I receive...

ERR error="received error: An unknown error has occurred" success=false

amccoy-cyber avatar Nov 20 '24 18:11 amccoy-cyber

same issue here, can anyone fix this?

dnd21052002 avatar Nov 21 '24 16:11 dnd21052002

@dnd21052002 @amccoy-cyber @silviafiat @LushanCloud I am currently trying to work this out, can you guys please tell me the output of this: ipatool purchase --bundle-identifier com.burbn.instagram

You can use any other bundle-identifier, no stress there, but I think the root cause of all these issues is that the authentication is broken alltogether.

The request send on a "succesful login" returns with a status code of 404, I think Apple may have closed that endpoint.

AltayAkkus avatar Nov 21 '24 21:11 AltayAkkus

@dnd21052002 @amccoy-cyber @silviafiat @LushanCloud I am currently trying to work this out, can you guys please tell me the output of this: ipatool purchase --bundle-identifier com.burbn.instagram

You can use any other bundle-identifier, no stress there, but I think the root cause of all these issues is that the authentication is broken alltogether.

The request send on a "succesful login" returns with a status code of 404, I think Apple may have closed that endpoint.

$ ipatool purchase --bundle-identifier com.burbn.instagram 9:39AM ERR error="failed to purchase item with param 'STDQ': This Apple account could not be found, so it cannot be used in the iTunes Store at this time. Please try again later." success=false

yescomputer avatar Nov 22 '24 01:11 yescomputer

Hello could anyone give a solution to this? I am also stopped on this part to download IPA files @majd @AltayAkkus

MAyazShah avatar Nov 22 '24 10:11 MAyazShah

Yea it seems like the login alltogether is broken, the login request is malformed the only reason why u see "success" is because ipatool didnt account for this.

So we gotta find the new endpoint, I'll be on it tmrw.

AltayAkkus avatar Nov 22 '24 10:11 AltayAkkus

same here

ypwcharles avatar Nov 22 '24 14:11 ypwcharles

same herer

qsirwyk avatar Nov 23 '24 15:11 qsirwyk

faced with the same

OneXeor avatar Nov 25 '24 13:11 OneXeor

By the way I am it running my MacBook Pro, Is the issue because of macOS? I haven't tried it on windows.

MAyazShah avatar Nov 27 '24 11:11 MAyazShah

the same on Windows

MAyazShah @.***>于2024年11月27日 周三下午7:07写道:

By the way I am running my MacBook Pro, Is the issue because of macOS? I haven't tried it on windows.

— Reply to this email directly, view it on GitHub https://github.com/majd/ipatool/issues/311#issuecomment-2503587122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAMCLZRFV5WU44JA3J7F3D2CWRVLAVCNFSM6AAAAABSDZ53VSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTGU4DOMJSGI . You are receiving this because you commented.Message ID: @.***>

ypwcharles avatar Nov 27 '24 11:11 ypwcharles

@ypwcharles, Ok my friend have tried and it is working for it, he have 2.1.4 version

MAyazShah avatar Nov 27 '24 15:11 MAyazShah

@ypwcharles, Ok my friend have tried and it is working for it, he have 2.1.4 version

You mean its working on windows?

tangobravo5656 avatar Nov 29 '24 13:11 tangobravo5656

Same issue here

xsha256 avatar Dec 01 '24 19:12 xsha256

Hi, here is the log when trying to donwload masefiatti@Mohameds-MacBook-Air ~ % ipatool download --verbose -b com.vigicorp.iswigo -o Gerermescomptes.ipa downloading 0% | | ( 0/ 1 B) 11:09PM DBG error="received error: An unknown error has occurred" metadata={"Data":{"CustomerMessage":"An unknown error has occurred","FailureType":"5002","Items":null},"Headers":{"Apple-Originating-System":"MZFinance","Apple-Seq":"0.0","Apple-Timing-App":"6 ms","Apple-Tk":"false","B3":"98d9a9c9bf609ac9ce17a6b3d7986ba4-203e0a6cdcb16fae","Cache-Control":"private; no-cache; no-store; no-transform; must-revalidate; max-age=0","Connection":"keep-alive","Date":"Sun, 08 Dec 2024 22:09:54 GMT","Edge-Control":"no-store; cache-maxage=0","Expires":"Sun, 08 Dec 2024 22:09:54 GMT","Itspod":"25","Pod":"25","Server":"Apple","Set-Cookie":"itspod=25; version=\"1\"; expires=Wed, 08-Jan-2025 22:09:54 GMT; path=/; domain=.apple.com; mzf_in=3250013; version=\"1\"; path=/WebObjects; domain=.apple.com; secure; HttpOnly; mzf_dr=0; version=\"1\"; expires=Thu, 01-Jan-1970 00:00:00 GMT; path=/WebObjects; domain=.apple.com","Strict-Transport-Security":"max-age=31536000; includeSubdomains","X-Apple-Application-Instance":"3250013","X-Apple-Application-Site":"MR22","X-Apple-Jingle-Correlation-Key":"TDM2TSN7MCNMTTQXU2Z5PGDLUQ","X-Apple-Lokamai-No-Cache":"true","X-Apple-Orig-Url":"https://p25-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=82ADFBE35D7C","X-Apple-Request-Uuid":"98d9a9c9-bf60-9ac9-ce17-a6b3d7986ba4","X-Apple-Translated-Wo-Url":"/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=82ADFBE35D7C","X-B3-Spanid":"203e0a6cdcb16fae","X-B3-Traceid":"98d9a9c9bf609ac9ce17a6b3d7986ba4","X-Content-Type-Options":"nosniff","X-Daiquiri-Instance":"daiquiri:14236001:mr55p00it-qukt05050701:7987:24RELEASE242:daiquiri-amp-commerce-legacy-int-001-mr; daiquiri:14626002:mr55p00it-qukt01020301:7987:24RELEASE242:daiquiri-amp-commerce-pci-ext-001-mr","X-Frame-Options":"SAMEORIGIN","X-Responding-Instance":"MZFinance:3250013:::","X-Webobjects-Loadaverage":"59","X-Xss-Protection":"1; mode=block"},"StatusCode":200} 11:09PM ERR error="received error: An unknown error has occurred" success=false

mayoubs avatar Dec 08 '24 22:12 mayoubs

the same on Mac,Is there a solution?@majd @AltayAkkus

FoneG avatar Dec 10 '24 09:12 FoneG

the same on Mac,Is there a solution?@majd @AltayAkkus

Purchase is broken, I am working on a solution just as the colleagues at ipsw.

AltayAkkus avatar Dec 10 '24 09:12 AltayAkkus

Authentication and downloading was fixed in #316. Let's use the issue #284 to track the purchase issue.

majd avatar Dec 12 '24 22:12 majd

Authentication and downloading was fixed in #316. Let's use the issue #284 to track the purchase issue.

Hi @majd , respectfully, I'm not sure downloading is fixed. Authentication seems to be fine and I'm able to log in a search, but any download yields this result:

./ipatool download -b com.aktiia.aktiia --verbose
downloading   0% |                                                                                                                     | ( 0/ 1 B) 2:37AM DBG 
error="received error: An unknown error has occurred" metadata={
  "Data": {
    "CustomerMessage": "An unknown error has occurred",
    "FailureType": "5002",
    "Items": null
  },
  "Headers": {
    "Apple-Originating-System": "MZFinance",
    "Apple-Seq": "0.0",
    "Apple-Timing-App": "9 ms",
    "Apple-Tk": "false",
    "B3": "827b996ab42e9bec56c5fa126c401c3e-21ae1eed15e8a08a",
    "Cache-Control": "private; no-cache; no-store; no-transform; must-revalidate; max-age=0",
    "Connection": "keep-alive",
    "Date": "Fri, 13 Dec 2024 08:37:22 GMT",
    "Edge-Control": "no-store; cache-maxage=0",
    "Expires": "Fri, 13 Dec 2024 08:37:22 GMT",
    "Itspod": "25",
    "Pod": "25",
    "Server": "Apple",
    "Set-Cookie": "itspod=25; version=\"1\"; expires=Mon, 13-Jan-2025 08:37:22 GMT; path=/; domain=.apple.com; mzf_in=3250084; version=\"1\"; path=/WebObjects; domain=.apple.com; secure; HttpOnly; mzf_dr=0; version=\"1\"; expires=Thu, 01-Jan-1970 00:00:00 GMT; path=/WebObjects; domain=.apple.com",
    "Strict-Transport-Security": "max-age=31536000; includeSubdomains",
    "X-Apple-Application-Instance": "3250084",
    "X-Apple-Application-Site": "MR22",
    "X-Apple-Jingle-Correlation-Key": "QJ5ZS2VUF2N6YVWF7IJGYQA4HY",
    "X-Apple-Lokamai-No-Cache": "true",
    "X-Apple-Orig-Url": "https://p25-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=AA00278ED4D1",
    "X-Apple-Request-Uuid": "827b996a-b42e-9bec-56c5-fa126c401c3e",
    "X-Apple-Translated-Wo-Url": "/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=AA00278ED4D1",
    "X-B3-Spanid": "21ae1eed15e8a08a",
    "X-B3-Traceid": "827b996ab42e9bec56c5fa126c401c3e",
    "X-Content-Type-Options": "nosniff",
    "X-Daiquiri-Instance": "daiquiri:14236001:mr55p00it-qukt05050701:7987:24RELEASE242:daiquiri-amp-commerce-legacy-int-001-mr; daiquiri:14626003:mr55p00it-qukt02032101:7987:24RELEASE242:daiquiri-amp-commerce-pci-ext-001-mr",
    "X-Frame-Options": "SAMEORIGIN",
    "X-Responding-Instance": "MZFinance:3250084:::",
    "X-Webobjects-Loadaverage": "112",
    "X-Xss-Protection": "1; mode=block"
  },
  "StatusCode": 200
}

izzoa avatar Dec 13 '24 08:12 izzoa