Skip to content

Instantly share code, notes, and snippets.

@levlaz
Created November 24, 2015 17:59
Show Gist options
  • Save levlaz/c8cf59e71b0c130daa9e to your computer and use it in GitHub Desktop.
Save levlaz/c8cf59e71b0c130daa9e to your computer and use it in GitHub Desktop.
run-test Tests.xctest (iphonesimulator9.0, iPhone 6, logic-test)
-[BicycleDataManagerTest testDoBicycleMeasurementScan]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2015-11-22 10:58:25.840 xctest[1732:7153] OSStatus error: [-25291] Security error has occurred.
2015-11-22 10:58:25.844 xctest[1732:7153] OSStatus error: [-25291] Security error has occurred.
2015-11-22 10:58:25.851 xctest[1732:7153] OSStatus error: [-25291] Security error has occurred.
2015-11-22 10:58:25.851 xctest[1732:7153] OSStatus error: [-25291] Security error has occurred.
2015-11-22 10:58:25.852 xctest[1732:7153] OSStatus error: [-25291] Security error has occurred.
2015-11-22 10:58:25.853 xctest[1732:7153] Warning: A long-running operation is being executed on the main thread.
Break on warnBlockingOperationOnMainThread() to debug.
2015-11-22 10:58:26.101 xctest[1732:7161] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9807)
2015-11-22 10:58:26.110 xctest[1732:7160] AWSiOSSDKv2 [Error] AWSIdentityProvider.m line:185 | __51-[AWSAbstractCognitoIdentityProvider getIdentityId]_block_invoke169 | GetId failed. Error is [Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cognito-identity.us-east-1.amazonaws.com” which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x7fbd684e27b0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, NSErrorPeerCertificateChainKey=<CFArray 0x7fbd684defa0 [0x1028eb7b0]>{type = immutable, count = 2, values = (
0 : <cert(0x7fbd684e1200) s: cognito-identity.us-east-1.amazonaws.com i: Symantec Class 3 Secure Server CA - G4>
1 : <cert(0x7fbd684e1850) s: Symantec Class 3 Secure Server CA - G4 i: VeriSign Class 3 Public Primary Certification Authority - G5>
)}, NSUnderlyingError=0x7fbd6858eb10 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x7fbd684e27b0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=<CFArray 0x7fbd684defa0 [0x1028eb7b0]>{type = immutable, count = 2, values = (
0 : <cert(0x7fbd684e1200) s: cognito-identity.us-east-1.amazonaws.com i: Symantec Class 3 Secure Server CA - G4>
1 : <cert(0x7fbd684e1850) s: Symantec Class 3 Secure Server CA - G4 i: VeriSign Class 3 Public Primary Certification Authority - G5>
)}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cognito-identity.us-east-1.amazonaws.com” which could put your confidential information at risk., NSErrorFailingURLKey=https://cognito-identity.us-east-1.amazonaws.com/, NSErrorFailingURLStringKey=https://cognito-identity.us-east-1.amazonaws.com/, NSErrorClientCertificateStateKey=0}]
2015-11-22 10:58:26.111 xctest[1732:7160] AWSiOSSDKv2 [Error] AWSCredentialsProvider.m line:527 | __40-[AWSCognitoCredentialsProvider refresh]_block_invoke352 | Unable to refresh. Error is [Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cognito-identity.us-east-1.amazonaws.com” which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x7fbd684e27b0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, NSErrorPeerCertificateChainKey=<CFArray 0x7fbd684defa0 [0x1028eb7b0]>{type = immutable, count = 2, values = (
0 : <cert(0x7fbd684e1200) s: cognito-identity.us-east-1.amazonaws.com i: Symantec Class 3 Secure Server CA - G4>
1 : <cert(0x7fbd684e1850) s: Symantec Class 3 Secure Server CA - G4 i: VeriSign Class 3 Public Primary Certification Authority - G5>
)}, NSUnderlyingError=0x7fbd6858eb10 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x7fbd684e27b0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=<CFArray 0x7fbd684defa0 [0x1028eb7b0]>{type = immutable, count = 2, values = (
0 : <cert(0x7fbd684e1200) s: cognito-identity.us-east-1.amazonaws.com i: Symantec Class 3 Secure Server CA - G4>
1 : <cert(0x7fbd684e1850) s: Symantec Class 3 Secure Server CA - G4 i: VeriSign Class 3 Public Primary Certification Authority - G5>
)}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cognito-identity.us-east-1.amazonaws.com” which could put your confidential information at risk., NSErrorFailingURLKey=https://cognito-identity.us-east-1.amazonaws.com/, NSErrorFailingURLStringKey=https://cognito-identity.us-east-1.amazonaws.com/, NSErrorClientCertificateStateKey=0}]
2015-11-22 10:58:26.111 xctest[1732:7160] scan request failed. Error: [Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cognito-identity.us-east-1.amazonaws.com” which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x7fbd684e27b0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, NSErrorPeerCertificateChainKey=<CFArray 0x7fbd684defa0 [0x1028eb7b0]>{type = immutable, count = 2, values = (
0 : <cert(0x7fbd684e1200) s: cognito-identity.us-east-1.amazonaws.com i: Symantec Class 3 Secure Server CA - G4>
1 : <cert(0x7fbd684e1850) s: Symantec Class 3 Secure Server CA - G4 i: VeriSign Class 3 Public Primary Certification Authority - G5>
)}, NSUnderlyingError=0x7fbd6858eb10 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x7fbd684e27b0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=<CFArray 0x7fbd684defa0 [0x1028eb7b0]>{type = immutable, count = 2, values = (
0 : <cert(0x7fbd684e1200) s: cognito-identity.us-east-1.amazonaws.com i: Symantec Class 3 Secure Server CA - G4>
1 : <cert(0x7fbd684e1850) s: Symantec Class 3 Secure Server CA - G4 i: VeriSign Class 3 Public Primary Certification Authority - G5>
)}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cognito-identity.us-east-1.amazonaws.com” which could put your confidential information at risk., NSErrorFailingURLKey=https://cognito-identity.us-east-1.amazonaws.com/, NSErrorFailingURLStringKey=https://cognito-identity.us-east-1.amazonaws.com/, NSErrorClientCertificateStateKey=0}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment