Hi Friends,
I am facing the CORS issue, unable to resolve the same. My bot is ready and gives response when executed with “rasa interactive” command after training the nlu and core.
Can i know the steps to host an angular front-end with IIS with rasa bot.
Tried many steps, but getting the below CORS issue after hosting the website, dont know where im going wrong.
Error: Failed to load resource: net::ERR_FAILED servername/:1 Access to XMLHttpRequest at ‘http://servername:5002/socket.io/?EIO=3&transport=polling&t=N6SUKVA’ from origin ‘http://servername’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Can anyone let me know the definition of below command and its usage rasa run --endpoints endpoints.yml --connector socketio --credentials credentials.yml --port 5002 --cors http://servername/dist/
Kindly help!!
Thanks, AJ