Search results for

“Request failed with http status code 503”

201,021 results found

Post

Replies

Boosts

Views

Activity

How to detect if the request was served via http/1.1 or http2.0
We would like to make a distinction as to which request was served via HTTP/2 or HTTP/1.1I looked HTTPURLResponse api and other api's in CFNetwork to see if we can determine this. I have however not been succesfull in finding if the specific API is served as http/1.1 or http/2Is there a API call I'm missing that would give this information?Thank you,Sohil
1
0
729
Aug ’18
Code has restricted entitlements, but the validation of its code signature failed
I am converting an existing app to be distributed through the MacStore. The basic app will be free with 1 optional in-app purchase for the more advanced features. I have made all the changes to work under the App Sandbox while signed as a Developer ID Application and is running fine. I am using Xcode 13.4.1 on an Intel MacBook Pro 2019 running the latest Monterey 12.4. The app also has an embedded command-line tool. The entitlements defined for the app in Xcode are: com.apple.security.app-sadbox com.apple.security.automation.apple-events com.apple.security.cs.disable-library-validation com.apple.security.device.audio-input com.apple.security.device.camera com.apple.security.files.bookmarks.app-scope com.apple.security.files.bookmarks.document-scope com.apple.security.files.user-selected.read-write com.apple.security.temporary-exception.apple-events com.apple.mail com.microsoft.Outlook Now I am trying to implement the AppStore related functionality and the app crashes on launch with the error on t
1
0
956
Jul ’22
Reply to CFNetwork SSLHandshake failed (-9806)
It’s hard to say what’s going on here without more context. If I create a simple test app that accesses https://client.safe-text.com/api/sync/, the TLS side of things works just fine (the request completes with no error, with an HTTP status of 200, and an HTTP body that says GET requests are not supported for sync). So this TLS-level error is either environmental (it happens in your environment but not in mine) or related to the specific request you sent. To tease these apart I recommend you create a small test app that does the following:[[[NSURLSession sharedSession] dataTaskWithURL:[NSURL URLWithString:@https://client.safe-text.com/api/sync/] completionHandler:^(NSData * data, NSURLResponse * response, NSError * error) { #pragma unused(response) if (error == nil) { NSLog(@task finished with status %d, (int) ((NSHTTPURLResponse *) response).statusCode); } else { NSLog(@task error %@ / %d, error.domain, (int) error.code); } NSLo
Jan ’16
Reply to {"reason": "NOT_ENABLED"}
There was a transient issue with WeatherKit that's since been resolved: https://developer.apple.com/system-status/ It's unlikely that changing from App ID to Service ID helped to avoid the issue . More likely, it was just that a couple of hours elapsed before you tried again. If you see a 401 error, that means you failed to authorize, but not necessarily that your token is invalid. When you see such errors, I recommend that you: Check the system status at https://developer.apple.com/system-status/. File a report via Feedback Assistant: https://developer.apple.com/bug-reporting/ Start a new thread here in the developer forums (or post in an existing thread, if some has very recently started a new one.)
Topic: App & System Services SubTopic: General Tags:
Sep ’22
Reply to Cannot invite a tester to my testflight build, 409 error
I am an administrator and want to add people to the internal test group of testflight, but I keep getting an error. errors : [ { id : ef93f5b2-3d39-4a87-bbc8-942032664462, status : 409, code : STATE_ERROR, title : The request cannot be fulfilled because of the state of another resource., detail : Tester(s) cannot be assigned } ] url = https://api.appstoreconnect.apple.com/v1/betaTesters headers = { Authorization: fBearer {access_token}, Content-Type: application/json } data = { data: { type: betaTesters, relationships: { betaGroups: { data: [ { id: ****, type: betaGroups } ] } }, attributes: { email: email, firstName: firstName, lastName: lastName } } } response = requests.post(url, headers=headers, json=data) if response.status_code == 201: print(succes:, response.content) else: print(fail:, response.text)
Nov ’24
Reply to AppStoreConnect API - How to set pricing
As a follow up to the post above linking to the documentation for the appPriceSchedules API, a request that follows the documentation as written results in the following response: { errors: [{ status: 405, code: METHOD_NOT_ALLOWED, title: The request method is not valid for the resource path., detail: The request method used for this request is not valid for the resource path. Please consult the documentation. }] }
Jan ’24
Reply to Can't update watchOS 2.0 (13S343) to 2.1
For completeness sake, this is what's printed to the console when trying to install the update:Dec 13 00:08:10 iPhone subridged[988] <Error>: __main_block_invoke92: Install error Error Domain=SUBError Code=12 Failed to apply update UserInfo={NSLocalizedDescription=Failed to apply update, NSUnderlyingError=0x157e1fa20 {Error Domain=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize boot/firmware bundle. UserInfo={NSUnderlyingError=0x157e32370 {Error Domain=PersonalizationErrorDomain Code=3194 AMAuthInstallBundlePersonalize() failed: This device isn't eligible for the requested build. UserInfo={NSLocalizedDescription=AMAuthInstallBundlePersonalize() failed: This device isn't eligible for the requested build.}}, NSLocalizedDescription=Could not personalize boot/firmware bundle., target_update=13S344}}} with userInfo { NSLocalizedDescription = Failed to apply update; NSUnderlyingError = Error Domain=MobileSof
Dec ’15
Reply to Deffie Hellman exchange for ECDH
[quote='815616022, collinsMuthomi, /thread/769353?answerId=815616022#815616022, /profile/collinsMuthomi'] status 0 is from back end. [/quote] OK. I’ll come back to that in a sec, but first I want to clarify one point. In your first post you wrote: [quote='769353021, collinsMuthomi, /thread/769353, /profile/collinsMuthomi'] I am getting a failed request with status 0 [/quote] and you also wrote: [quote='769353021, collinsMuthomi, /thread/769353, /profile/collinsMuthomi'] This is backend's response {message:Success,status:1,… [/quote] This seems to be contradictory, that is, the status in the second quote is 1, not 0. But as to how you debug this in general, if you send something to your back end and it responds with a ‘failedstatus, it’s hard to debug that on the client. You need to talk to your back-end folks to see if there’s a way for them to provide you with more info as to why the thing you sent is incorrect. Share and Enjoy — Quinn
Topic: Privacy & Security SubTopic: General Tags:
Dec ’24
Invalid Signature. Code failed to satisfy specified code requirement(s).
Hello Apple team, We're having a problem submitting one of our apps to TestFlight via Xcode Cloud. We have over 10 apps with the same codebase and all of them build successfully. However, one application fails to build in Xcode Cloud, although there is no problem with manual build. We would appreciate your help in resolving this situation. Can you please help us resolve this issue? We are ready to provide additional information or logs to clarify the causes of the error. Sincerely, Anton Babich Xcode Cloud Archive - iOS encountered a failure that caused the build to fail. Prepare Build for App Store Connect Invalid Signature. Code failed to satisfy specified code requirement(s). The file at path “moBiel Live.app/Frameworks/grpcpp.framework/grpcpp” is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are corre
6
0
3.9k
Jul ’23
Reply to removeCachedResponseForRequest doesn't work in IOS 9?
Hi Eskimo, Thanks for your response. I have made a small Playground example to illustrate the problem I have. In the code below when I run it I never reach the Made it print line. It always fails somewhere inside the loop. It always fails on the remove never on the store. Atleast in the 20-30 times I ran it. This is ofcourse not something I do in production code but this way I get to see the behaviour more clear. import Foundation if #available(iOS 14, *) { print(iOS 14 available) } let url = URL(string: https://apple.com)! var request = URLRequest(url: url) request.httpBody = test.data(using: .utf8)! let httpResponse = HTTPURLResponse(url: url, statusCode: 200, httpVersion: nil, headerFields: nil)! let cachedURLResponse = Foundation.CachedURLResponse(response: httpResponse, data: request.httpBody!) let cache = URLCache.shared cache.removeAllCachedResponses() assert(cache.cachedResponse(for: request) == nil, Remove all should start clean) for i in
Oct ’20
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
I got this error:NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)The certificate for this server is invalid. You might be connecting to a server that is pretending to be “m.appcenter.monas.co.id” which could put your confidential information at risk.I already set up the plist like this:<key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>m.appcenter.monas.co.id</key> <dict> <!--Include to allow subdomains--> <key>NSIncludesSubdomains</key> <true/> <!--Include to allow insecure HTTP requests--> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> <!--Include to specify minimum TLS version--> <key>NSExceptionMinimumTLSVersion</key> <string>TLSv1.0</string> <key>NSTemporaryExceptionRequiresForwardSecrecy</key> <false/> </dict> </dict> </dict>can anyone
1
0
9.0k
Mar ’16
Command PhaseScriptExecution failed with a nonzero exit code
I am working on a Unity IOS game. I keep getting this reoccurring issue. I downloaded XCODE via the app store, so it automatically is in my applications folder Here is the log: Showing Recent Messages WorkingDir: /Users/parkerbrandt/Library/Developer/Xcode/DerivedData/Unity-iPhone-gsxoxmhunhavroeddecygwafmdgn/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/artifacts/arm64/buildstate ExitCode: 4 Duration: 0s13ms ExitCode: 1 Duration: 0s1ms Build failed with 0 successful nodes and 0 failed ones Error: Internal build system error. BuildProgram exited with code 1. Unity.IL2CPP.Bee.BuildLogic.ToolchainNotFoundException: IL2CPP C++ code builder is unable to build C++ code. In order to build C++ code for Mac, you must have Xcode installed. Building for Apple Silicon requires Xcode 9.4 and Mac 10.12 SDK. Xcode needs to be installed in the /Applications directory and have a name matching Xcode*.app. Or be selected using xcode-select. It's
2
0
1.8k
Oct ’23
Reply to Not able to create new version for our app in Appstore
There is an error when creating a new version of the app. https://appstoreconnect.apple.com/iris/v1/appStoreVersions is returning HTTP 500 status code This is error is on Apple's side.
Replies
Boosts
Views
Activity
Feb ’24
How to detect if the request was served via http/1.1 or http2.0
We would like to make a distinction as to which request was served via HTTP/2 or HTTP/1.1I looked HTTPURLResponse api and other api's in CFNetwork to see if we can determine this. I have however not been succesfull in finding if the specific API is served as http/1.1 or http/2Is there a API call I'm missing that would give this information?Thank you,Sohil
Replies
1
Boosts
0
Views
729
Activity
Aug ’18
Code has restricted entitlements, but the validation of its code signature failed
I am converting an existing app to be distributed through the MacStore. The basic app will be free with 1 optional in-app purchase for the more advanced features. I have made all the changes to work under the App Sandbox while signed as a Developer ID Application and is running fine. I am using Xcode 13.4.1 on an Intel MacBook Pro 2019 running the latest Monterey 12.4. The app also has an embedded command-line tool. The entitlements defined for the app in Xcode are: com.apple.security.app-sadbox com.apple.security.automation.apple-events com.apple.security.cs.disable-library-validation com.apple.security.device.audio-input com.apple.security.device.camera com.apple.security.files.bookmarks.app-scope com.apple.security.files.bookmarks.document-scope com.apple.security.files.user-selected.read-write com.apple.security.temporary-exception.apple-events com.apple.mail com.microsoft.Outlook Now I am trying to implement the AppStore related functionality and the app crashes on launch with the error on t
Replies
1
Boosts
0
Views
956
Activity
Jul ’22
Command failed with a nonzero exit code
Today I update my Xcode with version 11 and getting this error Command failed with a nonzero exit code” I delete and install the pod file.put SDK again in my project but still I am getting the same error. I re started my mac and xcode. But still noting is working.
Replies
3
Boosts
0
Views
3.2k
Activity
Oct ’19
Reply to CFNetwork SSLHandshake failed (-9806)
It’s hard to say what’s going on here without more context. If I create a simple test app that accesses https://client.safe-text.com/api/sync/, the TLS side of things works just fine (the request completes with no error, with an HTTP status of 200, and an HTTP body that says GET requests are not supported for sync). So this TLS-level error is either environmental (it happens in your environment but not in mine) or related to the specific request you sent. To tease these apart I recommend you create a small test app that does the following:[[[NSURLSession sharedSession] dataTaskWithURL:[NSURL URLWithString:@https://client.safe-text.com/api/sync/] completionHandler:^(NSData * data, NSURLResponse * response, NSError * error) { #pragma unused(response) if (error == nil) { NSLog(@task finished with status %d, (int) ((NSHTTPURLResponse *) response).statusCode); } else { NSLog(@task error %@ / %d, error.domain, (int) error.code); } NSLo
Replies
Boosts
Views
Activity
Jan ’16
Reply to {"reason": "NOT_ENABLED"}
There was a transient issue with WeatherKit that's since been resolved: https://developer.apple.com/system-status/ It's unlikely that changing from App ID to Service ID helped to avoid the issue . More likely, it was just that a couple of hours elapsed before you tried again. If you see a 401 error, that means you failed to authorize, but not necessarily that your token is invalid. When you see such errors, I recommend that you: Check the system status at https://developer.apple.com/system-status/. File a report via Feedback Assistant: https://developer.apple.com/bug-reporting/ Start a new thread here in the developer forums (or post in an existing thread, if some has very recently started a new one.)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Cannot invite a tester to my testflight build, 409 error
I am an administrator and want to add people to the internal test group of testflight, but I keep getting an error. errors : [ { id : ef93f5b2-3d39-4a87-bbc8-942032664462, status : 409, code : STATE_ERROR, title : The request cannot be fulfilled because of the state of another resource., detail : Tester(s) cannot be assigned } ] url = https://api.appstoreconnect.apple.com/v1/betaTesters headers = { Authorization: fBearer {access_token}, Content-Type: application/json } data = { data: { type: betaTesters, relationships: { betaGroups: { data: [ { id: ****, type: betaGroups } ] } }, attributes: { email: email, firstName: firstName, lastName: lastName } } } response = requests.post(url, headers=headers, json=data) if response.status_code == 201: print(succes:, response.content) else: print(fail:, response.text)
Replies
Boosts
Views
Activity
Nov ’24
Reply to AppStoreConnect API - How to set pricing
As a follow up to the post above linking to the documentation for the appPriceSchedules API, a request that follows the documentation as written results in the following response: { errors: [{ status: 405, code: METHOD_NOT_ALLOWED, title: The request method is not valid for the resource path., detail: The request method used for this request is not valid for the resource path. Please consult the documentation. }] }
Replies
Boosts
Views
Activity
Jan ’24
Reply to Can't update watchOS 2.0 (13S343) to 2.1
For completeness sake, this is what's printed to the console when trying to install the update:Dec 13 00:08:10 iPhone subridged[988] <Error>: __main_block_invoke92: Install error Error Domain=SUBError Code=12 Failed to apply update UserInfo={NSLocalizedDescription=Failed to apply update, NSUnderlyingError=0x157e1fa20 {Error Domain=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize boot/firmware bundle. UserInfo={NSUnderlyingError=0x157e32370 {Error Domain=PersonalizationErrorDomain Code=3194 AMAuthInstallBundlePersonalize() failed: This device isn't eligible for the requested build. UserInfo={NSLocalizedDescription=AMAuthInstallBundlePersonalize() failed: This device isn't eligible for the requested build.}}, NSLocalizedDescription=Could not personalize boot/firmware bundle., target_update=13S344}}} with userInfo { NSLocalizedDescription = Failed to apply update; NSUnderlyingError = Error Domain=MobileSof
Replies
Boosts
Views
Activity
Dec ’15
AppsService: ResponseErrors (1): Error status: 403, code: FORBIDDEN.OFAC_UNCLEARED
AppsService: ResponseErrors (1): Error status: 403, code: FORBIDDEN.OFAC_UNCLEARED, title: 'This Apple Account has not been cleared by sanctions.', detail: 'This Apple Account has not been cleared by sanctions, so it cannot access this page.', id: APWYCBZ5RE3RNNIKUDMYLQXFB4
Replies
0
Boosts
0
Views
123
Activity
Dec ’25
Reply to Deffie Hellman exchange for ECDH
[quote='815616022, collinsMuthomi, /thread/769353?answerId=815616022#815616022, /profile/collinsMuthomi'] status 0 is from back end. [/quote] OK. I’ll come back to that in a sec, but first I want to clarify one point. In your first post you wrote: [quote='769353021, collinsMuthomi, /thread/769353, /profile/collinsMuthomi'] I am getting a failed request with status 0 [/quote] and you also wrote: [quote='769353021, collinsMuthomi, /thread/769353, /profile/collinsMuthomi'] This is backend's response {message:Success,status:1,… [/quote] This seems to be contradictory, that is, the status in the second quote is 1, not 0. But as to how you debug this in general, if you send something to your back end and it responds with a ‘failedstatus, it’s hard to debug that on the client. You need to talk to your back-end folks to see if there’s a way for them to provide you with more info as to why the thing you sent is incorrect. Share and Enjoy — Quinn
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’24
Invalid Signature. Code failed to satisfy specified code requirement(s).
Hello Apple team, We're having a problem submitting one of our apps to TestFlight via Xcode Cloud. We have over 10 apps with the same codebase and all of them build successfully. However, one application fails to build in Xcode Cloud, although there is no problem with manual build. We would appreciate your help in resolving this situation. Can you please help us resolve this issue? We are ready to provide additional information or logs to clarify the causes of the error. Sincerely, Anton Babich Xcode Cloud Archive - iOS encountered a failure that caused the build to fail. Prepare Build for App Store Connect Invalid Signature. Code failed to satisfy specified code requirement(s). The file at path “moBiel Live.app/Frameworks/grpcpp.framework/grpcpp” is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are corre
Replies
6
Boosts
0
Views
3.9k
Activity
Jul ’23
Reply to removeCachedResponseForRequest doesn't work in IOS 9?
Hi Eskimo, Thanks for your response. I have made a small Playground example to illustrate the problem I have. In the code below when I run it I never reach the Made it print line. It always fails somewhere inside the loop. It always fails on the remove never on the store. Atleast in the 20-30 times I ran it. This is ofcourse not something I do in production code but this way I get to see the behaviour more clear. import Foundation if #available(iOS 14, *) { print(iOS 14 available) } let url = URL(string: https://apple.com)! var request = URLRequest(url: url) request.httpBody = test.data(using: .utf8)! let httpResponse = HTTPURLResponse(url: url, statusCode: 200, httpVersion: nil, headerFields: nil)! let cachedURLResponse = Foundation.CachedURLResponse(response: httpResponse, data: request.httpBody!) let cache = URLCache.shared cache.removeAllCachedResponses() assert(cache.cachedResponse(for: request) == nil, Remove all should start clean) for i in
Replies
Boosts
Views
Activity
Oct ’20
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
I got this error:NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)The certificate for this server is invalid. You might be connecting to a server that is pretending to be “m.appcenter.monas.co.id” which could put your confidential information at risk.I already set up the plist like this:<key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>m.appcenter.monas.co.id</key> <dict> <!--Include to allow subdomains--> <key>NSIncludesSubdomains</key> <true/> <!--Include to allow insecure HTTP requests--> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> <!--Include to specify minimum TLS version--> <key>NSExceptionMinimumTLSVersion</key> <string>TLSv1.0</string> <key>NSTemporaryExceptionRequiresForwardSecrecy</key> <false/> </dict> </dict> </dict>can anyone
Replies
1
Boosts
0
Views
9.0k
Activity
Mar ’16
Command PhaseScriptExecution failed with a nonzero exit code
I am working on a Unity IOS game. I keep getting this reoccurring issue. I downloaded XCODE via the app store, so it automatically is in my applications folder Here is the log: Showing Recent Messages WorkingDir: /Users/parkerbrandt/Library/Developer/Xcode/DerivedData/Unity-iPhone-gsxoxmhunhavroeddecygwafmdgn/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/artifacts/arm64/buildstate ExitCode: 4 Duration: 0s13ms ExitCode: 1 Duration: 0s1ms Build failed with 0 successful nodes and 0 failed ones Error: Internal build system error. BuildProgram exited with code 1. Unity.IL2CPP.Bee.BuildLogic.ToolchainNotFoundException: IL2CPP C++ code builder is unable to build C++ code. In order to build C++ code for Mac, you must have Xcode installed. Building for Apple Silicon requires Xcode 9.4 and Mac 10.12 SDK. Xcode needs to be installed in the /Applications directory and have a name matching Xcode*.app. Or be selected using xcode-select. It's
Replies
2
Boosts
0
Views
1.8k
Activity
Oct ’23