Skip to content

Common System Errors

Yong Zeng edited this page Oct 29, 2019 · 2 revisions

Rather than returning errors in ADAuthenticationErrorDomain, ADOAuthServerErrorDomain, ADBrokerResponseErrorDomain, ADKeychainErrorDomain and ADHTTPErrorCodeDomain (see ADAuthenticationError.h for more details), ADAL could also return errors in system error domains.

Here we create a page to list some common system errors we have seen (the list is not complete and will be updated based on our observation and investigation):

ErrorDomain ErrorCode Reason
kCFErrorDomainCFNetwork 310 A connection could not be established to the HTTPS proxy.
It should be some issue with customer's proxy settings in system.
kCFErrorDomainCFNetwork 311 The HTTPS proxy returned an unexpected status code.
It should be some issue with customer's proxy settings in system.
kCFErrorDomainCFNetwork 306 A connection could not be established to the HTTP proxy.
It should be some issue with customer's proxy settings in system.
NSPOSIXErrorDomain -9858 errSSLHandshakeFail. Most likely it the server SSL issue.