Search results for

“Request failed with http status code 503”

201,010 results found

Post

Replies

Boosts

Views

Activity

POST request failing only when app goes in to background.
I'm trying to troubleshoot what is going on with my app. The app works just fine when the user is logged in. It's able to post data to my REST API just fine. But when the app goes in to the background, the BGAppRefreshTask fires off just fine, but it's unable to post its data. There payload is super small a two keys and two short strings and thats it. I've tried searching on kCFStreamErrorCodeKey -2103 and ErrorDomainKey 4 but not much comes up. Here is my error with the URL string altered... Error Domain=NSURLErrorDomain Code=-1001 The request timed out. UserInfo={_kCFStreamErrorCodeKey=-2103, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <3126EFA1-00D3-4423-A31B-D40AB900292D>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( LocalDataTask <3126EFA1-00D3-4423-A31B-D40AB900292D>.<1> ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://my.example.com/myapi/v1/device, NSErrorFailingURLKey=https://my.examp
2
0
418
Oct ’24
Reply to Entitlement issues with network extension
Lucky, people I am struggling over 1,5 year with code signing not working for not-paying dev accounts (and even Apple support cannot help maybe they are afraid to admt they no longer allow testing app od device for non-paid accounts). That being said on Monterey I always see during run Failed retrieving MusicKit tokens: Error Domain=ICErrorDomain Code=-7009 Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the com.apple.application-identifier entitlement. UserInfo={NSDebugDescription=Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the com.apple.application-identifier entitlement.}. Throwing .permissionDenied. 2022-08-10 19:37:12.939452+0200 ConMusic[3082:33162] [DataRequesting] Failed retrieving tokens for MusicDataRequest.Context(url: https://api.music.apple.com/v1/catalog/us/artists/1
Topic: App & System Services SubTopic: Drivers Tags:
Aug ’22
Command CompileAssetCatalog failed with a nonzero exit code 65
Every now and then our CI run would fail to compile our app project with the following error: Command CompileAssetCatalog failed with a nonzero exit code Exit status: 65 A simple re-trigger of the same CI job (Jenkins) without any code changes would then succeed without any errors. This started happening with Xcode 11.0 and still exists today with Xcode 11.5 and Xcode 12.0 Beta. Questions: How and where can I get more info why CompileAssetCatalog command failed? What does exit status 65 mean? Where can i find the error codes of actool? Can anybody point me in the right direction how to debug this to figure out what makes it fail? Side info: We have two .xcassets files in our app project. Not sure if this is important.
6
0
7.1k
Jun ’20
Reply to Notary tool returns status: Invalid
[09:28:34.849Z] Info [API] Received new status: In Progress Current status: In Progress.....[09:28:34.851Z] Info [API] Waiting 5 seconds before next poll... [09:28:39.853Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Parameters: [:] [09:28:39.854Z] Debug [AUTHENTICATION] Using cached token value for app-specific password request: MYTEAMID:MYAPPLEID [09:28:39.856Z] Debug [AUTHENTICATION] Authenticating request with App Specific Password credentials. AppleID: MYAPPLEID, Password: private, Team ID: MYTEAMID [09:28:39.858Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls. [09:28:40.254Z] Debug [API] Received response status code: 200, message: no error, URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Correlation Key: GTFTIB7L665HT574EVFF5FZ7DM [09:2
Topic: Code Signing SubTopic: Notarization Tags:
May ’24
Reply to MTLInitializeInterpose
Is anyone else still having this issue?I've rebooted my Macbook Pro and iPhone 6 Plus a bunch of times over the last couple of weeks but still get the following failing assertion if GPU Frame Capture is set to either Metal or Automatically Enabled:2015-08-04 20:38:15.606 MetalTest[503:239923] Metal GPU Frame Capture Enabled2015-08-04 20:38:15.607 MetalTest[503:239923] failed assertion _interposeHandle != NULL at /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-54.18/Framework/MTLDevice.mm:112 MTLInitializeInterposeI'm currently using OSX BETA 4 and iOS 9 BETA 4. This has been happening since BETA 2 I believe! This happens when using the GameTemplate without any changes in Swift and Metal!Any comments welcome,Cheers,Hegski
Topic: Graphics & Games SubTopic: General Tags:
Aug ’15
Code Signing, Evaluation Status, Invalid Extended Key Usage
Hi We are trying to Code sign an application from a server over SSH. We get this error from the Server: Failed to generate branded installation software: Codesigning frameworks: Running remote command: Process exited with status 1, SoftPlan-Backup.app: errSecInternalComponent In subcomponent: /private/var/folders/79/1kz2lffs31q71fhvbpckfk4r0000gn/T/tmp.6YmYqfJg/SoftPlan-Backup.app/Contents/MacOS/backup-tool Remote codesign process failure (0) When I try to Evaluate the Developer ID Installer Certificate i get Evaluation Status: Invalid Extended Key Usage. Certificate Status Good. I do not get this error with Developer ID Application certificate. Any ideas what might be wrong?
1
0
1.6k
Jan ’22
Reply to URLSession errors
Why are status codes like 400/500 not presented in the Error? object of the completionHandler? The URLSession API draws a strict line between: Transport errors, that is, errors getting your request too the server or getting the response backServer-side errors, that is, the HTTP status code in the response from the serverThe main reason for this is that the interpretation of server errors can be server specific, and that makes things hard for a generic HTTP client, like URLSession, that has to work with all servers. If this setup is inconvenient to you, it’s quite straightforward to add your own wrapper to make things easier. For example, pasted in below is an extension on URLSession that treats anything except 200...299 as an error. Note This code uses the Swift 5 Result type, and thus requires Xcode 10.2 beta. If you need Swift 4 compatibility, you can use your own Result type (or the one from your favourite third-party library). Is ther
Feb ’19
"status": "401", "code": "NOT_AUTHORIZED", "title": "Authentication credentials are missing or invalid."
I do the work Generating Tokens for API Requests.Return this error:errors: [{status: 401,code: NOT_AUTHORIZED,title: Authentication credentials are missing or invalid.,detail: Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens}]//-----------------------------------------------------------------------------------My php Code is :$strUrl = https://api.appstoreconnect.apple.com/v1/salesReports;$dHeader = array(alg => ES256, kid => XXXX5XWNA4, typ => JWT);$strHeader = json_encode($dHeader);$strBase64Header = Base64UrlEncode($strHeader, JSON_UNESCAPED_UNICODE);$dPayLoad = array(iss => 4f830cec-8495-4a09-abae-52030dda7fbb, exp=>time()+1200, aud=>appstoreconnect-v1);$strPayLoad = json_encode($dPayLoad);$strBase64PayLoad = Base64UrlEncode($strPayLoad, JSON_UNESCAPED_UNICODE);$strContent = $strBase6
3
0
11k
Jul ’19
ATS blocking a valid https request
Let me start by saying this issue is probably something I'm doing incorrectly.... Xcode 11.4.1, Simulator is an iPhone 8 with iOS 13.4 The following error is thrown, even though I believe I've created a valid https request. Error: 2020-06-25 15:26:01.992051-0700 test[3593:161973] Cannot start load of Task <E2C01EF1-C4B8-40F7-AC1A-6791EC0BC5F1>.<1> since it does not conform to ATS policy 2020-06-25 15:26:01.998607-0700 test[3593:161974] Task <E2C01EF1-C4B8-40F7-AC1A-6791EC0BC5F1>.<1> finished with error [-1022] Error Domain=NSURLErrorDomain Code=-1022 The resource could not be loaded because the App Transport Security policy requires the use of a secure connection. UserInfo={NSUnderlyingError=0x600003b73120 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 (null)}, NSErrorFailingURLStringKey=http://xxxxx, NSErrorFailingURLKey=http://xxxxxx, NSLocalizedDescription=The resource could not be loaded because the App Transport Security poli
3
0
1.7k
Jun ’20
Reply to 403 Forbidden error
I’m seeing the same issue when calling the API to search certificates. The response looks like this: { status: 403, code: FORBIDDEN_ERROR, title: This request is forbidden for security reasons, detail: Unable to find a team with the given Content Provider ID 'xxxxxxxxx' to which you belong. Please contact Apple Developer Program Support. https://developer.apple.com/support } Has anyone resolved this ?
Sep ’25
AppClip code signing fails
I've created App Clip for my Application, but code signing fails with below error. Provisioning profile **** doesn't match the entitlements file's value for the com.apple.developer.parent-application-identifiers entitlement.**
Replies
0
Boosts
0
Views
607
Activity
May ’21
POST request failing only when app goes in to background.
I'm trying to troubleshoot what is going on with my app. The app works just fine when the user is logged in. It's able to post data to my REST API just fine. But when the app goes in to the background, the BGAppRefreshTask fires off just fine, but it's unable to post its data. There payload is super small a two keys and two short strings and thats it. I've tried searching on kCFStreamErrorCodeKey -2103 and ErrorDomainKey 4 but not much comes up. Here is my error with the URL string altered... Error Domain=NSURLErrorDomain Code=-1001 The request timed out. UserInfo={_kCFStreamErrorCodeKey=-2103, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <3126EFA1-00D3-4423-A31B-D40AB900292D>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( LocalDataTask <3126EFA1-00D3-4423-A31B-D40AB900292D>.<1> ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://my.example.com/myapi/v1/device, NSErrorFailingURLKey=https://my.examp
Replies
2
Boosts
0
Views
418
Activity
Oct ’24
Reply to Entitlement issues with network extension
Lucky, people I am struggling over 1,5 year with code signing not working for not-paying dev accounts (and even Apple support cannot help maybe they are afraid to admt they no longer allow testing app od device for non-paid accounts). That being said on Monterey I always see during run Failed retrieving MusicKit tokens: Error Domain=ICErrorDomain Code=-7009 Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the com.apple.application-identifier entitlement. UserInfo={NSDebugDescription=Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the com.apple.application-identifier entitlement.}. Throwing .permissionDenied. 2022-08-10 19:37:12.939452+0200 ConMusic[3082:33162] [DataRequesting] Failed retrieving tokens for MusicDataRequest.Context(url: https://api.music.apple.com/v1/catalog/us/artists/1
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Aug ’22
Command CompileAssetCatalog failed with a nonzero exit code 65
Every now and then our CI run would fail to compile our app project with the following error: Command CompileAssetCatalog failed with a nonzero exit code Exit status: 65 A simple re-trigger of the same CI job (Jenkins) without any code changes would then succeed without any errors. This started happening with Xcode 11.0 and still exists today with Xcode 11.5 and Xcode 12.0 Beta. Questions: How and where can I get more info why CompileAssetCatalog command failed? What does exit status 65 mean? Where can i find the error codes of actool? Can anybody point me in the right direction how to debug this to figure out what makes it fail? Side info: We have two .xcassets files in our app project. Not sure if this is important.
Replies
6
Boosts
0
Views
7.1k
Activity
Jun ’20
Reply to Persistent 503/500 errors with Apple Search Ads API
Still same getting 503
Replies
Boosts
Views
Activity
Aug ’25
Reply to Notary tool returns status: Invalid
[09:28:34.849Z] Info [API] Received new status: In Progress Current status: In Progress.....[09:28:34.851Z] Info [API] Waiting 5 seconds before next poll... [09:28:39.853Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Parameters: [:] [09:28:39.854Z] Debug [AUTHENTICATION] Using cached token value for app-specific password request: MYTEAMID:MYAPPLEID [09:28:39.856Z] Debug [AUTHENTICATION] Authenticating request with App Specific Password credentials. AppleID: MYAPPLEID, Password: private, Team ID: MYTEAMID [09:28:39.858Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls. [09:28:40.254Z] Debug [API] Received response status code: 200, message: no error, URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Correlation Key: GTFTIB7L665HT574EVFF5FZ7DM [09:2
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
May ’24
NSURLSessionTaskMetrics do not contains available infomation of HTTP request
in my app, send request with NSURLSession. but i can not get available infomation ( eg. remoteAddress, TLS version) when request failed i want get more infomation for failed request. eg. remoteAddress, remotePort, TLS Version...
Replies
1
Boosts
0
Views
997
Activity
Jan ’23
M3U8 Media playback failing with error code 12927
I'm getting an issue even unencrypted video playback also failing with status failed. Error Domain=CoreMediaErrorDomain Code=-12927 (null) I unable to find any info on above error code. Is there some way to look this up? Sample master M3U8 is shared below. Note: If I use any variant M3U8 then it is working playing fine.
Replies
4
Boosts
0
Views
1.1k
Activity
May ’24
Reply to MTLInitializeInterpose
Is anyone else still having this issue?I've rebooted my Macbook Pro and iPhone 6 Plus a bunch of times over the last couple of weeks but still get the following failing assertion if GPU Frame Capture is set to either Metal or Automatically Enabled:2015-08-04 20:38:15.606 MetalTest[503:239923] Metal GPU Frame Capture Enabled2015-08-04 20:38:15.607 MetalTest[503:239923] failed assertion _interposeHandle != NULL at /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-54.18/Framework/MTLDevice.mm:112 MTLInitializeInterposeI'm currently using OSX BETA 4 and iOS 9 BETA 4. This has been happening since BETA 2 I believe! This happens when using the GameTemplate without any changes in Swift and Metal!Any comments welcome,Cheers,Hegski
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’15
Codex Requests Failing in Xcode 26.5 and Xcode 27 Beta
Hi everyone, Since today, all my Codex requests have been failing in both Xcode 26.5 and Xcode 27 beta. The Codex integration appears to be connected and authenticated correctly, but every request fails immediately with the error shown in the attached screenshot. Error message: The data couldn’t be read because it isn’t in the correct format.
Replies
5
Boosts
0
Views
155
Activity
5d
Code Signing, Evaluation Status, Invalid Extended Key Usage
Hi We are trying to Code sign an application from a server over SSH. We get this error from the Server: Failed to generate branded installation software: Codesigning frameworks: Running remote command: Process exited with status 1, SoftPlan-Backup.app: errSecInternalComponent In subcomponent: /private/var/folders/79/1kz2lffs31q71fhvbpckfk4r0000gn/T/tmp.6YmYqfJg/SoftPlan-Backup.app/Contents/MacOS/backup-tool Remote codesign process failure (0) When I try to Evaluate the Developer ID Installer Certificate i get Evaluation Status: Invalid Extended Key Usage. Certificate Status Good. I do not get this error with Developer ID Application certificate. Any ideas what might be wrong?
Replies
1
Boosts
0
Views
1.6k
Activity
Jan ’22
Reply to URLSession errors
Why are status codes like 400/500 not presented in the Error? object of the completionHandler? The URLSession API draws a strict line between: Transport errors, that is, errors getting your request too the server or getting the response backServer-side errors, that is, the HTTP status code in the response from the serverThe main reason for this is that the interpretation of server errors can be server specific, and that makes things hard for a generic HTTP client, like URLSession, that has to work with all servers. If this setup is inconvenient to you, it’s quite straightforward to add your own wrapper to make things easier. For example, pasted in below is an extension on URLSession that treats anything except 200...299 as an error. Note This code uses the Swift 5 Result type, and thus requires Xcode 10.2 beta. If you need Swift 4 compatibility, you can use your own Result type (or the one from your favourite third-party library). Is ther
Replies
Boosts
Views
Activity
Feb ’19
"status": "401", "code": "NOT_AUTHORIZED", "title": "Authentication credentials are missing or invalid."
I do the work Generating Tokens for API Requests.Return this error:errors: [{status: 401,code: NOT_AUTHORIZED,title: Authentication credentials are missing or invalid.,detail: Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens}]//-----------------------------------------------------------------------------------My php Code is :$strUrl = https://api.appstoreconnect.apple.com/v1/salesReports;$dHeader = array(alg => ES256, kid => XXXX5XWNA4, typ => JWT);$strHeader = json_encode($dHeader);$strBase64Header = Base64UrlEncode($strHeader, JSON_UNESCAPED_UNICODE);$dPayLoad = array(iss => 4f830cec-8495-4a09-abae-52030dda7fbb, exp=>time()+1200, aud=>appstoreconnect-v1);$strPayLoad = json_encode($dPayLoad);$strBase64PayLoad = Base64UrlEncode($strPayLoad, JSON_UNESCAPED_UNICODE);$strContent = $strBase6
Replies
3
Boosts
0
Views
11k
Activity
Jul ’19
ATS blocking a valid https request
Let me start by saying this issue is probably something I'm doing incorrectly.... Xcode 11.4.1, Simulator is an iPhone 8 with iOS 13.4 The following error is thrown, even though I believe I've created a valid https request. Error: 2020-06-25 15:26:01.992051-0700 test[3593:161973] Cannot start load of Task <E2C01EF1-C4B8-40F7-AC1A-6791EC0BC5F1>.<1> since it does not conform to ATS policy 2020-06-25 15:26:01.998607-0700 test[3593:161974] Task <E2C01EF1-C4B8-40F7-AC1A-6791EC0BC5F1>.<1> finished with error [-1022] Error Domain=NSURLErrorDomain Code=-1022 The resource could not be loaded because the App Transport Security policy requires the use of a secure connection. UserInfo={NSUnderlyingError=0x600003b73120 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 (null)}, NSErrorFailingURLStringKey=http://xxxxx, NSErrorFailingURLKey=http://xxxxxx, NSLocalizedDescription=The resource could not be loaded because the App Transport Security poli
Replies
3
Boosts
0
Views
1.7k
Activity
Jun ’20
Reply to 403 Forbidden error
I’m seeing the same issue when calling the API to search certificates. The response looks like this: { status: 403, code: FORBIDDEN_ERROR, title: This request is forbidden for security reasons, detail: Unable to find a team with the given Content Provider ID 'xxxxxxxxx' to which you belong. Please contact Apple Developer Program Support. https://developer.apple.com/support } Has anyone resolved this ?
Replies
Boosts
Views
Activity
Sep ’25