locked
Activesync not working - RPC Error on test-outlookwebservices RRS feed

  • Question

  • Hi All,

    I'm having an issue which is driving me nuts in 2010. OWA and Autodiscover are working correctly, but I cannot get a device to use activesync correctly.

    I ran test-outlookwebservices | fl and get the following:

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1019
    Type       : Information
    Message    : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1006
    Type       : Information
    Message    : Contacted the Autodiscover service at https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1016
    Type       : Information
    Message    : [EXCH] The AS is configured for this user in the AutoDiscover response received from https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1015
    Type       : Information
    Message    : [EXCH] The OAB is configured for this user in the AutoDiscover response received from https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1014
    Type       : Information
    Message    : [EXCH] The UM is configured for this user in the AutoDiscover response received from https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1016
    Type       : Information
    Message    : [EXPR] The AS is configured for this user in the AutoDiscover response received from https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1015
    Type       : Information
    Message    : [EXPR] The OAB is configured for this user in the AutoDiscover response received from https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1014
    Type       : Information
    Message    : [EXPR] The UM is configured for this user in the AutoDiscover response received from https://corp.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1022
    Type       : Success
    Message    : Autodiscover was tested successfully.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1106
    Type       : Information
    Message    : Contacted the Autodiscover service at https://EXCHANGE.misi.local:443/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1116
    Type       : Information
    Message    : [EXCH] The AS is configured for this user in the AutoDiscover response received from https://EXCHANGE.misi.local:443/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1115
    Type       : Information
    Message    : [EXCH] The OAB is configured for this user in the AutoDiscover response received from https://EXCHANGE.misi.local:443/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1114
    Type       : Information
    Message    : [EXCH] The UM is configured for this user in the AutoDiscover response received from https://EXCHANGE.misi.local:443/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1116
    Type       : Information
    Message    : [EXPR] The AS is configured for this user in the AutoDiscover response received from https://EXCHANGE.misi.local:443/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1115
    Type       : Information
    Message    : [EXPR] The OAB is configured for this user in the AutoDiscover response received from https://EXCHANGE.misi.local:443/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1114
    Type       : Information
    Message    : [EXPR] The UM is configured for this user in the AutoDiscover response received from https://EXCHANGE.misi.local:443/autodiscover/autodiscover.xml.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1122
    Type       : Success
    Message    : Autodiscover was tested successfully.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1024
    Type       : Success
    Message    : [EXCH] Successfully contacted the AS service at https://exchange.misi.local/EWS/Exchange.asmx. The elapsed time was 630 milliseconds.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1026
    Type       : Success
    Message    : [EXCH] Successfully contacted the UM service at https://exchange.misi.local/EWS/Exchange.asmx. The elapsed time was 171 milliseconds.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1024
    Type       : Success
    Message    : [EXPR] Successfully contacted the AS service at https://corp.domain.com/ews/exchange.asmx. The elapsed time was 46 milliseconds.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1026
    Type       : Success
    Message    : [EXPR] Successfully contacted the UM service at https://corp.domain.com/ews/exchange.asmx. The elapsed time was 46 milliseconds.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1013
    Type       : Error
    Message    : When contacting https://corp.domain.com/rpc received the error The remote server returned an error: (503) Server Unavailable.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1029
    Type       : Error
    Message    : [EXPR] Error contacting the RPC/HTTP service at https://corp.domain.com/rpc. Elapsed time was 218 milliseconds.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1113
    Type       : Error
    Message    : When contacting https://exchange.misi.local/rpc received the error The remote server returned an error: (503) Server Unavailable.

    RunspaceId : 07191793-e09f-4d64-bcf3-dbe60fffd429
    Id         : 1129
    Type       : Error
    Message    : [EXPR] Error contacting the RPC/HTTP service at https://exchange.misi.local/rpc. Elapsed time was 31 milliseconds.

    The test connectivity tool gives the following error, the rest of the tests are successful.


    Client certificate authentication couldn't be determined because an unexpected failure occurred. WinHttpReceiveResponse failed with error 12030.
    Elapsed Time: 9365 ms.
        Testing HTTP Authentication Methods for URL https://corp.domain.com/Microsoft-Server-ActiveSync.
         The HTTP authentication test failed.
         
        Additional Details
         
    Exception details:
    Message: The underlying connection was closed: An unexpected error occurred on a receive.
    Type: System.Net.WebException
    Stack trace:
    at System.Net.HttpWebRequest.GetResponse()
    at Microsoft.Exchange.Tools.ExRca.Extensions.RcaHttpRequest.GetResponse()
    Exception details:
    Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
    Type: System.IO.IOException
    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)
    Exception details:
    Message: An existing connection was forcibly closed by the remote host
    Type: System.Net.Sockets.SocketException
    Stack trace:
    at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    Elapsed Time: 9116 ms.

    Wednesday, December 23, 2015 8:39 PM

Answers

  • Hi lordsloth,

    I recommend you refer to the following similar thread and try to resolve the issue by recreating ActiveSync Virtual Directory :

    ActiveSync Connectivity Test failed:  WinHttpSendRequest failed with error 12030

    Hope this helps!

    Best regards,


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Niko Cheng
    TechNet Community Support

    Thursday, December 24, 2015 7:15 AM
    Moderator