Forum Discussion

GIN_Tonic's avatar
GIN_Tonic
Copper Contributor
Mar 05, 2025

Exchange Hybrid Wizard Error (413)

Hello, 

we are running into issues with the Hybrid Wizard. On the last point validation, we always getting the same error and dont know what to do, cuz it says the external server is responding with....

See Log attached.

 

2025.03.05 08:43:02.035 *ERROR* 10349 [Client=UX, Page=HybridConnectorInstall, Thread=8] 
                                      The connection to the server '6499703f-91f1-4369-a729-b40098fdd276.resource.mailboxmigration.his.msappproxy.net' could not be completed., The call to 'https://6499703f-91f1-4369-a729-b40098fdd276.resource.mailboxmigration.his.msappproxy.net/EWS/mrsproxy.svc' failed. Error details: The remote server returned an unexpected response: (413) RequestEntityTooLarge.., The remote server returned an unexpected response: (413) RequestEntityTooLarge.
                                      OriginalFailureType: ProtocolException, WellKnownException: MRSRemote None MRSRemote 
                                      Remote stack trace:
                                      Remote trace:
                                         at System.ServiceModel.Channels.HttpResponseMessageHelper.ValidateResponseStatusCode()
                                         at System.ServiceModel.Channels.HttpResponseMessageHelper.ParseIncomingResponse(TimeoutHelper timeoutHelper)
                                         at System.ServiceModel.Channels.HttpChannelFactory`1.HttpClientRequestChannel.HttpClientChannelAsyncRequest.ReceiveReplyAsync(TimeoutHelper timeoutHelper)
                                         at System.ServiceModel.Channels.RequestChannel.RequestAsync(Message message, TimeSpan timeout)
                                         at System.ServiceModel.Channels.ClientReliableChannelBinder`1.RequestAsync(Message message, TimeSpan timeout, MaskingMode maskingMode)
                                         at System.ServiceModel.Channels.RequestReliableRequestor.OnRequestAsync(Message request, TimeSpan timeout, Boolean last)
                                         at System.ServiceModel.Channels.ReliableRequestor.RequestAsync(TimeSpan timeout)
                                         at System.ServiceModel.Channels.ClientReliableSession.OpenAsync(TimeSpan timeout)
                                         at System.ServiceModel.Channels.ReliableRequestSessionChannel.OnOpenAsync(TimeSpan timeout)
                                         at System.ServiceModel.Channels.ReliableRequestSessionChannel.OnOpenAsync(TimeSpan timeout)
                                         at System.ServiceModel.Channels.CommunicationObject.OnOpenAsyncInternal(TimeSpan timeout)
                                         at System.ServiceModel.Channels.CommunicationObject.System.ServiceModel.IAsyncCommunicationObject.OpenAsync(TimeSpan timeout)
                                         at System.ServiceModel.Channels.ServiceChannel.OnOpenAsync(TimeSpan timeout)
                                         at System.ServiceModel.Channels.CommunicationObject.OnOpenAsyncInternal(TimeSpan timeout)
                                         at System.ServiceModel.Channels.CommunicationObject.System.ServiceModel.IAsyncCommunicationObject.OpenAsync(TimeSpan timeout)
                                         at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
                                         at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
                                         at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
                                         at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args)
                                         at generatedProxy_3.ExchangeVersionInformation(VersionInformation, VersionInformation&)
                                         at Microsoft.Exchange.Connections.Common.WcfClientWithFaultHandling`2.<>c__DisplayClass4_0.<CallService>b__0() in \_\sources\dev\common\src\Connections\Common\WcfClientWithFaultHandling.cs:line 76
                                         at Microsoft.Exchange.Net.WcfClientBase`1.CallService(Action serviceCall, String context)

5 Replies

  • VimsTech's avatar
    VimsTech
    Copper Contributor
    1. Please make sure the MRS proxy is enabled in your Exchange Server.
    2. Run Remote connectivity analyser tool for your exhcnage on-premises environment for exchange webservices and make sure everything is working fine
    3. Make sure the Necessary ports for Hybrid are Open inbound/outbound.

     

    • Towel's avatar
      Towel
      Copper Contributor

      Do you have any outbound proxy on the way? Any filtering device or application security system for outbound access?

      • GIN_Tonic's avatar
        GIN_Tonic
        Copper Contributor

        only the firewall, but MS stuff is in the dynamic lists, so all should go through, i event cant find anything blocked in the logs... or is there some special urls? br