Skip to Content

Lumira 2.0 Designer - Streaming Datasource with Event Stream Processor

Hello,

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.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 04, 2017 at 04:34 PM

    Hello,

    the problem was about Cross-Origin Request. I solved using a Chrome extension.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded