2 Replies Latest reply on Jan 14, 2015 11:19 AM by georgi_ar

    Unable to set McAfee Secure Container - Android

    georgi_ar

      Hi There,

       

      I've just perform a new installation of EMM 12 on server 2012 and I am trying to provision my first Android devices.

      I've managed to install McAfee EMM, however when trying to update the configuration I am receiving the following message.

      "We're unable to set up McAfee Secure Container. Please try again later."

      At EMM event log the following error occurs:

       

      AndroidMDMHandler acknowledging action request failed: System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to https://localhost/EMMHub/UserPortal.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

         at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

         --- End of inner exception stack trace ---

         at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

         at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

         at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

         at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

         at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

         at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)

         at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

         at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

         --- End of inner exception stack trace ---

         at System.Net.HttpWebRequest.GetResponse()

         at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelR equest.WaitForReply(TimeSpan timeout)

         --- End of inner exception stack trace ---

       

       

      Server stack trace:

         at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebExceptio n(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)

         at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelR equest.WaitForReply(TimeSpan timeout)

         at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)

         at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)

         at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

         at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessa ge methodCall, ProxyOperationRuntime operation)

         at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

       

       

      Exception rethrown at [0]:

         at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

         at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

         at EMM.Portal.UserPortal.IUserPortal.GetAction(Int64 actionId)

         at EMM.Portal.UserPortal.UserPortalClient.GetAction(Int64 actionId)

         at EMM.Portal.AndroidMDMHandler.ProcessMDMResponse(MDMMessage mdmObject, UserPortalClient client, PolicyMapper mapper)

        • 1. Re: Unable to set McAfee Secure Container - Android
          georgi_ar

          attached is the EMMhub log

           

          the below error is reoccurring

           

          2015-01-13 16:33:50,890 [26] ERROR EMM.Hub.EventsToEpoSender - An exception occurred in the Event Thread loop.

          System.Security.Cryptography.CryptographicException: The system cannot find the file specified.

           

           

             at System.Security.Cryptography.X509Certificates.X509Certificate2Collection.LoadSt oreFromBlob(Byte[] rawData, String password, UInt32 dwFlags, Boolean persistKeyContainers)

             at System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import (Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)

             at EMM.Hub.EpoCommunicator.GetCerts()

             at EMM.Hub.EpoCommunicator.UpdateAHList()

             at EMM.Hub.EpoCommunicator.AreAgentHandlersAvailable()

             at EMM.Hub.EventsToEpoSender.DoWork()

          • 2. Re: Unable to set McAfee Secure Container - Android
            georgi_ar

            with the help of KB81110 and reviewing the settings in the Android policy of the EMM (setting the correct proxy).

            Also changing the correct permission of the users accounts

            the issue was resolved.