2015-11-19 17:21:17.216 bolob[1864:2298592] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
recieved error response
(Filename: /Users/builduser/buildslave/unity/build/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 56)
recieved = An SSL error has occurred and a secure connection to the server cannot be made.
(Filename: /Users/builduser/buildslave/unity/build/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 56)
Status = 0
(Filename: /Users/builduser/buildslave/unity/build/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 56)
NullReferenceException: A null value was found where an object instance was required.
at Amazon.Runtime.Internal.RedirectHandler.HandleRedirect (IExecutionContext executionContext) [0x0000c] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/Handlers/RedirectHandler.cs:103
at Amazon.Runtime.Internal.RedirectHandler.InvokeAsyncCallback (IAsyncExecutionContext executionContext) [0x00000] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/Handlers/RedirectHandler.cs:77
at Amazon.Runtime.Internal.PipelineHandler.AsyncCallback (IAsyncExecutionContext executionContext) [0x00000] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/PipelineHandler.cs:97
(Filename: /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/Handlers/RedirectHandler.cs Line: 103)
An exception of type NullReferenceException was thrown from InvokeAsyncCallback().
(Filename: /Users/builduser/buildslave/unity/build/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 56)
Request metrics: {"properties":{"AsyncCall":"True","CanonicalRequest":"GET\n/bolob_endpoints\n\nhost:____.s3.amazonaws.com\nuser-agent:aws-sdk-unity/2.1.0.0 aws-sdk-core/2.1.0.0 .NET_Runtime/3.0 UnityVersion/4.6.9f1 OS/unity_iPhone OS_9.0.1 ClientAsync\___________________
"ServiceName":"AmazonS3","ServiceEndpoint":"https://____.s3.amazonaws.com/","MethodName":"GetObjectRequest","Exception":"System.NullReferenceException: A null value was found where an object instance was required.\n at Amazon.Runtime.Internal.RedirectHandler.HandleRedirect (IExecutionContext executionContext) [0x0000c] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/Handlers/RedirectHandler.cs:103 \n at Amazon.Runtime.Internal.RedirectHandler.InvokeAsyncCallback (IAsyncExecutionContext executionContext) [0x00000] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/Handlers/RedirectHandler.cs:77 \n at Amazon.Runtime.Internal.PipelineHandler.AsyncCallback (IAsyncExecutionContext executionContext) [0x00000] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/PipelineHandler.cs:97 "},"timings":{"CredentialsRequestTime":4471.756,"RequestSigningTime":125.549,"HttpRequestTime":387.744,"ClientExecuteTime":5097.967},"counters":{}}
(Filename: /Users/builduser/buildslave/unity/build/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 56)
NullReferenceException: A null value was found where an object instance was required.
at AWSBackend.debugs3 (Amazon.Runtime.AmazonServiceResult`2 responseObj, System.Action`1 callback) [0x00007] in /Users/FifiMac2/Documents/Wormgame/Assets/Standard Assets/Scripts/Backend Scripts/AWSBackend.cs:395
at AWSBackend+<GetS3Object>c__AnonStorey107.<>m__11C (Amazon.Runtime.AmazonServiceResult`2 responseObj) [0x00000] in /Users/FifiMac2/Documents/Wormgame/Assets/Standard Assets/Scripts/Backend Scripts/AWSBackend.cs:424
at Amazon.S3.AmazonS3Client+<GetObjectAsync>c__AnonStoreyF6.<>m__E0 (Amazon.Runtime.AmazonWebServiceRequest req, Amazon.Runtime.AmazonWebServiceResponse res, System.Exception ex, Amazon.Runtime.AsyncOptions ao) [0x0001a] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Services/S3/Generated/_unity/AmazonS3Client.cs:743
at Amazon.Runtime.Internal.UnityMainThreadDispatcher.ProcessRequests () [0x0003b] in /Users/FifiMac2/Documents/Wormgame/Assets/Plugins/AWSSDK/src/Core/Amazon.Runtime/Pipeline/_unity/UnityMainThreadDispatcher.cs:68
(Filename: /Users/FifiMac2/Documents/Wormgame/Assets/Standard Assets/Scripts/Backend Scripts/AWSBackend.cs Line: 395)
An unhandled exception was thrown from the callback method Amazon.S3.Model.GetObjectRequest.
This only occurs on iOS 9 I believe due to http://stackoverflow.com/questions/32755674/ios9-getting-error-an-ssl-error-has-occurred-and-a-secure-connection-to-the-ser I'm using the temp fix of allowing arbitrary loads in the Info.plist for now.
I'm using SDK 2.1.0