SAP Knowledge Base Article - Preview

3317170 - SSR Coding Common Recommendations

Symptom

1.
Failure rate increase

2.
Response time degradation

3.
SSR get stuck and does not give any response to Nginx, and Nginx gets huge of 504 or 502 exceptions.

4.
There are these logs in jsapps-ssr container:

ERROR ReferenceError: sessionStorage is not defined

ERROR ReferenceError: window is not defined

ERROR ReferenceError: document is not defined


Read more...

Environment

SAP Commerce Cloud with JS Storefront

Product

SAP Commerce Cloud all versions

Keywords

Server Side Rendering,SSR,SSR code guideline , 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.