on 2014 Nov 10 4:08 PM
I tried to expose the WebGUI as an HCP application following the guidelines. This should simply be possible by using a (dummy) HTML5 application in HCP with a neo-app.json file declaring a destination 'sap'. This destination is then defined in HCP with URL=http://host:port/sap and proxyType 'onPremise'.
In the Cloud Connector I defined a virtual host 'host:port' with internal host 'realHost:realPort' and assigned '/sap' (with all sub-paths) to it.
In this way it's now possible to call any SICF-node (e.g. WebGUI) in the backend system via HCP as reverse proxy using the usual URL-path, e.g. https://appName-XXXtrial.dispatcher.hanatrial.ondemand.com/sap/bc/gui/sap/its/webgui.
Calling this URL I get the expected logon screen from the backend, but logging on is not possible as cookies somehow handled not properly (error message on log on screen: 'Logon with URL parameter not possible; logon cookie is missing').
When looking at the Clound Connector trace it seems that only the 'last' cookie from the cookie header field is transferred to the backend
Any idea what goes wrong here?
Request clarification before answering.
After playing around a little bit: the missing cookie has the 'secure'-flag set. So it is passed only in case of https. After changing the destination in HCP to https://host:port/sap things are working fine (at least regarding cookies ...).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
33 | |
9 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.