cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to access HANA WebIDE returns "Internal server error", logs contain "UAA failed" errors

gardalic
Explorer
0 Kudos

Hello,

we have an issue connecting to HANA WebIDE in a "SAP S/4HANA 2021 Fully-Activated Appliance". Trying to connect to WebIDE over browser is only returning "Internal server error", the same is happening when trying to open hana-cockpit or hana-cockpit-admin from XSA. Looking at the logs in the instance (as hdbadm) we're seeing the following error:

Could not authenticate with UAA: Could not obtain access token: request to UAA at https://<instance>:39032/uaa-security/oauth/token failed, error: Request to UAA failed: certificate has expired (connecting to <instance>:39032)

We tried the approach described in 2866031 https://me.sap.com/notes/0002866031 however, when we try to run "XSA reset-certificate" we get "ERROR: Incomplete HANA environment. The following variables are missing: [SAP_RETRIEVAL_PATH, DIR_EXECUTABLE, DIR_INSTANCE, SAPSYSTEMNAME]".

How do we resolve the original issue of WebIDE not starting? Alternatively, can we fix the XSA "Incomplete HANA environment" error so we can use it to reset the certificate? How?

Link to the appliance: https://cal.sap.com/console/tenant_FM7Z6MRQFNIX#/applianceTemplates/3f4931de-b15b-47f1-b93d-a4267296...

Thank you in advance!

Goran

junwu
Active Contributor
0 Kudos

are you sure xsa is active in the appliance?

gardalic
Explorer
0 Kudos

I can open the XSA API endpoint on port 39030, it shows Runtime and UAA are up and running. Is there something I can check on the OS level?

View Entire Topic
CharlesFeng
Advisor
Advisor
0 Kudos

Hi gardalic,

Regarding "Request to UAA failed: certificate has expired " error, could you please follow below SAP note to renew certificate and then try it again?

https://launchpad.support.sap.com/#/notes/2937526
2937526 - "Internal Server Error" after logon HANA Cockpit/ Cockpit Admin


Best regards,
Charles