Hi, I can run rasa shell in rasa/rasa with rasa/rasa-sdk, but when I’m trying to add chatroom into rasa/rasa, there is no response from docker logs or ‘yarn serve’ screen, just 2 error on chrome console as below:
POST http://localhost:5005/webhooks/rest/webhook net::ERR_CONNECTION_REFUSED Chatroom.js:1307
Uncaught (in promise) TypeError: Failed to fetch Chatroom.js:1307
Fixed and share to anyone who need it in case:
5005 should be exposed to [host’s port]. Host configuration in index.html of Chatroom should point to http://hostip:[host’s port], not localhost:5005 even they are in the same container. You can check docker-compose.yml and index.html as below: