Wednesday, 9 August 2023

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

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

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

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

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

Check whether all the HANA services are up and running.

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

Logon to XSA CLI with command xs-admin-login

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

Get the Web IDE URL with command xs apps

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

Investigation:


To check the log , run the command

xs logs –all cockpit-web-app

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

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

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

Reset the certificate with command XSA reset-certificate

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

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

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

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

Run the command xs apps as shown below

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

launch advance XSA as shown below

https://<hostname with fqdn>:39630

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

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

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

SAP HANA Certification, SAP HANA Career, SAP HANA Skills, SAP HANA Jobs, SAP HANA Guides, SAP HANA Certification, SAP HANA Tutorial and Materials, SAP HANA XSA

No comments:

Post a Comment