Server Error in ‘/owa’ Application

Server Error in ‘/owa’ Application

ASSERT: HMACProvider.GetCertificates:protectionCertificates.Length<1
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Exchange.Diagnostics.ExAssertException: ASSERT: HMACProvider.GetCertificates:protectionCertificates.Length<1

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ExAssertException: ASSERT: HMACProvider.GetCertificates:protectionCertificates.Length<1] Microsoft.Exchange.Diagnostics.ExAssert.AssertInternal(String formatString, Object[] parameters) +234 Microsoft.Exchange.Diagnostics.ExAssert.RetailAssert(Boolean condition, String formatString, T1 parameter1, T2 parameter2) +90 Microsoft.Exchange.Clients.Common.HmacProvider.GetCertificates() +359 Microsoft.Exchange.Clients.Common.HmacProvider.GetHmacProvider() +68 Microsoft.Exchange.Clients.Common.HmacProvider.ComputeHmac(Byte[][] messageArrays) +14 Microsoft.Exchange.HttpProxy.FbaModule.SetCadataCookies(HttpApplication httpApplication) +1073 Microsoft.Exchange.HttpProxy.FbaFormPostProxyRequestHandler.HandleFbaFormPost(BackEndServer backEndServer) +3627 Microsoft.Exchange.HttpProxy.FbaFormPostProxyRequestHandler.ShouldContinueProxy() +20 Microsoft.Exchange.HttpProxy.ProxyRequestHandler.BeginProxyRequestOrRecalculate() +257 Microsoft.Exchange.HttpProxy.ProxyRequestHandler.InternalOnCalculateTargetBackEndCompleted(TargetCalculationCallbackBeacon beacon) +1528 Microsoft.Exchange.HttpProxy.<>c__DisplayClass280_0.b__0() +303
Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func2 filterDelegate, Action1 catchDelegate) +35
Microsoft.Exchange.HttpProxy.ProxyRequestHandler.CallThreadEntranceMethod(Action method) +59

[AggregateException: One or more errors occurred.]
Microsoft.Exchange.HttpProxy.ProxyRequestHandler.EndProcessRequest(IAsyncResult result) +413
System.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar) +231
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +172

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4465.0

Solution:

Exchange Server error in ‘/owa’ application – Page 3 – Microsoft Tech Community

nomarlly, after renew exchange auth cert it need wait to GMT reach to local timezone

because we in GMT +7 show we have to wait 7 hours

i work arround by change timezone to UTC to check service is ok or not

for expired cert, you can remove but carefully

[9:27 PM] Bui, Quang

1. Error Powershell and OWA, ECP due to both servers automaticaly updated Security patch kb5012698 via windows update with wrong security permission. It cause lack file SharedWebConfig.config in %ExchangeInstallPath%\ClientAccess\ and %ExchangeInstallPath%\FrontEnd\HttpProxy\. This issue happened on server hq-mail-01 -> We corrected SharedWebConfig.config file on server hq-mail-01
2. Error cannot access owa, ecp and cannot send/receive email because Exchange Server Open Authentication (OAuth) certificate is expired. This happened on both servers -> We renewed Exchange Server Open Authentication (OAuth) certificate

[9:27 PM] Bui, Quang

I summaried issue and solution as above. Please send to customer

Leave a Reply

Your email address will not be published. Required fields are marked *