Error Connecting Sharepoint Application to Rasa X [SOLVED]

I am connecting a Sharepoint application to Rasa X and am getting a “ERR_CONNECTION_RESET” error when i attempt to talk to the bot in Sharepoint… I followed am using scalable minds and followed along with this --> GitHub - scalableminds/chatroom: React-based Chatroom Component for Rasa Stack

Below is the content of my script in Sharepoint.

<script type="text/javascript">
    var chatroom = new window.Chatroom({
      host: "http://<RASA-VM-IP>:5005",
      title: "Chat with Mike",
      container: document.querySelector(".chat-container"),
      welcomeMessage: "Hi, I am Mike. How may I help you?",
      speechRecognition: "en-US",
      voiceLang: "en-US"

I have the “rest:” line in my credentials.yml file, and start up the rasa server with --cors “" (in the docker-compose.yml file). Maybe i’m getting this error because i’m running docker? Or maybe it’s because Sharepoint and Rasa X are running on 2 different machines? If that’s the case, I would have thought the --cors "” would fix that.

Any ideas?


I attached a screenshot of the error in chrome dev tools.

I figured out the issue in case anyone else comes across this with the same problem. I think it’s because i’m running rasa in docker. I had to change the script in sharepoint to --> host: “http://rasa-vm-IP/core”. So I had to drop the “:5005” and replace it with “/core”.

Can I look over your docker files

It’s just the default docker-compose file provided by rasa, you can get running the below 2 commands in terminal

curl -sSL -o
sudo bash ./

Thanks Kevin