Wednesday, July 4, 2018

Sitecore Experience Commerce - ERROR Site Disabled. Failed to logging

In a Sitecore Experience Commerce environment running the minions role, the following set of errors would occur when attempting to access an item in Sitecore.
17 19:13:17 INFO Management.block.getitembyid.0F65742E-317F-44B0-A4DE-EBF06209E8EE: Language=en
17 19:13:17 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with ERROR Site Disabled. Failed to logging. /sitecore/api/ssc/auth/login for GET /sitecore/api/ssc/item/0F65742E-317F-44B0-A4DE-EBF06209E8EE?database=master&language=en
17 19:13:17 ERROR SitecoreConnectionManager: RETRY 2 out of 3 with ERROR Site Disabled. Failed to logging. /sitecore/api/ssc/auth/login for GET /sitecore/api/ssc/item/0F65742E-317F-44B0-A4DE-EBF06209E8EE?database=master&language=en
17 19:13:17 ERROR SitecoreConnectionManager: RETRY 3 out of 3 with ERROR Site Disabled. Failed to logging. /sitecore/api/ssc/auth/login for GET /sitecore/api/ssc/item/0F65742E-317F-44B0-A4DE-EBF06209E8EE?database=master&language=en
17 19:13:17 ERROR SitecoreConnectionManager.Error: Message=RETRY FAILED for GET /sitecore/api/ssc/item/0F65742E-317F-44B0-A4DE-EBF06209E8EE?database=master&language=en|Trace=   at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)
System.Exception: RETRY FAILED for GET /sitecore/api/ssc/item/0F65742E-317F-44B0-A4DE-EBF06209E8EE?database=master&language=en
   at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)
17 19:13:17 ERROR Management.block.getitembyid: Sitecore Item Service Get item failed, Item 0F65742E-317F-44B0-A4DE-EBF06209E8EE not found.
I had checked the configuration file along with the content set policy (PlugIn.Content.PolicySet-1.0.0.json) and all connection details and user accounts were correct for the Sitecore instance.\\

It turned out that this error was occurring because the minion experience commerce engine role was blocked from accessing the Sitecore content management instance due to an IP white listing rule.

No comments:

Post a Comment