StoreKit not able to connect to iTunes Servers
| Originator: | oliver.drobnik | ||
| Number: | rdar://21608129 | Date Originated: | 30 June 2015 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.0 (13A4280e) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
When trying to retrieve IAP Products or refreshing an app receipt the network requests StoreKit makes to the iTunes servers fail or time out.
Steps to Reproduce:
1. Try to retrieve products via SKProductsRequest
Expected Results:
- should receive a response on the delegate method with the products array
Actual Results:
- on the console an SSL error is logged, see below.
- if you disable ATS, via info.plist key NSAppTransportSecurity: there is no error message any more, but still there is a failure response.
PBRequester failed with Error Error Domain=NSURLErrorDomain Code=-1200
"An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x13fb6deb0 {_kCFStreamErrorCodeKey=-9824,
NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?,
NSUnderlyingError=0x13c5bb6f0 "An SSL error has occurred and a secure connection to the server cannot be made.",
NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made.,
NSErrorFailingURLKey=https://gsp10-ssl.apple.com/use, NSErrorFailingURLStringKey=https://gsp10-ssl.apple.com/use,
_kCFStreamErrorDomainKey=3}
Version:
iOS 9.0 (13A4280e)
Notes:
Same code, executed in iOS 8 Simulator with Xcode 6 is able to retrieve products from iTunes.
Configuration:
iPad Air
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!