Symptom
You have installed HANA Cockpit 2.0.
When you access it, you get the following error:
"Internal Server Error"
When you generate a trace cockpit-web-app.log through the command 'xs logs --all cockpit-web-app', you can see the following or similar entries:
9/7/17 3:29:37.024 AM [API] OUT Starting instance [state STARTING, index 0] of droplet [id 2] of app 'cockpit-web-app' [Org 'HANACockpit', Space 'SAP'] at [hanaserver.mycompany.com:50018].
9/7/17 3:33:27.198 AM [APP/2-0] SYS #2.0#2017 09 07 03:33:27:184#+00:00#INFO#/approuter################PLAIN##Application router version 2.7.0#
9/7/17 3:33:27.274 AM [APP/2-0] SYS #2.0#2017 09 07 03:33:27:273#+00:00#INFO#/approuter################PLAIN##Applicaiton router is listening on port: 50018#
9/7/17 3:33:59.000 AM [RTR] OUT 10.2.2.44 - - to hanaserver.mycompany.com:51021 "GET / HTTP/1.1" 302 sent 5 in 14 by 00I-86d05e6d-ff88-4212-8e6f-04bab96dfa92
9/7/17 3:33:59.000 AM [RTR] OUT 10.2.2.44- - to hanaserver.mycompany.com:51021 "GET /index.html HTTP/1.1" 200 sent 233 in 34 by 00I-86d05e6d-ff88-4212-8e6f-04bab96dfa92
9/7/17 3:33:59.000 AM [RTR] OUT 10.2.2.44 - - to hanaserver.mycompany.com:51021 "GET /sap/hana/cockpit/landscape/index.html HTTP/1.1" 302 sent 0 in 11 by 00I-86d05e6d-ff88-4212-8e6f-04bab96dfa92
9/7/17 3:33:59.135 AM [APP/2-0] SYS #2.0#2017 09 07 03:33:59:134#+00:00#INFO#/Auth/OAuth2#########OJdB-E5S4Hrhq8okzddQIBltIkLesMQ7######j79wf1ed#PLAIN##sending redirect to https://hanaserver.mycompany.com:39632/uaa-security/oauth/authorize?response_type=code&client_id=sb-cockpit!i1&redirect_uri=https%3A%2F%2Fhanaserver.mycompany.com%3A51021%2Flogin%2Fcallback#
9/7/17 3:34:18.000 AM [RTR] OUT 10.2.2.44 - - to hanaserver.mycompany.com:51021 "GET /login/callback?code=LOyFDa HTTP/1.1" 500 sent 32 in 103 by 00I-86d05e6d-ff88-4212-8e6f-04bab96dfa92
9/7/17 3:34:18.358 AM [APP/2-0] SYS #2.0#2017 09 07 03:34:18:357#+00:00#ERROR#/Handler#########0dCUugo0ZyxEQMc6_NVcZsRfo-qjAwht######j79wfg62#PLAIN##GET request to /login/callback?code=LOyFDa completed with status 500 - Could not authenticate with UAA: Could not obtain access token: request to UAA at https://hanaserver.mycompany.com:39632/uaa-security/oauth/token failed: tunneling socket could not be established, cause=write EPROTO 140215460665152:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- SAP HANA 2.0 Express;
- HANA Cockpit 2.0
Product
Keywords
hana cockpit, internal server error, web error, HTTP_PROXY, HTTPS_PROXY, no_proxy, proxy, status 500, UAA, Could not obtain access token , KBA , HAN-CPT-CPT2 , SAP HANA Cockpit version 2 - based on XSA , HAN-DB , SAP HANA Database , BC-XS-APR , XSA Application Router , BC-XS-RT , XS Advanced Runtime / XS Controller , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview