From last few days, my analytics tracker was not working. So I thought to fix this issue today.

Issue/Problem Detail:

When I start “Sitecore Marketing Automation Engine – .MarketingAutomationService”, it was thowing error and it does not letting them start.

When I checked the log file, below issue was writting:

2020-06-01 10:01:12.623 +05:30 [Error] Failed to start the Marketing Automation Engine service. System.InvalidOperationException: This configuration has not been initialized. Please call the initialize method before using it.

2020-06-01 10:44:06.196 +05:30 [Error] Error initializing XConnect client. System.AggregateException: One or more errors occurred. —> Sitecore.XConnect.XdbCollectionUnavailableException: An error occurred while sending the request. —> System.Net.Http.HttpRequestException: An error occurred while sending the request.

When I checked my xConnect instance, it was working fine.

http://www.tekkishare.com

After searching a lot, I found the source of the issue. The culprit was non-signed certificates.

So, I moved these un signed certificate to the Intermediate Certification Authorities.

Executed below powershell command to check the un-signed certificates:

Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject}

http://www.tekkishare.com

Execute the below command to move your un-signed certificate to Intermediate Certificate Authorities:

Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-Item -Destination Cert:\LocalMachine\CA

http://www.tekkishare.com

Started the Sitecore Marketing Automation Engine. This time it got start.

It fixed my issue.

Thanks for your time.



References: