2 Replies
      Latest reply: Nov 8, 2016 5:33 AM by simmanni RSS
      simmanni Level 1 Level 1 (0 points)

        Hello,

         

          We are implementing the IPSec VPN using the NEVPNManager API. Basically we are using the built in IPSec engine. We are trying to capture any errors that might happen during the connection setup. We are using – startVPNTunnelAndReturnError which would give us the information regarding the following errors:

         

        NEVPNErrorConfigurationInvalid

        NEVPNErrorConfigurationDisabled

        NEVPNErrorConnectionFailed

        NEVPNErrorConfigurationReadWriteFailed

        NEVPNErrorConfigurationStale

        NEVPNErrorConfigurationUnknown

         

        We would like to know if NEVPNErrorConnectionFailed would give us any further information about authentication errors or the exact error codes returned by the VPN server? We would need this information for some of our reporting details as well as to display the messages to the end user as to why the connection has failed.

         

        Thank you,

        Shalini.