Skip to Content
0
Apr 03, 2020 at 06:30 PM

XSA hostname redirects to old hostname (after migration and reinstallation)

362 Views Last edit Apr 03, 2020 at 10:36 PM 2 rev

Hi

we recently migrated our hana db from host1 to host2. After migration we had to uninstall XSA and reinstall XSA.

The below url works after reinstallation.
https://api.host2:30133

But the other urls redirects to old host1.

example

https://xsa-cockpit.newhost2:30133/ redirects to https://xsa-cockpit.oldhost1:30233/

https://xsa-admin.newhost2:30133/ redirects to https://xsa-admin.oldhost1:30233/

I checked the parameter value:

# xsuaaserver.ini last modified 2020-04-03 14:11:18.166879 by hdbnameserver
[configuration]
uaa.oidc.enableoidc = true
uaa.oidc.enablex509 = true
uaa.oidc.providerdescription = HANA OIDC-Provider
uaa.oidc.providerlinktext = HANA Login
uaa.oidc.providername = HANA OIDC-Provider

[environment]
uaa_url = https://newhost2:30133/uaa-security

Can't find any values in the below files.

xsengine.ini and

xscontroller.ini files.

Is there any other place I need to change the hostname and port?

Also when I try the below command, the get the error as below.

# XS command line client version: v1.0.124 (built 2020-03-19 14:08:40, codeline REL, SAP SE)

xs login -a https://api.newhost2.com:30133 -u -p --skip-ssl-validation

[2020-04-03 18:33:12:176]-[CLI]-[error]-[.]-[.]: FAILED: Could not get list of organizations: UAA's check_token() endpoint was called with invalid credentials. Could be a clientsecret mismatch.
com.sap.xs2rt.core.rest.client.RestResponseException: UAA's check_token() endpoint was called with invalid credentials. Could be a clientsecret mismatch.
at com.sap.xs2rt.core.generated.rest.resource.client.OrganizationsClient.getOrganizations(OrganizationsClient.java:82)
at com.sap.xs2rt.core.generated.rest.resource.client.OrganizationsClient.getOrganizations(OrganizationsClient.java:70)
at com.sap.xs2rt.client.impl.command.Login.target(Login.java:413)
at com.sap.xs2rt.client.impl.command.Login.run(Login.java:274)
at com.sap.xs2rt.client.impl.Main.main(Main.java:382)

Any help is appreciated.

Thanks