cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Unable to set McAfee Secure Container - Android

Jump to solution

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.HttpChannelRequest.WaitForReply(TimeSpan timeout)

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

Server stack trace:

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

   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.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(IMethodCallMessage 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 Solution

Accepted Solutions

Re: Unable to set McAfee Secure Container - Android

Jump to solution

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.

View solution in original post

2 Replies

Re: Unable to set McAfee Secure Container - Android

Jump to solution

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.LoadStoreFromBlob(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()

Re: Unable to set McAfee Secure Container - Android

Jump to solution

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.

View solution in original post

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community