cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Commerce Cloud default storefront domain URL not accessible

elango_valluvan2
Explorer
3,109

Hi, We have setup the custom storefront extensions in SAP Commerce Cloud. Post successful build and deployment, we are trying to access the storefront publicly using the out-of-box storefront URL given in the cloud portal (https://accstorefront*.com). But we are getting 'Server Error' on accessing this URL.

Is setting up DNS a mandatory step to access the accstorefront endpoint?

Accepted Solutions (0)

Answers (2)

Answers (2)

nsasi
Explorer

Hi,

Did you try adding '/yacceleratorstorefront?site=<sitename>' to end?

Former Member
0 Likes

Hi,

I am facing the same problem. I get a text on the browser "server error" with no logs in the console.The WCMS Cockpit preview URL is /store/?site=hybris . I have tried the above mentioned solution but the issue still remains. PFB my local.properties and localextensions.xml .

local.properties

# place your custom properties into this file instead of modifying the project.properties # all properties in this file have higher priority and will overwrite the platform/project.properties settings. installed.tenants= commerceservices.default.desktop.ui.experience=desktop hac.webroot=/hac hmc.webroot=/hmc productcockpit.webroot=/productcockpit cscockpit.webroot=/cscockpit backoffice.webroot=/backoffice merchandisestorefront.webroot=/store storefrontContextRoot=/store website.hybris.http=http://localhost:9001/store?site=hybris website.hybris.https=https://localhost:9002/store?site=hybris # Liveeditaddon has to be included in the storefronextension (not only by requires-extension). merchandisestorefront.additionalWebSpringConfigs.liveeditaddon=classpath:/liveeditaddon/web/spring/b2c-properties-spring.xml,classpath:/liveeditaddon/web/spring/liveeditaddon-storefront-web-spring.xml # Also some Spring used properties must be adopted, as the package is different after modulegen. cmsPageBeforeViewHandler=de.hybris.merchandise.storefront.interceptors.beforeview.CmsPageBeforeViewHandler uiThemeResourceBeforeViewHandler=de.hybris.merchandise.storefront.interceptors.beforeview.UiThemeResourceBeforeViewHandler

localextensions.xml

<?xml version="1.0" encoding="UTF-8"?> <hybrisconfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="resources/schemas/extensions.xsd"> <extensions> <!-- All extensions located in ${HYBRIS_BIN_DIR}/platform/ext are automatically loaded. More information about how to configure available extensions can be found here : https://wiki.hybris.com/x/nZVzC --> <path dir="${HYBRIS_BIN_DIR}" />

<extension name='mcc' /> <extension name='backoffice' /> <extension name="btg"/> <extension name="btgcockpit"/> <extension name='commercesearchbackoffice' /> <extension name='commerceservicesbackoffice' /> <extension name='solrfacetsearchbackoffice' /> <extension name='solrserver' /> <extension name='yaddon' /> <extension name='ycommercewebservices' /> <extension name='liveeditaddon' /> <extension name='acceleratorwebservicesaddon' /> <extension name="hmc" /> <extension name="productcockpit" /> <!-- custom-ext --> <extension name='merchandisecore'/> <extension name='merchandisefacades'/> <extension name='merchandisestorefront'/> <extension name='merchandisefulfilmentprocess'/> <extension name='merchandiseinitialdata'/> <extension name='merchandisecockpits'/> <!-- <extension name="admincockpit" /> <extension name="backoffice" /> <extension name="cockpit" /> <extension name="hmc" /> <extension name="mcc" /> <extension name="platformhmc" /> <extension name="mediaconversion" /> <extension name="rulebuilderbackoffice"/> <extension name="commerceservicesbackoffice"/> <extension name="textfieldconfiguratortemplatebackoffice" /> <extension name="couponbackoffice"/> <extension name="couponfacades"/> -->

</extensions> </hybrisconfig>