26

Internal Server Error occurred when trying to log in to Hana cockpit in web brow...

 1 year ago
source link: https://blogs.sap.com/2023/08/08/internal-server-error-occurred-when-trying-to-log-in-to-hana-cockpit-in-web-browser/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
August 8, 2023 2 minute read

Internal Server Error occurred when trying to log in to Hana cockpit in web browser

Overview:

Logon to the HANA Cockpit Server with the <sid>adm user

a1-3.jpg

Click Hana-cockpit on the lower rightside of the screen as shown above

a2-1.jpg

Internal Server Error appeared in the page of the browser screen.

Check whether all the HANA services are up and running.

a3-2.jpg

Logon to XSA CLI with command xs-admin-login

a4-1.jpg

Get the Web IDE URL with command xs apps

a5-1.jpg

Investigation:

To check the log , run the command

xs logs –all cockpit-web-app

a6-1.jpg

As shown above, Could not authenticate with UAA: Could not obtain access token: request to UAA at https://<hostname>:3<INS>32/uaa-security/oauth/token failed, error: Request to UAA failed: certificate has expired (connecting to <hostname>:3<INS>32)

Resolution

Logon to the HANA server with your <sid>adm user

Logon to XSA CLI with command xs login or xs-admin-log

a7-2.jpg

Reset the certificate with command XSA reset-certificate

a8-1.jpg

A new self-signed certificate for the default-domain is set and XSA is restarted automatically

As of XS advanced version 1.0.55, this will generate a new self-signed server certificate for the platform . XS advanced will be restarted automatically.

This restarted hdbxscontroller and hdbxsuaaserver services as shown below

a9-2.jpg
a11-3.jpg
a12-3.jpg

Logon to XSA CLI with command xs login or xs-admin-log

Run the command xs apps as shown below

a14-1.jpg

launch advance XSA as shown below

https://<hostname with fqdn>:39630

a15-1.jpg

Then click Hana cockpit on the lower right side of the screen highlighted yellow color as shown above

a16-2.jpg
a17-1.jpg

Conclusion:

It is important to note that once the command “XSA set-certificate” is executed on the primary node, it will immediately replicate to the secondary node, therefore no more actions or file copies are required. No additional steps need to be taken on the secondary node.

Secondly,

Command “XSA reset-certificate” can extend the XSA domain certificate for 1 year

Reference :

https://me.sap.com/notes/0002866031

Thanks for reading!

Follow for more such posts by clicking on FOLLOW => Prasad Rao

Please share your thoughts and feedbacks on this blog in a comment


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK