这个note有说明:
2708660 - How to Get Support for Spartacus JS Storefront SAP Commerce Cloud
Once the build is redeployed, the SSR feature is active. To troubleshoot SSR issues, search for jsapps logs in Kibana.
A simple way to get logs for the js storefront is to set a filter on Kibana with : "Kubernetes.pod_name | is | jsapps* " as in the link below where we clearly can see an SSR timeout for a specific URL request : “SSR rendering exceeded timeout, fallbacking to CSR for /electronics-spa/en/USD/product/300938/Photosmart%20E317%20Digital%20Camera…”: https://logs.c4avqjtcp1-conforama1-d1-public.model-t.cc.commerce.ondemand.com/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:‘2020-11-26T12:13:49.531Z’,mode:absolute,to:‘2020-11-26T20:13:49.531Z’))&_a=(columns:!(_source),filters:!((’$state’:(store:appState),meta:(alias:!n,disabled:!f,index:‘flb-’,key:kubernetes.pod_name,negate:!f,params:(query:'jsapps’,type:phrase),type:phrase,value:‘jsapps*’),query:(match:(kubernetes.pod_name:(query:‘jsapps*’,type:phrase))))),index:‘flb-*’,interval:auto,query:(language:lucene,query:timeout),sort:!(time,desc))
I’ve checked your last build log and saw that
Name: conforama-storefront Path: conforama-storefront (Of course alway make sure its the right path that you are using) enableSSR: true
Thus when loading the js home page and navigating around on the same URLs that had the SSR timeout I can’t see an undesired behavior or a timeout and it seems working for now (of course it would depend on which pages are configured to be CSR or SSR). Could you confirm : https://logs.c4avqjtcp1-conforama1-d1-public.model-t.cc.commerce.ondemand.com/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-1h,mode:quick,to:now))&_a=(columns:!(_source),filters:!((’$state’:(store:appState),meta:(alias:!n,disabled:!f,index:‘flb-’,key:kubernetes.pod_name,negate:!f,params:(query:'jsapps’,type:phrase),type:phrase,value:‘jsapps*’),query:(match:(kubernetes.pod_name:(query:‘jsapps*’,type:phrase))))),index:‘flb-*’,interval:auto,query:(language:lucene,query:timeout),sort:!(time,desc))