Search results for

“Request failed with http status code 503”

201,165 results found

Post

Replies

Boosts

Views

Activity

Reply to Testing App Transport Security
We were convinced that: If ATS is turned on and you make an HTTP call to an ednpoint that is NOT in the ATS exception list, then the iOS would force that call to go into HTTPS …No, that’s not correct. Some early iOS 9 betas did this but it broke a lot of folks so we changed the policy to what it is today: if you make an HTTP request that’s not covered by some ATS exception, the request will fail. That policy has been in place for all shipping versions of ATS.[Is there] a way to force that behavior by adding some attributes/dirctives in the ATS exception list?No. The best solution here is to change your code to issue an HTTPS request.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jun ’17
macOS 26.4 regression with Mac Catalyst apps using PhotoKit: Photos do not appear when using limited access - Failed to get sandbox extension for url - Image request failed with error PHPhotosErrorDomain Code 3303
I just submitted FB22318443. In Mac Catalyst apps running on macOS 26.4, if you choose to limit the app's access to specific photos (as opposed to granting full access), the photos do not appear in the app. 💀 This issue does not occur on iPadOS. It is a macOS 26.4 regression. It occurs even with apps built using a previous version of the SDK such as 26.2. A sample of the console logs: [RM]: 4-1-1 failed to decode for asset: 9290CC20-B85D-47B5-BDBE-D330FE61773D, error code: 3303, description: Error Domain=PHPhotosErrorDomain Code=3303 (null) Failed to get sandbox extension for url: file:///Users/Jordan/Pictures/Photos%20Library.photoslibrary/resources/derivatives/masters/9/9290CC20-B85D-47B5-BDBE-D330FE61773D_4_5005_c.jpeg, error: Error Domain=com.apple.photos.error Code=44001 sandbox extension not in the cache after requesting them for path: /Users/Jordan/Pictures/Photos Library.photoslibrary/resources/derivatives/masters/9/9290CC20-B85D-47B5-BDBE-D330FE6
0
0
570
Mar ’26
NSURLSession and failed client certificate requests
From what I can tell, when using client certificate authentication with NSURLSession, it is impossible to get the actual server response if the supplied client certificate was not authorized on the server. Based on what I have found, if you supply a client certificate credential in -URLSession:task:didReceiveChallenge:completionHandler: and the server replies with a 403, then the -URLSession:task:didCompleteWithError: delegate method get called with an NSURLErrorClientCertificateRequired error.My app needs to see the actual headers that the server responded. I know that a valid response is being sent because I can see it in Wireshark and in CFNETWORK_DIAGNOSTICS output. The response property of the task object passed into -URLSession:task:didCompleteWithError: is nil so I can't use that. Is there anyway at all that I can get the response object in this circumstance or can anyone think of a workaround here?Thanks,Dustin
3
0
3.1k
Jan ’17
Failed to create IKEV2 using code
p.authenticationMethod = NEVPNIKEAuthenticationMethodSharedSecret; p.sharedSecretReference = [self searchKeychainCopyMatching:@PSK]; Failed to create IKEV2 using PSK, and the following error message is displayed: Start VPN failed: [The operation couldn’t be completed. (NEVPNErrorDomain error 1.)] May I ask what the reason is?
1
0
520
Feb ’24
Keychain SecItemAdd failed with error code -25330
I work on an app which have to accessing keychain items with biometric method( face id or touch id) . We have received an issue that is user installed the app and do registration to insert the data into keychain for later use, then delete and reinstall the app . When user try to do the registration againn, keychain SecItemAdd method failed with error code -25330. The user use iPhone 12(iOS 14.3) and it happen irregularly. The log: 18:35:44.261389+0800 securityd deleted genp,acct=,svce=,agrp=XXXXX,sync=0,musr=, |otherAttr,tomb=0,rowid=78066,cdat=2021-04-29 10:35:44 +0000,mdat=2021-04-29 10:35:44 +0000,sha1=823CD54A2E06C44D941F0C349CBAEC06FBEEC1E2,accc=318183300C0C0470726F740C04616B707530730C0361636C316C30070C026F6501010130090C046F64656C01010130560C026F643150304E0C046362696F314630190C057062696F630410186F86E694AB529847803D3747422E2B30290C057062696F680420467A9C1598FB013ECA1030956B7E73C7CF030994BB45BA21268D111593093233,UUID=F07953A7-55A0-46E0-9052-7B98833B5B03,persistref=,clip=0 from SecDbConnect
1
0
1.4k
May ’21
Certificate Assistant fails to generate Certificate Signing Request on El Capitan GM Seed
Configuration: OS X El Capitan GM Seed (15A282b) on a 2015 MacBook AirI'm trying to generate a Certificate Signing Request (CSR) for Safari Extension development.The instructions, per https://developer.apple.com/account/safari/certificate/certificateRequest.actionTo manually generate a Certificate, you need a Certificate Signing Request (CSR) file from your Mac. To create a CSR file, follow the instructions below to create one using Keychain Access.Create a CSR file.In the Applications folder on your Mac, open the Utilities folder and launch Keychain Access.Within the Keychain Access drop down menu, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.In the Certificate Information window, enter the folwing information: In the User Email Address field, enter your email address.In the Common Name field, create a name for your private key (e.g., John Doe Dev Key).The CA Email Address field should be left empty.In the Request
1
0
6.1k
Sep ’15
Reply to Playgrounds with custom Root Certification?
I'm running the Playground on the Mac. It's an UIKit playground. The same thing happens if I run the the request as part of a SwiftUI Live Preview in Xcode for an iOS app. If I run the same code in a macOS/AppKit Playground, it apparently picks cert from the Keychain and executes successfully. I'm not doing anything fancy with the URL request for this example. let url = URL(string: https://twitter.com/slashkevin/status/1285945904835559426)! let task = URLSession.shared.dataTask(with: url) { data, response, error in if let error = error { print(error) } if let response = response { print(response) } } task.resume()
Jul ’20
Reply to TIC TCP Conn Failed [3:0x1c4166180]: 12:8 Err(-65554) - URGENT
I'm also facing the same issue when the deployed app using Xcode 9.4 on iPhone with iOS 11.3 and 11.4I´m using request over a VPN and doing request to an https URL using dataTask(with: newRequest, completionHandler:) of URLSessionHere is part of the log:2018-06-11 11:07:29.199709+0800 MYAPP[909:673049] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [65: No route to host]2018-06-11 11:07:29.199781+0800 MYAPP[909:673049] [] nw_endpoint_flow_setup_channel [29 [Server IP address], in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=65 No route to host UserInfo={NSDescription=No route to host}2018-06-11 11:07:29.199864+0800 MYAPP[909:673049] TIC TCP Conn Failed [21:0x1d417fb00]: 1:65 Err(65)2018-06-11 11:07:29.199942+0800 MYAPP[909:673049] Task <4672A997-DDC1-4C72-B104-B1C8847FB07E>.<1> HTTP load failed (error code: -
Jun ’18
Reply to iTunes Sandbox Extremely Slow
Since yesterday morning is same for me!From PHP i use https://sandbox.itunes.apple.com/verifyReceipt, very slow but works.From iOS in iTunes sandbox , is extremely slow and about 90% of requests fails. Most of times i get:Error Domain=NSURLErrorDomain Code=-1001 Imposible conectarse a iTunes Store UserInfo={NSUnderlyingError=0x1c0647a40 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 (null) UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://p100-sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, NSErrorFailingURLKey=https://p100-sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=Imposible conectarse a iTunes Store}
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’18
actool failed with exit code 255
I have downloaded Xcode 7 beta 4 and opened my Swift iOS 8.4 project in Xcode 7, and have used the Convert to latest Swift syntax tool to convert the project to Swift 2.0. But, when I run the app, an error occurs that says: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool failed with exit code 255.I tried to clean the project, and wipe the Derived Data folder, and uninstalling Xcode 6.4 and running the app, but the problem persists.Why is this error occurring? Thanks!
1
0
4.7k
Aug ’15
Command PhaseScriptExecution failed with a nonzero exit code
Hello, I am building with Xcode and I keep getting this error Command PhaseScriptExecution failed with a nonzero exit code Please Help. Am on latest Xcode 13.2.1 and latest cocoapods
Replies
1
Boosts
0
Views
1.1k
Activity
Dec ’21
Reply to Testing App Transport Security
We were convinced that: If ATS is turned on and you make an HTTP call to an ednpoint that is NOT in the ATS exception list, then the iOS would force that call to go into HTTPS …No, that’s not correct. Some early iOS 9 betas did this but it broke a lot of folks so we changed the policy to what it is today: if you make an HTTP request that’s not covered by some ATS exception, the request will fail. That policy has been in place for all shipping versions of ATS.[Is there] a way to force that behavior by adding some attributes/dirctives in the ATS exception list?No. The best solution here is to change your code to issue an HTTPS request.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Replies
Boosts
Views
Activity
Jun ’17
macOS 26.4 regression with Mac Catalyst apps using PhotoKit: Photos do not appear when using limited access - Failed to get sandbox extension for url - Image request failed with error PHPhotosErrorDomain Code 3303
I just submitted FB22318443. In Mac Catalyst apps running on macOS 26.4, if you choose to limit the app's access to specific photos (as opposed to granting full access), the photos do not appear in the app. 💀 This issue does not occur on iPadOS. It is a macOS 26.4 regression. It occurs even with apps built using a previous version of the SDK such as 26.2. A sample of the console logs: [RM]: 4-1-1 failed to decode for asset: 9290CC20-B85D-47B5-BDBE-D330FE61773D, error code: 3303, description: Error Domain=PHPhotosErrorDomain Code=3303 (null) Failed to get sandbox extension for url: file:///Users/Jordan/Pictures/Photos%20Library.photoslibrary/resources/derivatives/masters/9/9290CC20-B85D-47B5-BDBE-D330FE61773D_4_5005_c.jpeg, error: Error Domain=com.apple.photos.error Code=44001 sandbox extension not in the cache after requesting them for path: /Users/Jordan/Pictures/Photos Library.photoslibrary/resources/derivatives/masters/9/9290CC20-B85D-47B5-BDBE-D330FE6
Replies
0
Boosts
0
Views
570
Activity
Mar ’26
NSURLSession and failed client certificate requests
From what I can tell, when using client certificate authentication with NSURLSession, it is impossible to get the actual server response if the supplied client certificate was not authorized on the server. Based on what I have found, if you supply a client certificate credential in -URLSession:task:didReceiveChallenge:completionHandler: and the server replies with a 403, then the -URLSession:task:didCompleteWithError: delegate method get called with an NSURLErrorClientCertificateRequired error.My app needs to see the actual headers that the server responded. I know that a valid response is being sent because I can see it in Wireshark and in CFNETWORK_DIAGNOSTICS output. The response property of the task object passed into -URLSession:task:didCompleteWithError: is nil so I can't use that. Is there anyway at all that I can get the response object in this circumstance or can anyone think of a workaround here?Thanks,Dustin
Replies
3
Boosts
0
Views
3.1k
Activity
Jan ’17
The payment page is returning a 503 error, preventing me from making the payment. Why is this happening? I need to complete this payment urgently.
The developer payment page is returning a 503 error, preventing me from making the payment. Why is this happening? I need to complete this payment urgently.
Replies
2
Boosts
0
Views
148
Activity
Mar ’26
Failed to create IKEV2 using code
p.authenticationMethod = NEVPNIKEAuthenticationMethodSharedSecret; p.sharedSecretReference = [self searchKeychainCopyMatching:@PSK]; Failed to create IKEV2 using PSK, and the following error message is displayed: Start VPN failed: [The operation couldn’t be completed. (NEVPNErrorDomain error 1.)] May I ask what the reason is?
Replies
1
Boosts
0
Views
520
Activity
Feb ’24
Keychain SecItemAdd failed with error code -25330
I work on an app which have to accessing keychain items with biometric method( face id or touch id) . We have received an issue that is user installed the app and do registration to insert the data into keychain for later use, then delete and reinstall the app . When user try to do the registration againn, keychain SecItemAdd method failed with error code -25330. The user use iPhone 12(iOS 14.3) and it happen irregularly. The log: 18:35:44.261389+0800 securityd deleted genp,acct=,svce=,agrp=XXXXX,sync=0,musr=, |otherAttr,tomb=0,rowid=78066,cdat=2021-04-29 10:35:44 +0000,mdat=2021-04-29 10:35:44 +0000,sha1=823CD54A2E06C44D941F0C349CBAEC06FBEEC1E2,accc=318183300C0C0470726F740C04616B707530730C0361636C316C30070C026F6501010130090C046F64656C01010130560C026F643150304E0C046362696F314630190C057062696F630410186F86E694AB529847803D3747422E2B30290C057062696F680420467A9C1598FB013ECA1030956B7E73C7CF030994BB45BA21268D111593093233,UUID=F07953A7-55A0-46E0-9052-7B98833B5B03,persistref=,clip=0 from SecDbConnect
Replies
1
Boosts
0
Views
1.4k
Activity
May ’21
Reply to AppStoreConnect cannot create apps
I have the same issue and getting this when trying to do it from Xcode: App Record Creation failed due to an invalid attribute. Request failed with error code ENTITY_ERROR.ATTRIBUTE.INVALID, and reason An attribute value is invalid. ITC.apps.validation.bundle_not_available
Replies
Boosts
Views
Activity
Mar ’24
Certificate Assistant fails to generate Certificate Signing Request on El Capitan GM Seed
Configuration: OS X El Capitan GM Seed (15A282b) on a 2015 MacBook AirI'm trying to generate a Certificate Signing Request (CSR) for Safari Extension development.The instructions, per https://developer.apple.com/account/safari/certificate/certificateRequest.actionTo manually generate a Certificate, you need a Certificate Signing Request (CSR) file from your Mac. To create a CSR file, follow the instructions below to create one using Keychain Access.Create a CSR file.In the Applications folder on your Mac, open the Utilities folder and launch Keychain Access.Within the Keychain Access drop down menu, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.In the Certificate Information window, enter the folwing information: In the User Email Address field, enter your email address.In the Common Name field, create a name for your private key (e.g., John Doe Dev Key).The CA Email Address field should be left empty.In the Request
Replies
1
Boosts
0
Views
6.1k
Activity
Sep ’15
Reply to Playgrounds with custom Root Certification?
I'm running the Playground on the Mac. It's an UIKit playground. The same thing happens if I run the the request as part of a SwiftUI Live Preview in Xcode for an iOS app. If I run the same code in a macOS/AppKit Playground, it apparently picks cert from the Keychain and executes successfully. I'm not doing anything fancy with the URL request for this example. let url = URL(string: https://twitter.com/slashkevin/status/1285945904835559426)! let task = URLSession.shared.dataTask(with: url) { data, response, error in if let error = error { print(error) } if let response = response { print(response) } } task.resume()
Replies
Boosts
Views
Activity
Jul ’20
Reply to TIC TCP Conn Failed [3:0x1c4166180]: 12:8 Err(-65554) - URGENT
I'm also facing the same issue when the deployed app using Xcode 9.4 on iPhone with iOS 11.3 and 11.4I´m using request over a VPN and doing request to an https URL using dataTask(with: newRequest, completionHandler:) of URLSessionHere is part of the log:2018-06-11 11:07:29.199709+0800 MYAPP[909:673049] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [65: No route to host]2018-06-11 11:07:29.199781+0800 MYAPP[909:673049] [] nw_endpoint_flow_setup_channel [29 [Server IP address], in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=65 No route to host UserInfo={NSDescription=No route to host}2018-06-11 11:07:29.199864+0800 MYAPP[909:673049] TIC TCP Conn Failed [21:0x1d417fb00]: 1:65 Err(65)2018-06-11 11:07:29.199942+0800 MYAPP[909:673049] Task <4672A997-DDC1-4C72-B104-B1C8847FB07E>.<1> HTTP load failed (error code: -
Replies
Boosts
Views
Activity
Jun ’18
ios9 NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)i have this error if i run my ios8 application inside ios9 simulator, what's the problem?
Replies
2
Boosts
0
Views
13k
Activity
Jun ’15
Reply to iTunes Sandbox Extremely Slow
Since yesterday morning is same for me!From PHP i use https://sandbox.itunes.apple.com/verifyReceipt, very slow but works.From iOS in iTunes sandbox , is extremely slow and about 90% of requests fails. Most of times i get:Error Domain=NSURLErrorDomain Code=-1001 Imposible conectarse a iTunes Store UserInfo={NSUnderlyingError=0x1c0647a40 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 (null) UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://p100-sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, NSErrorFailingURLKey=https://p100-sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=Imposible conectarse a iTunes Store}
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’18
actool failed with exit code 255
I have downloaded Xcode 7 beta 4 and opened my Swift iOS 8.4 project in Xcode 7, and have used the Convert to latest Swift syntax tool to convert the project to Swift 2.0. But, when I run the app, an error occurs that says: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool failed with exit code 255.I tried to clean the project, and wipe the Derived Data folder, and uninstalling Xcode 6.4 and running the app, but the problem persists.Why is this error occurring? Thanks!
Replies
1
Boosts
0
Views
4.7k
Activity
Aug ’15
Reply to "Parent reference max collection limit exceeded"
Problem with Parent reference max collection limit exceeded is solved - occassional 503s and timeouts are still present.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Apr ’17