We have deployed our UI5 applicaton on our SAP Gateway and we are trying to connect from the UI5 applicaton to Websocket that runs on SAP S4HANA. Unfortunately, when the UI5 application tries to connect Websocket it always failed with the error message:
Websocket connection to: wss://.... failed.
The domains are configured as follows:
SAP Gateway => a.io
SAP S4HANA => b.io
For CORS, we have entered on the transaction SAPC_CROSS_ORIGIN the following:
However it does not work.
The created APC channel on S4HANA works:
The data can no be send and receive.
How can we connect from UI5 application(runs on SAP Gateway) to Websocket(runs on S4HANA)?