aws-sdk-ios
aws-sdk-ios copied to clipboard
Backup file to bucket failed : error -NSURLErrorDomain Code=-1200
Describe the bug we use aws sdk in our App to upload/download zip file to AWS bucket , through cocoa pod
pod 'AWSCore', '2.19.1'
pod 'AWSS3', '2.19.1'
pod 'AWSCognito', '2.19.1'
currently we are facing backup failure issue for more number of users
The error details here :
Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSErrorFailingURLStringKey=https://s3.us-east-1.amazonaws.com/
Observed Behavior File upload to AWS bucket failed
Expected Behavior File upload to AWS bucket should success
Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)? pod 'AWSCore', '2.19.1' pod 'AWSS3', '2.19.1' pod 'AWSCognito', '2.19.1'
Environment(please complete the following information):
- SDK Version: 2.19.1
- Dependency Manager: Cocoapods
- Swift Version : 5.0
- Xcode Version: 13.0
Device Information (please complete the following information):
- Device: iPhone 11 Pro Max
- iOS Version: 14.8.1
Hi @sarojkumarojha, was this working before and now no longer works? Did you perform any upgrades? iOS platform support or pod updates to the SDK?
is this related and does this solve your problem? https://stackoverflow.com/questions/32755674/ios9-getting-error-an-ssl-error-has-occurred-and-a-secure-connection-to-the-ser
Hi @lawmicha , thanks for the update , currently its working but for few users we are getting this error . Due to this error back up of data to s3 bucket is failing . It would be good if will get to know any instance are we using HTTP ?
BTW , there is no connection with ios9 App Transport Security (ATS), because in our App other HTTPS request are working fine .
any updates on this?
Apologies for the delay. Our team is actively prioritizing and working on issues. We will provide an update as soon as we have one on the issue.
Please update to the latest version of the of the AWS SDK for iOS -- currently 2.33.5. Thanks!