Search results for

“Request failed with http status code 503”

201,102 results found

Post

Replies

Boosts

Views

Activity

Replaykit stop screen record failed, recording status is false
I want to record screen ,and than when I call the method stopCaptureWithHandler:(nullable void (^)(NSError *_Nullable error))handler to stop recording and saving file. before call it,I check the value record of RPScreenRecorder sharedRecorder ,the value is false , It's weird! The screen is currently being recorded ! I wonder if the value of [RPScreenRecorder sharedRecorder].record will affect the method stopCaptureWithHandler: -(void)startCaptureScreen { [[RPScreenRecorder sharedRecorder] startCaptureWithHandler:^(CMSampleBufferRef _Nonnull sampleBuffer, RPSampleBufferType bufferType, NSError * _Nullable error) { //code } completionHandler:^(NSError * _Nullable error) { //code }]; } - (void)stopRecordingHandler { if([[RPScreenRecorder sharedRecorder] isRecording]){ // deal error .sometime isRecording is false }else { [[RPScreenRecorder sharedRecorder] stopCaptureWithHandler:^(NSError * _Nullable error) { }]; } } here are my code.
0
0
127
Apr ’25
Reply to Always getting invalid_client when trying to authorize token...
Adding what helped me solve a similar problem:I had the same issue, checked every credential, made sure I'm using the `bundleId` from ios to verify and create client secret. Everything looked correct, but still, the request failed.Finally noticed that the request I was making trough a library sent is as `Content-Type: application/json`. Changed it to the correct `Content-Type: application/x-www-form-urlencoded` and everything was good. I'd call it a bug as Apple should fail the request with 415 Unsupported Media Type status instead 400 Bad Request.
Topic: App & System Services SubTopic: General Tags:
Mar ’20
Success WebSocket ping requests fail
[NSURLSessionWebSocketTask sendPingWithPongReceiveHandler:] on iOS does not seem to call the completion handler when called twice in a row with an intervening call to send or receive a message. Here is a minimal reproduction from an Objective-C project. - (void)viewDidLoad { [super viewDidLoad]; NSURLSession* session = [NSURLSession sharedSession]; NSURLSessionWebSocketTask* task = [session webSocketTaskWithRequest: [[NSURLRequest alloc] initWithURL:[[NSURL alloc] initWithString:@wss://ws.postman-echo.com/raw]]]; [task resume]; [task sendPingWithPongReceiveHandler:^(NSError * _Nullable error) { printf(Got ping 1n); /* We will get to this line. */ [task sendPingWithPongReceiveHandler:^(NSError * _Nullable error) { printf(Got ping 2n); /* We will *not* get to this line. */ }]; }]; } Using WireShark, I can verify that NSURLSession sends two pings and that the server responds with two pongs. But the callback handler does not get called after the second pong. Does anyone have an suggestions on what I could be doin
2
0
859
May ’23
Status Code 40015 Error Occurred in Apple Music API "add_a_resource_to_a_library"
When using the Apple Music API add_a_resource_to_a_library with Musickit JS, the following status code 40015 error occurred. {errors:[{id:26-digit-ID,title:Insufficient Privileges,detail:User's subscription tier does not have access to privilege: ListeningHistory,status:400,code:40015,messageForDisplay:Insufficient Privileges}]} This error is not listed in the Response Codes in the API documentation for this endpoint. (1) Are there any details about the cause of this error or other details described anywhere in the API documentation? (2) Are there any other errors that may occur besides this error that are not listed in the documentation for this endpoint?
0
0
751
Jul ’22
Reply to TestFlight testers status is blank
This has returned - I have a distribution group of 115 testers that has a valid, active build in the Testing status. Over half of the users in this group are now showing a status of - and I am getting reports that some cannot download the latest version (the TestFlight app is requesting a code). Removing then re-adding the users does no good - they come back into the list as -.
Oct ’23
Reply to Is it safe to retry -1005 error code on network request
Does either of these error codes along with status code 0 guarantee the request never hit the server and therefore always safe to perform a retry …Error -1005 is NSURLErrorNetworkConnectionLost and it’s definitely not safe to retry non-idempotent requests in that case. This error indicates that the TCP connection carrying the HTTP request tore before we got the response. There’s two possibilities: The request did not make it to the server.The request made it to the server but the response didn’t make it back to the client.In the second case a blind retry will cause problems. To avoid this, you must implement app-specific logic to query the server to see if the first request made it.In contrast, error -1009 is NSURLErrorNotConnectedToInternet, which means the request probably didn’t make it off the device. However, given that you have to implement app-specific recovery logic to handle NSURLErrorNetworkConnectionL
Nov ’16
Visit https://sandbox.itunes.apple.com/verifyReceipt failed
Hi When we add IAP for our app a few years ago, we setup our server to visit https://sandbox.itunes.apple.com/verifyReceipt, to verify our customer's receipt after the purchase the IAP. Everything goes well for the past few years. But since March 22, 2024, our server cannot visit the URL above any more, and the returned failure is SSLException: Received fatal alert: protocol_version(from JAVA). From this we guess that Apple have made some changes about the SSL/TLS protocol requirement of your server api. Could you guys tell us which SSL/TLS is required to visit this URL? We need these information to make a plan of our server code upgrade or something like that, and continue the receipt verification. Thank you. Hope to hear from you soon.
2
0
1.2k
Mar ’24
Reply to Can't export notarized app
I see messages in the console that are possibly related:DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEProducts/DVTProducts/DVTProducts/IDEProductsUI/IDEArchivesViewController.m:238Details: Failed to update notarization status for archive <DVTFilePath:0x7f811d1cb4e0:'/Users/claude/Library/Developer/Xcode/Archives/2018-09-28/[APPNAME] 9-28-18, 7.16 AM.xcarchive'> (Error Domain=IDEArchiveErrorDomain Code=0 Failed to fetch updated status. UserInfo={NSUnderlyingError=0x7f811cc43df0 {Error Domain=ITunesConnectionOperationErrorDomain Code=1519 Could not find the RequestUUID. UserInfo={NSLocalizedRecoverySuggestion=Could not find the RequestUUID., NSLocalizedFailureReason=Apple Services operation failed., NSLocalizedDescription=Could not find the RequestUUID.}}, NSLocalizedDescription=Failed to fetch updated status., NSLocalizedRecoverySuggestion=Couldn't find submi
Sep ’18
Reply to Can't update watchOS 2.0 (13S343) to 2.1
I am also seeing the same logs!:Dec 17 07:59:01 iPhone subridged[1648] <Error>: __main_block_invoke92: Install error Error Domain=SUBError Code=12 Failed to apply update UserInfo={NSLocalizedDescription=Failed to apply update, NSUnderlyingError=0x15cd177e0 {Error Domain=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize boot/firmware bundle. UserInfo={NSUnderlyingError=0x15cd2c1c0 {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=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize b
Dec ’15
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
I'm trying to connect my iOS app to an HTTPS site runs in my network. I can access the site from my browser with http://domain.com.sa but not through the app. I have tried setting the ATS and disabling it too. but the same error appeared:NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)I am using xcode 7, Swift 2 and testing the app on iphone with iOS 9.Any idea how to fix this ?
3
0
11k
Oct ’15
Reply to Live Caller ID Extension - timeout connecting to PIRService
@Apple I can now enable Live Caller ID in Settings and the OS isn't churning out any errors while doing so. However when a call is made to the handset, I see see the OS is doing a lookup to the PIRService, but its timing out: error = Error Domain=com.apple.CipherML Code=400 Error Domain=com.apple.CipherML Code=401 Unable to request data by keywords batch: The request timed out. UserInfo={NSLocalizedDescription=Unable to request data by keywords batch: The request timed out., NSUnderlyingError=0x8b4290a80 {Error Domain=NSURLErrorDomain Code=-1001 The request timed out. UserInfo={NSLocalizedDescription=The request timed out., NSErrorFailingURLKey=http://192.168.1.100:8080/.well-known/private-token-issuer-directory}}}: The request timed out. UserInfo={NSLocalizedDescription=Error Domain=com.apple.CipherML Code=401 Unable to request data by keywords batch: The request timed out. UserInfo={
Topic: App & System Services SubTopic: General Tags:
Jul ’24
Reply to Error activating "iCloud Sync" (3rd. party apps)
Got this error on my Macs tooMac miniRequest failed with http status code 503Macbook ProThe operation couldn’t be completed. (CKErrorDomain error 7.)also not on Mac beta, but the iPhone is running the 9.3 beta 4I recognized also that the Notes.app stops syncing via iCloud, seemed that this is a major iCloud problem. 1Password told me that Last sync: 4 days ago, since installation of iOS 9.3 beta 4
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’16
Reply to presenting appropriate certificate according to client's SNI using NWListener
We're developing HTTP server which server multiple hostnames, thus we need to presenting certificates according to requested names. It all should be handled on same listening port(443). What are options to analyze client's TLS requested ServerName Identifier(SNI) and present certificate accordingly ? I just spun up a local test program on macOS and was able to do this using the following technique: Create a local certificate authority that issues leaf certificates for each hostname being served by your server. Install the root and the leaf identities into the Keychain. Note, I am using a testing strategy that sets the identity name in the Keychain as the servername. For example, https://sully.local:4433 and https://biff.local:4433. Then set sec_protocol_options_set_challenge_block to hand the sec_protocol_metadata_t data to sec_protocol_metadata_get_server_name and use this to extract the identity and use it on the connection. func getSecIdentity(name: String) ->
Mar ’22
Reply to Deffie Hellman exchange for ECDH
status 0 is from back end. if status is 0 it's a fail, when status is 1 it's a success
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Replaykit stop screen record failed, recording status is false
I want to record screen ,and than when I call the method stopCaptureWithHandler:(nullable void (^)(NSError *_Nullable error))handler to stop recording and saving file. before call it,I check the value record of RPScreenRecorder sharedRecorder ,the value is false , It's weird! The screen is currently being recorded ! I wonder if the value of [RPScreenRecorder sharedRecorder].record will affect the method stopCaptureWithHandler: -(void)startCaptureScreen { [[RPScreenRecorder sharedRecorder] startCaptureWithHandler:^(CMSampleBufferRef _Nonnull sampleBuffer, RPSampleBufferType bufferType, NSError * _Nullable error) { //code } completionHandler:^(NSError * _Nullable error) { //code }]; } - (void)stopRecordingHandler { if([[RPScreenRecorder sharedRecorder] isRecording]){ // deal error .sometime isRecording is false }else { [[RPScreenRecorder sharedRecorder] stopCaptureWithHandler:^(NSError * _Nullable error) { }]; } } here are my code.
Replies
0
Boosts
0
Views
127
Activity
Apr ’25
Reply to Always getting invalid_client when trying to authorize token...
Adding what helped me solve a similar problem:I had the same issue, checked every credential, made sure I'm using the `bundleId` from ios to verify and create client secret. Everything looked correct, but still, the request failed.Finally noticed that the request I was making trough a library sent is as `Content-Type: application/json`. Changed it to the correct `Content-Type: application/x-www-form-urlencoded` and everything was good. I'd call it a bug as Apple should fail the request with 415 Unsupported Media Type status instead 400 Bad Request.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’20
Policy enforcement failed BM3 STATUS 706 - cid 0x00000A06, handle 28180480 securityFailed 1
I couldn't connect to the paired MFI device. I see the following line the log.Policy enforcement failed BM3 STATUS 706 - cid 0x00000A06, handle 28180480 securityFailed 1Does anyone experience this issue? iOS version is 10.3.2 and device type is iPhone 5S.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
671
Activity
Oct ’17
Success WebSocket ping requests fail
[NSURLSessionWebSocketTask sendPingWithPongReceiveHandler:] on iOS does not seem to call the completion handler when called twice in a row with an intervening call to send or receive a message. Here is a minimal reproduction from an Objective-C project. - (void)viewDidLoad { [super viewDidLoad]; NSURLSession* session = [NSURLSession sharedSession]; NSURLSessionWebSocketTask* task = [session webSocketTaskWithRequest: [[NSURLRequest alloc] initWithURL:[[NSURL alloc] initWithString:@wss://ws.postman-echo.com/raw]]]; [task resume]; [task sendPingWithPongReceiveHandler:^(NSError * _Nullable error) { printf(Got ping 1n); /* We will get to this line. */ [task sendPingWithPongReceiveHandler:^(NSError * _Nullable error) { printf(Got ping 2n); /* We will *not* get to this line. */ }]; }]; } Using WireShark, I can verify that NSURLSession sends two pings and that the server responds with two pongs. But the callback handler does not get called after the second pong. Does anyone have an suggestions on what I could be doin
Replies
2
Boosts
0
Views
859
Activity
May ’23
Status Code 40015 Error Occurred in Apple Music API "add_a_resource_to_a_library"
When using the Apple Music API add_a_resource_to_a_library with Musickit JS, the following status code 40015 error occurred. {errors:[{id:26-digit-ID,title:Insufficient Privileges,detail:User's subscription tier does not have access to privilege: ListeningHistory,status:400,code:40015,messageForDisplay:Insufficient Privileges}]} This error is not listed in the Response Codes in the API documentation for this endpoint. (1) Are there any details about the cause of this error or other details described anywhere in the API documentation? (2) Are there any other errors that may occur besides this error that are not listed in the documentation for this endpoint?
Replies
0
Boosts
0
Views
751
Activity
Jul ’22
Reply to TestFlight testers status is blank
This has returned - I have a distribution group of 115 testers that has a valid, active build in the Testing status. Over half of the users in this group are now showing a status of - and I am getting reports that some cannot download the latest version (the TestFlight app is requesting a code). Removing then re-adding the users does no good - they come back into the list as -.
Replies
Boosts
Views
Activity
Oct ’23
Reply to Is it safe to retry -1005 error code on network request
Does either of these error codes along with status code 0 guarantee the request never hit the server and therefore always safe to perform a retry …Error -1005 is NSURLErrorNetworkConnectionLost and it’s definitely not safe to retry non-idempotent requests in that case. This error indicates that the TCP connection carrying the HTTP request tore before we got the response. There’s two possibilities: The request did not make it to the server.The request made it to the server but the response didn’t make it back to the client.In the second case a blind retry will cause problems. To avoid this, you must implement app-specific logic to query the server to see if the first request made it.In contrast, error -1009 is NSURLErrorNotConnectedToInternet, which means the request probably didn’t make it off the device. However, given that you have to implement app-specific recovery logic to handle NSURLErrorNetworkConnectionL
Replies
Boosts
Views
Activity
Nov ’16
Visit https://sandbox.itunes.apple.com/verifyReceipt failed
Hi When we add IAP for our app a few years ago, we setup our server to visit https://sandbox.itunes.apple.com/verifyReceipt, to verify our customer's receipt after the purchase the IAP. Everything goes well for the past few years. But since March 22, 2024, our server cannot visit the URL above any more, and the returned failure is SSLException: Received fatal alert: protocol_version(from JAVA). From this we guess that Apple have made some changes about the SSL/TLS protocol requirement of your server api. Could you guys tell us which SSL/TLS is required to visit this URL? We need these information to make a plan of our server code upgrade or something like that, and continue the receipt verification. Thank you. Hope to hear from you soon.
Replies
2
Boosts
0
Views
1.2k
Activity
Mar ’24
Reply to Can't export notarized app
I see messages in the console that are possibly related:DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14320.25/IDEProducts/DVTProducts/DVTProducts/IDEProductsUI/IDEArchivesViewController.m:238Details: Failed to update notarization status for archive <DVTFilePath:0x7f811d1cb4e0:'/Users/claude/Library/Developer/Xcode/Archives/2018-09-28/[APPNAME] 9-28-18, 7.16 AM.xcarchive'> (Error Domain=IDEArchiveErrorDomain Code=0 Failed to fetch updated status. UserInfo={NSUnderlyingError=0x7f811cc43df0 {Error Domain=ITunesConnectionOperationErrorDomain Code=1519 Could not find the RequestUUID. UserInfo={NSLocalizedRecoverySuggestion=Could not find the RequestUUID., NSLocalizedFailureReason=Apple Services operation failed., NSLocalizedDescription=Could not find the RequestUUID.}}, NSLocalizedDescription=Failed to fetch updated status., NSLocalizedRecoverySuggestion=Couldn't find submi
Replies
Boosts
Views
Activity
Sep ’18
Reply to Can't update watchOS 2.0 (13S343) to 2.1
I am also seeing the same logs!:Dec 17 07:59:01 iPhone subridged[1648] <Error>: __main_block_invoke92: Install error Error Domain=SUBError Code=12 Failed to apply update UserInfo={NSLocalizedDescription=Failed to apply update, NSUnderlyingError=0x15cd177e0 {Error Domain=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize boot/firmware bundle. UserInfo={NSUnderlyingError=0x15cd2c1c0 {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=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize b
Replies
Boosts
Views
Activity
Dec ’15
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
I'm trying to connect my iOS app to an HTTPS site runs in my network. I can access the site from my browser with http://domain.com.sa but not through the app. I have tried setting the ATS and disabling it too. but the same error appeared:NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)I am using xcode 7, Swift 2 and testing the app on iphone with iOS 9.Any idea how to fix this ?
Replies
3
Boosts
0
Views
11k
Activity
Oct ’15
Reply to Live Caller ID Extension - timeout connecting to PIRService
@Apple I can now enable Live Caller ID in Settings and the OS isn't churning out any errors while doing so. However when a call is made to the handset, I see see the OS is doing a lookup to the PIRService, but its timing out: error = Error Domain=com.apple.CipherML Code=400 Error Domain=com.apple.CipherML Code=401 Unable to request data by keywords batch: The request timed out. UserInfo={NSLocalizedDescription=Unable to request data by keywords batch: The request timed out., NSUnderlyingError=0x8b4290a80 {Error Domain=NSURLErrorDomain Code=-1001 The request timed out. UserInfo={NSLocalizedDescription=The request timed out., NSErrorFailingURLKey=http://192.168.1.100:8080/.well-known/private-token-issuer-directory}}}: The request timed out. UserInfo={NSLocalizedDescription=Error Domain=com.apple.CipherML Code=401 Unable to request data by keywords batch: The request timed out. UserInfo={
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Error activating "iCloud Sync" (3rd. party apps)
Got this error on my Macs tooMac miniRequest failed with http status code 503Macbook ProThe operation couldn’t be completed. (CKErrorDomain error 7.)also not on Mac beta, but the iPhone is running the 9.3 beta 4I recognized also that the Notes.app stops syncing via iCloud, seemed that this is a major iCloud problem. 1Password told me that Last sync: 4 days ago, since installation of iOS 9.3 beta 4
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’16
Reply to presenting appropriate certificate according to client's SNI using NWListener
We're developing HTTP server which server multiple hostnames, thus we need to presenting certificates according to requested names. It all should be handled on same listening port(443). What are options to analyze client's TLS requested ServerName Identifier(SNI) and present certificate accordingly ? I just spun up a local test program on macOS and was able to do this using the following technique: Create a local certificate authority that issues leaf certificates for each hostname being served by your server. Install the root and the leaf identities into the Keychain. Note, I am using a testing strategy that sets the identity name in the Keychain as the servername. For example, https://sully.local:4433 and https://biff.local:4433. Then set sec_protocol_options_set_challenge_block to hand the sec_protocol_metadata_t data to sec_protocol_metadata_get_server_name and use this to extract the identity and use it on the connection. func getSecIdentity(name: String) ->
Replies
Boosts
Views
Activity
Mar ’22