Sitecore Commerce Business Tools не загружается
У меня проблема с загрузкой бизнес-инструментов Sitecore Commerce на мой локальный компьютер. Я не получаю никакой ошибки в своем браузере, которую вы можете проверить на следующем снимке экрана, но страница не инициализирована:
Похоже, что операции GetNavigationView() и GetLanguageView() застряли при получении данных, но я не мог понять, в чем может быть проблема.
В качестве подготовительных шагов я выполнил начальную загрузку Sitecore Commerce и инициализацию среды через Postman, и все прошло нормально.
В CommerceAuthoring_Sc9\wwwroot\config.json я установил отпечаток сертификата, и вот что у меня есть в AppSettings:
"AppSettings": {
...
"SitecoreIdentityServerUrl": "https://localhost:5050",
"AllowedOrigins": [
"https://localhost:4200",
"https://sxa.storefront.com"],
"AntiForgeryEnabled": false,
"UseHttpsInKestrel": true,
"SslPort": 5000,
"SslPfxPath": "wwwroot/localhost.pfx",
"SslPfxPassword": "sitecore"
}
Также в CommerceAuthoring_Sc9\wwwroot\bootstrap\Global.json я добавил все используемые мной среды.
Здесь вы можете проверить некоторые ошибки, которые я заметил в журналах CommerceAuthoring:
ERROR ImportMinion Error Access to the path 'C:\Import.lock' is denied. Inner
...
ERROR SitecoreConnectionManager.Error: Message=Invalid URI: The hostname could not be parsed.|Trace=
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel) System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest( CommerceContext commerceContext, String action, String method, ItemModel itemModel)
...
ERROR SitecoreConnectionManager.Error: Message=One or more errors occurred.|Trace= at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)
System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)
---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---
...
ERROR Management.block.getitemsbypath: Sitecore Item Service Get item failed, Item /sitecore/Commerce/Commerce Control Panel/Commerce Engine Settings/Commerce Terms/BusinessTools/ViewNames not found.
Я проверил некоторые решения, которые уже упоминались на форумах, но пока не повезло.
Я буду очень признателен, если у вас есть какие-либо советы для меня!