Alexmhack/Django-Rasa-Bot

I have to run following command to show chat widget on local host!chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

iampanthera opened this issue · 2 comments

I have to run following command to show chat widget on local host!chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

issue
if i donot open google without disabling security, following error occur

Access to XMLHttpRequest at 'http://localhost:5005/socket.io/?EIO=3&transport=polling&t=My9gh-W' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

There are some issues regarding the CORS with rasa, checkout some other issues on this repo, see if they solve your problem.