Worx/Secure Mail Error: "Access to your company is not currently available"
Errors found in the client logs:
AGTunnel fails to start when attempting to proxy traffic from the NSG
" 2016-11-14T11:22:11.535+0000 ",AGTunneler,WARNING (3),"Failed to read in AGSOCKSClient, err = -8000",-,com.apple.root.default-qos.overcommit,1b0f,Secure Mail,/jenkins/workspace/iOS_MDX_Rel_10.3.10/mWrapper/CitrixMicroVPN/AGTunneler/AGTunneler/AGSOCKSClient.m,-[AGSOCKSClient AGSocketEvent:withEvent:],117
" 2016-11-14T11:22:11.536+0000 ",AGTunneler,WARNING (3),"New TCP proxy connection to ex-01.tcc.local:443 failed",-,com.apple.root.default-qos.overcommit,1b0f,Secure Mail,/jenkins/workspace/iOS_MDX_Rel_10.3.10/mWrapper/CitrixMicroVPN/AGTunneler/AGTunneler/AGGenericProxyHandler.m,-[AGGenericProxyHandler handleHTTPGwConnection:withEvent:],372" 2016-11-14T11:22:11.537+0000 ",AGTunneler,DEBUG3 (8),"Closing socket fd = 40",-,com.apple.network.connections,81b,Secure Mail,/jenkins/workspace/iOS_MDX_Rel_10.3.10/mWrapper/CitrixMicroVPN/AGTunneler/AGTunneler/AGTCPTunneler.m,-[AGTCPTunneler handleCloseForFd:],601
Secure Mail is unable to initiate first time sync with the Mail Server due to Tunnel not established
" 2016-11-14T11:22:11.537+0000 ",CitrixMicroVPN,DEBUG3 (8),"HOOK: returns 0x170253b60",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_MDX_Rel_10.3.10/mWrapper/CitrixMicroVPN/NetworkHooks/NetworkHooks_CFStream.m,CFReadStreamCopyErHK,239
" 2016-11-14T11:22:11.538+0000 ",Secure Mail.ASIHttpRequest,ERROR (2),"handleStreamError::UnderlyingError.domain=kCFErrorDomainCFNetwork, error.code=120, error.description=Error Domain=kCFErrorDomainCFNetwork Code=120 "(null)" UserInfo={_kCFStreamErrorDomainKey=5, _kCFStreamErrorCodeKey=327685, kCFSOCKSStatusCodeKey=5}",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/thirdparty/ASIHttpRequest/ASIHTTPRequest.m,-[ASIHTTPRequest handleStreamError],3947
" 2016-11-14T11:22:11.538+0000 ",Secure Mail.ASIHttpRequest,INFO (4),"self.error is nil in handleStreamError",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/thirdparty/ASIHttpRequest/ASIHTTPRequest.m,-[ASIHTTPRequest handleStreamError],3949
" 2016-11-14T11:22:11.538+0000 ",Secure Mail.ASIHttpRequest,ERROR (2),"Received error that was determined to NOT to be an untrusted SSL error with errorDomain=kCFErrorDomainCFNetwork, errorCode=120, description=Error Domain=kCFErrorDomainCFNetwork Code=120 "(null)" UserInfo={_kCFStreamErrorDomainKey=5, _kCFStreamErrorCodeKey=327685, kCFSOCKSStatusCodeKey=5}",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/thirdparty/ASIHttpRequest/ASIHTTPRequest.m,-[ASIHTTPRequest handleStreamError],3998
" 2016-11-14T11:22:11.538+0000 ",Secure Mail.ASIHttpRequest,INFO (4),"Removing readStream from run loop 0x1742a34e0",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/thirdparty/ASIHttpRequest/ASIHTTPRequest.m,-[ASIHTTPRequest unscheduleReadStream],4063
" 2016-11-14T11:22:11.538+0000 ",Secure Mail.ASIHttpRequest,INFO (4),"[STATUS] Request : Failed with error=Error Domain=ASIHTTPRequestErrorDomain Code=1 "A connection failure occurred" UserInfo={NSLocalizedDescription=A connection failure occurred, NSUnderlyingError=0x170253b60 {Error Domain=kCFErrorDomainCFNetwork Code=120 "(null)" UserInfo={_kCFStreamErrorDomainKey=5, _kCFStreamErrorCodeKey=327685, kCFSOCKSStatusCodeKey=5}}}, userInfo={
NSLocalizedDescription = "A connection failure occurred";
NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=120 \"(null)\" UserInfo={_kCFStreamErrorDomainKey=5, _kCFStreamErrorCodeKey=327685, kCFSOCKSStatusCodeKey=5}";
}, extraInfo=(null)",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/thirdparty/ASIHttpRequest/ASIHTTPRequest.m,-[ASIHTTPRequest failWithError:andExtraInfo:],2248
Connection is dropped
" 2016-11-14T11:22:11.538+0000 ",Secure Mail.ASIHttpRequest,INFO (4),"[CONNECTION] Request #1 failed and will invalidate connection #1",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/thirdparty/ASIHttpRequest/ASIHTTPRequest.m,-[ASIHTTPRequest failWithError:andExtraInfo:],2256
" 2016-11-14T11:22:11.538+0000 ",Secure Mail,ERROR (2),"HTTP OPTIONS failed with error.domain=ASIHTTPRequestErrorDomain and error.code=1",Active,com.apple.main-thread,a07,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/ExchangeMail/activesync/libiosactivesync/engine/ActiveSyncEngine+RawApis.m,__102-[ActiveSyncEngine(RawApis) validationSendHttpOptionsAsynchronousWithSuccessCallback:failureCallback:]_block_invoke.210,49
" 2016-11-14T11:22:11.539+0000 ",Secure Mail,INFO (4),"HTTP request failed with error.domain=ASIHTTPRequestErrorDomain, error.code=1,error.userInfo={
NSLocalizedDescription = "A connection failure occurred";
NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=120 \"(null)\" UserInfo={_kCFStreamErrorDomainKey=5, _kCFStreamErrorCodeKey=327685, kCFSOCKSStatusCodeKey=5}";
}",Active,com.apple.main-thread,a07,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/ExchangeMail/activesync/AutoDiscoverProvisionController.m,-[AutoDiscoverProvisionController moveToErrorStateForHttpResponse:error:],913
" 2016-11-14T11:22:11.539+0000 ",Secure Mail.ASIHttpRequest,INFO (4),"NSOPeration was cancelled in checkRequestStatus",-,com.apple.root.default-qos.overcommit,da3f,Secure Mail,/jenkins/workspace/iOS_Secure Mail_Stream_Rel_10.3.10/thirdparty/ASIHttpRequest/ASIHTTPRequest.m,-[ASIHTTPRequest checkRequestStatus],1638
NetScaler Gateway is not configured to proxy the Worx/Secure Mail Traffic to the Mail Server