altstoreio / AltStore

AltStore is an alternative app store for non-jailbroken iOS devices.
https://altstore.io
GNU Affero General Public License v3.0
11.7k stars 887 forks source link

"Could not copy provisioning profiles. Error code: -256 #268

Open ratpackbn opened 4 years ago

ratpackbn commented 4 years ago

hi! need help with this error. I have 2 devices. my phone works alright, but my ipad isn't. i'm using AltStore on Mac Catalina. iOS 13.5

timbeh commented 3 years ago

Hello, Have you found a solution for this issue?

IceBotYT commented 1 year ago

Hey what was your solution to this?

shanegillio commented 1 year ago

hi there! sorry for the lack of response - are you still experiencing issues?

yur1xpp commented 1 year ago

This isssue has been bugging me for years and never got solved. It's even present in latest version 1.7.

This issue occurs every few days after a device reboot. To fix this, you have to restart the device whenever this error is present. And every time after a reboot you could successfully refresh the apps without needing to restart the AltServer. So this rule out the AltServer issue.

iPad Pro WiFi 2020, iOS 15->17 (currently on iOS 17), AltStore v1.7

Could this be fixed this once and for all? This is my altserver log:

Receiving request size...
Checking socket: 7
Received bytes: 4(of 4)
Receiving 34020 bytes...
Checking socket: 7
Received bytes: 4096(of 34020)
Checking socket: 7
Received bytes: 5792(of 34020)
Checking socket: 7
Received bytes: 9888(of 34020)
Checking socket: 7
Received bytes: 10136(of 34020)
Checking socket: 7
Received bytes: 11584(of 34020)
Checking socket: 7
Received bytes: 15680(of 34020)
Checking socket: 7
Received bytes: 19776(of 34020)
Checking socket: 7
Received bytes: 23872(of 34020)
Checking socket: 7
Received bytes: 27968(of 34020)
Checking socket: 7
Received bytes: 31856(of 34020)
Checking socket: 7
Received bytes: 34020(of 34020)
Represented Value: 191
Sent Bytes Count: 4 (4)
Sent Data: 4 Bytes
Failed to handle request:Could not copy provisioning profiles. Error code: -256.
Sent Bytes Count: 191 (191)
Sent Data: 191 Bytes
Other Socket:7. Port: 62145. Error: 0
Receiving request size...
Checking socket: 7
Received bytes: 4(of 4)
Receiving 48 bytes...
Checking socket: 7
Received bytes: 48(of 48)
Received response status code: 200
parse anisette data ret
Got anisetteData json: {"X-Apple-I-Client-Time":"2023-10-07T03:44:38Z","X-Apple-I-MD":"REDACTED","X-Apple-I-MD-LU":"REDACTED","X-Apple-I-MD-M":"REDACTED","X-Apple-I-MD-RINFO":"REDACTED","X-Apple-I-SRL-NO":"0","X-Apple-I-TimeZone":"UTC","X-Apple-Locale":"en_US","X-MMe-Client-Info":"<MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Mme-Device-Id":"REDACTED"}
X-Apple-I-MD-M: REDACTED
X-Apple-I-MD: REDACTED
X-Apple-I-MD-LU: REDACTED
X-Apple-I-MD-RINFO: REDACTED
X-Mme-Device-Id: REDACTED
X-Apple-I-SRL-NO: 0
X-MMe-Client-Info: <MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
X-Apple-I-Client-Time: 2023-10-07T03:44:38Z
X-Apple-Locale: en_US
X-Apple-I-TimeZone: UTC
Building anisetteData obj...
MachineID : REDACTED
One-Time Password: REDACTED
Local User ID: REDACTED
Device UDID: REDACTED
Device Description: <MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
Date: 2023-10-07T03:44:38Z
Represented Value: 592
Sent Bytes Count: 4 (4)
Sent Data: 4 Bytes
Sent Bytes Count: 592 (592)
Sent Data: 592 Bytes
Finished handling request!
Other Socket:7. Port: 62154. Error: 0
Receiving request size...
Checking socket: 7
Received bytes: 4(of 4)
Receiving 48 bytes...
Checking socket: 7
Received bytes: 48(of 48)
Received response status code: 200
parse anisette data ret
Got anisetteData json: {"X-Apple-I-Client-Time":"2023-10-07T03:49:07Z","X-Apple-I-MD":"REDACTED","X-Apple-I-MD-LU":"REDACTED","X-Apple-I-MD-M":"REDACTED","X-Apple-I-MD-RINFO":"REDACTED","X-Apple-I-SRL-NO":"0","X-Apple-I-TimeZone":"UTC","X-Apple-Locale":"en_US","X-MMe-Client-Info":"<MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Mme-Device-Id":"REDACTED"}
X-Apple-I-MD-M: REDACTED
X-Apple-I-MD: REDACTED
X-Apple-I-MD-LU: REDACTED
X-Apple-I-MD-RINFO: REDACTED
X-Mme-Device-Id: REDACTED
X-Apple-I-SRL-NO: 0
X-MMe-Client-Info: <MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
X-Apple-I-Client-Time: 2023-10-07T03:49:07Z
X-Apple-Locale: en_US
X-Apple-I-TimeZone: UTC
Building anisetteData obj...
MachineID : REDACTED
One-Time Password: REDACTED
Local User ID: REDACTED
Device UDID: REDACTED
Device Description: <MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
Date: 2023-10-07T03:49:07Z
Represented Value: 592
Sent Bytes Count: 4 (4)
Sent Data: 4 Bytes
Sent Bytes Count: 592 (592)
Sent Data: 592 Bytes
Finished handling request!
Other Socket:7. Port: 62159. Error: 0
Receiving request size...
Checking socket: 7
Received bytes: 4(of 4)
Receiving 17196 bytes...
Checking socket: 7
Received bytes: 2896(of 17196)
Checking socket: 7
Received bytes: 6992(of 17196)
Checking socket: 7
Received bytes: 10136(of 17196)
Checking socket: 7
Received bytes: 11584(of 17196)
Checking socket: 7
Received bytes: 15680(of 17196)
Checking socket: 7
Received bytes: 17196(of 17196)
Represented Value: 191
Sent Bytes Count: -1 (-1)
Sent Data: -1 Bytes
Failed to handle request:Could not copy provisioning profiles. Error code: -256.
Sent Bytes Count: -1 (-1)
Sent Data: -1 Bytes
Other Socket:7. Port: 53314. Error: 0
Receiving request size...
Checking socket: 7
Received bytes: 4(of 4)
Receiving 48 bytes...
Checking socket: 7
Received bytes: 48(of 48)
Received response status code: 200
parse anisette data ret
Got anisetteData json: {"X-Apple-I-Client-Time":"2023-10-07T03:54:29Z","X-Apple-I-MD":"REDACTED","X-Apple-I-MD-LU":"REDACTED","X-Apple-I-MD-M":"REDACTED","X-Apple-I-MD-RINFO":"REDACTED","X-Apple-I-SRL-NO":"0","X-Apple-I-TimeZone":"UTC","X-Apple-Locale":"en_US","X-MMe-Client-Info":"<MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Mme-Device-Id":"REDACTED"}
X-Apple-I-MD-M: REDACTED
X-Apple-I-MD: REDACTED
X-Apple-I-MD-LU: REDACTED
X-Apple-I-MD-RINFO: REDACTED
X-Mme-Device-Id: REDACTED
X-Apple-I-SRL-NO: 0
X-MMe-Client-Info: <MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
X-Apple-I-Client-Time: 2023-10-07T03:54:29Z
X-Apple-Locale: en_US
X-Apple-I-TimeZone: UTC
Building anisetteData obj...
MachineID : REDACTED
One-Time Password: REDACTED
Local User ID: REDACTED
Device UDID: REDACTED
Device Description: <MacBookPro13,2> <macOS;13.1;22C65> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
Date: 2023-10-07T03:54:29Z
Represented Value: 592
Sent Bytes Count: 4 (4)
Sent Data: 4 Bytes
Sent Bytes Count: 592 (592)
Sent Data: 592 Bytes
Finished handling request!
rtxbae commented 10 months ago

I have this exact same issue, on both my iPhone 14 Pro and iPad Pro A12Z. It happens every other few days like @yur1xpp described.

SirTediousOfFoo commented 15 hours ago

Still happens randomly, restarting AltServer helps some times, doesn't help other times.. Nothing related in the server logs either so just my +1 to this