I'm trying to use a streaming datasource in the new SAP Lumira 2.0 Designer component. I installed SAP ESP studio and started a local server using a sample project. I set up correctly the connection between Lumira Designer and the ESP local server. I enabled "ShowLivePreview" option of the datasource and I'm able to see the data in real time from Lumira Designer.
When I start the application I have to input the ESP server credentials (user and password). After that I get this error message:
Error Websocket URL localhost:9091 (DS_STREAMING) NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:9091/espws/restservice/websocketprovider?ver-1504268523722'.
and I'm not able to see the data I was able to see while developing.
I don't understand why I'm able to see the data while developing but not when i run the application.