Alamofire / AlamofireImage

AlamofireImage is an image component library for Alamofire
MIT License
3.99k stars 523 forks source link

Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid #380

Closed barotbhavesh closed 5 years ago

barotbhavesh commented 5 years ago

Image not load. getting error when i load the image.

2019-10-11 11:07:34.697971+0530 ABCMobile[6924:2083244] Connection 11: default TLS Trust evaluation failed(-9843) 2019-10-11 11:07:34.698030+0530 ABCMobile[6924:2083244] Connection 11: TLS Trust encountered error 3:-9843 2019-10-11 11:07:34.698048+0530 ABCMobile[6924:2083244] Connection 11: encountered error(3:-9843) 2019-10-11 11:07:34.699320+0530 ABCMobile[6924:2083244] Connection 11: unable to determine interface type without an established connection 2019-10-11 11:07:34.699836+0530 ABCMobile[6924:2083244] Task <03DD0ADE-1638-41D9-B779-6543C536539A>.<13> HTTP load failed, 0/0 bytes (error code: -1202 [3:-9843]) 2019-10-11 11:07:34.701356+0530 ABCMobile[6924:2083742] Task <03DD0ADE-1638-41D9-B779-6543C536539A>.<13> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “abc.xyz.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=( "<cert(0x128879800) s: .pacificabs.com i: RapidSSL RSA CA 2018>", "<cert(0x12887a200) s: RapidSSL RSA CA 2018 i: DigiCert Global Root CA>" ), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://abc.xyz.com/Image/UserImage/c66ca0dc-3cd2-41eb-872f-5bb7ff09cbb2.png, NSErrorFailingURLStringKey=https://abc.xyz.com/Image/UserImage/c66ca0dc-3cd2-41eb-872f-5bb7ff09cbb2.png, NSUnderlyingError=0x281ecd230 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x282270a20>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9843, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9843, kCFStreamPropertySSLPeerCertificates=( "<cert(0x128879800) s: .pacificabs.com i: RapidSSL RSA CA 2018>", "<cert(0x12887a200) s: RapidSSL RSA CA 2018 i: DigiCert Global Root CA>" )}}, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <03DD0ADE-1638-41D9-B779-6543C536539A>.<13>" ), _kCFStreamErrorCodeKey=-9843, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <03DD0ADE-1638-41D9-B779-6543C536539A>.<13>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x282270a20>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “abc.xyz.com” which could put your confidential information at risk.} 2019-10-11 11:07:34.791273+0530 ABCMobile[6924:2083244] [] tcp_input [C11.2:3] flags=[R.] seq=2594700783, ack=1391590276, win=0 state=FIN_WAIT_1 rcv_nxt=2594700783, snd_una=1391590275 2019-10-11 11:07:43.938050+0530 ABCMobile[6924:2083757] Connection 12: default TLS Trust evaluation failed(-9843) 2019-10-11 11:07:43.938139+0530 ABCMobile[6924:2083757] Connection 12: TLS Trust encountered error 3:-9843 2019-10-11 11:07:43.938179+0530 ABCMobile[6924:2083757] Connection 12: encountered error(3:-9843) 2019-10-11 11:07:43.940587+0530 ABCMobile[6924:2083757] Connection 12: unable to determine interface type without an established connection 2019-10-11 11:07:43.940993+0530 ABCMobile[6924:2083757] Task .<14> HTTP load failed, 0/0 bytes (error code: -1202 [3:-9843]) 2019-10-11 11:07:43.943060+0530 ABCMobile[6924:2083742] Task .<14> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “abc.xyz.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=( "<cert(0x12801e000) s: .pacificabs.com i: RapidSSL RSA CA 2018>", "<cert(0x128044000) s: RapidSSL RSA CA 2018 i: DigiCert Global Root CA>" ), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://abc.xyz.com/Image/UserImage/c66ca0dc-3cd2-41eb-872f-5bb7ff09cbb2.png, NSErrorFailingURLStringKey=https://abc.xyz.com/Image/UserImage/c66ca0dc-3cd2-41eb-872f-5bb7ff09cbb2.png, NSUnderlyingError=0x281ecdce0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x28226eb50>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9843, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9843, kCFStreamPropertySSLPeerCertificates=( "<cert(0x12801e000) s: .pacificabs.com i: RapidSSL RSA CA 2018>", "<cert(0x128044000) s: RapidSSL RSA CA 2018 i: DigiCert Global Root CA>" )}}, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<14>" ), _kCFStreamErrorCodeKey=-9843, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<14>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x28226eb50>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “abc.xyz.com” which could put your confidential information at risk.} 2019-10-11 11:07:44.003372+0530 ABCMobile[6924:2083143] [] tcp_input [C12.2:3] flags=[R.] seq=2456623032, ack=3372388621, win=0 state=FIN_WAIT_1 rcv_nxt=2456623032, snd_una=3372388620

Thanks in Advance

jshier commented 5 years ago

Sorry, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow.

Cheers. 🍻


From our Contribution Guidelines

Asking Questions

We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.