SAP Knowledge Base Article - Preview

3400584 - HANA Cockpit return an blank screen and cockpit-web-app report error message "TypeError: Cannot read properties of undefined"

Symptom

You are facing issue that SAP HANA cockpit portal is showing the blank page after login 

Check thecockpit-web-app.log, you can see the error message as below: 

cockpit-web-app.log

MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR   /hana/shared/<SID>/xs/app_working/hdb00-<SID>/executionroot/..../app/node_modules/@sap/site-entry/services/api-proxy.js:31
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR                       "locale": ((req.headers['sap-language']) ? req.headers['sap-language'] + "," : "") +  req.headers['accept-language'],
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR                                              ^
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR   
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR   TypeError: Cannot read properties of undefined (reading 'sap-language')
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR       at ApiProxy.proxy (/hana/shared/<SID>/xs/app_working/hdb00-<SID>/executionroot/..../app/node_modules/@sap/site-entry/services/api-proxy.js:31:44)
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR       at Function.enrichSitePersonalization (/hana/shared/<SID>/xs/app_working/hdb00-<SID>/executionroot/..../app/node_modules/@sap/site-entry/middleware/personalization-middleware.js:38:18)
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR       at /hana/shared/<SID>/xs/app_working/hdb00-<SID>/executionroot/..../app/node_modules/@sap/site-entry/middleware/site-middleware.js:46:55
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR       at runMicrotasks (<anonymous>)
MM/DD/YY h:mm:ss.mss AM [APP/36-4] ERR       at processTicksAndRejections (node:internal/process/task_queues:96:5)


Read more...

Environment

SAP HANA Cockpit 2.0

Product

SAP HANA, platform edition 2.0

Keywords

SAP HANA Cockpit blank screen, xs a, cockpit-flp-content,  <none>, upgrade SAP HANA Cockpit, Install SAP HANA Cockpit, empty Screen, Bind-Service , KBA , HAN-CPT-CPT2-ADM , SAP HANA Cockpit 2 (Administration Core) , 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.