Symptom
- Error encountered during server-side rendering (SSR) execution:
ERROR: URL with hostname '127.0.0.1' is not allowed. Please provide a list of allowed hosts in the 'allowedHosts' option in the constructor.
- SSR request fails and fallback to CSR
Read more...
Environment
- SAP Commerce Cloud
Product
SAP Commerce Cloud 2211 ; SAP Commerce Cloud, composable storefront all versions
Keywords
SSR, server-side rendering, hostname error, 127.0.0.1, allowedHosts, SSR failure, error message , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview