Skip to Content
0

SAP HANA EXPRESS 2.0 SP01 di-space-enablement-ui server internal error 500

Jul 21, 2017 at 08:07 AM

382

avatar image

Hello

I am following the SAP HANA Academy Live5 tutorial on youtube.

Everything is ok until the video 11 - Initial setup XS Advanced Administration.

I have created the new space DEV in the org HANAExpress.

I have assigned XSA_DEV and XSA_ADMIN with the roles.

I have set the service broker to logical database SHA with default.

I go to the apllication monitor tile, select the di-space-enablement-ui application, start it, and when I click on the URL, I have a internal Server Error with the link :

https://<host>:51046/login/callback?code=...

I want to enable the space with a command line but I do not find the documentation.

Please provide me a solution about the Internal Server Error or the command to enable the space.

Regards

Emmanuel

10 |10000 characters needed characters left characters exceeded

Please find below the log from the di-spaces-enablement-ui.

[1500851175411] [API] OUT Updated app 'di-space-enablement-ui' [Org 'HANAExpress', Space 'SAP'] (state: STARTED -> STOPPED) with entity {'name':'di-space-enablement-ui', 'memory':16, 'instances':1, 'disk_quota':1, 'space_guid':'d4bdc5e0-412b-456c-af07-c17f388a2afb', 'state':'STOPPED', 'health_check_type':'port', 'start_priority':0}.

[1500851175417] [API] OUT Stopping 1 instance(s) of app 'di-space-enablement-ui' [Org 'HANAExpress', Space 'SAP']

[1500851175480] [API] OUT Stopped all 1 instance(s) of app 'di-space-enablement-ui' [Org 'HANAExpress', Space 'SAP'] on Execution Agent hxehost:49903.

[1500851175567] [API] OUT Updated app 'di-space-enablement-ui' [Org 'HANAExpress', Space 'SAP'] (state: STOPPED -> STARTED) with entity {'name':'di-space-enablement-ui', 'memory':16, 'instances':1, 'disk_quota':1, 'space_guid':'d4bdc5e0-412b-456c-af07-c17f388a2afb', 'state':'STARTED', 'health_check_type':'port', 'start_priority':0})

[1500851175571] [API] OUT Starting 1 instance(s) of app 'di-space-enablement-ui' [Org 'HANAExpress', Space 'SAP']

[1500851189752] [API] OUT Starting instance [state STARTING, index 2] of droplet [id 2] of app 'di-space-enablement-ui' [Org 'HANAExpress', Space 'SAP'] at [hxehost:50033].

[1500851192378] [APP/2-2] SYS #2.0#2017 07 24 08:06:32:375#+09:00#INFO#/approuter################PLAIN##Application router version 2.7.1#

[1500851192399] [APP/2-2] SYS #2.0#2017 07 24 08:06:32:399#+09:00#INFO#/approuter################PLAIN##Applicaiton router is listening on port: 50033#

[1500851395000] [RTR] OUT 192.168.0.235 - - to hxehost:51046 "GET / HTTP/1.1" 302 sent 5 in 6 by 00T-2955f74e-e2d2-4386-8a00-1eca98ca0d0a

[1500851395000] [RTR] OUT 192.168.0.235 - - to hxehost:51046 "GET /index.html HTTP/1.1" 302 sent 0 in 9 by 00T-2955f74e-e2d2-4386-8a00-1eca98ca0d0a

[1500851395000] [RTR] OUT 192.168.0.235 - - to hxehost:51046 "GET /login/callback?code=CZayVM HTTP/1.1" 500 sent 32 in 21 by 00T-2955f74e-e2d2-4386-8a00-1eca98ca0d0a

[1500851395740] [APP/2-2] SYS #2.0#2017 07 24 08:09:55:740#+09:00#INFO#/Auth/OAuth2#########ximGd08BA_lLfmppDeEVJ8QzFTKr2K2t######j5hc64k5#PLAIN##sending redirect to https://hxehost:39032/uaa-security/oauth/authorize?response_type=code&client_id=sb-webide!i1&redirect_uri=https%3A%2F%2Fhxehost%3A51046%2Flogin%2Fcallback#

[1500851395875] [APP/2-2] SYS #2.0#2017 07 24 08:09:55:875#+09:00#ERROR#/Handler#########yxNVUGIGG-7GjmUKeChNLZPpBIWlQeZ8######j5hc64nj#PLAIN##GET request to /login/callback?code=CZayVM completed with status 500 - Could not authenticate wi<a href="/storage/temp/57575-audit20170724.txt">audit20170724.txt</a>th...

And please find attached the logs from the audit.

Regards

Emmanuel

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Joice Liu
Jul 24, 2017 at 10:06 PM
0

Dear Emmanuel,

To solve the authentication issue, please try to do "xs logout/xs login" with XSA_ADMIN user before deploying di-builder to see if it solves your problem.

After adding role to XSA_ADMIN user, we need to login/logout with "xs logout/login" to give XSA_ADMIN user a chance to get the role assigned.

Should you have more issues, please do not hesitate to contact me.

Best regards,

Joice

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thank you for the help.

I have reinstalled Hana Express Edition and followed the Getting_started document instead of the LIVE5 XSA initial settings video and now it is working.

I will one more time make a clear installation and I contact you.

Regards

Emmanuel

0

Hello Joice.

Thank you for your help.

I was able to continue the tutorial but now I am blocked with a error when I want to build the file graph.hdbcds.

I will open a new thread.

Regards

Emmanuel

0

Thanks, Emmanuel. Should you have any more questions, please do not hesitate to contact us again.

0