Comments (8)
I don't think this is a chatroom specific question. host: "http://localhost:5005"
should be correct given that you can make a connect to your Rasa backend.
container: document.querySelector(".chat-container")
refers to the HTML container element where the widget is mounted on your page. It has nothing to do with Docker containers.
Have you tried connecting to your Rasa docker setup without the Chatroot Widget? curl
or postman
. Rasa should give you status response if is running correctly. E.g.
curl localhost:5005/webhooks/rest
>> {"status":"ok"}
from chatroom.
This works
curl localhost:5005/webhooks/rest
{"status":"ok"}
from chatroom.
Do you have any errors reported in in your browser's dev tools? Which browser + version are you using?
Which version of the chatroom widget and Rasa are you using?
from chatroom.
Chrome Version 85.0.4183.102
I think this is the Rasa version, from docker container command,: rasa:1.10.11
Chatroom wigdet version? I don't know, I just use that what is instructions, so this is from index.html
<script src="https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/chatroom@master/dist/Chatroom.js"/></script>
from chatroom.
Mhm, versions look alright.
Anything in the browser dev tools?
from chatroom.
Sorry, forget from previous comment, here they are
These came when I opened page
Chatroom.js:1181 [Deprecation] speechSynthesis.speak() without user activation is no longer allowed since M71, around December 2018. See https://www.chromestatus.com/feature/5687444770914304 for more details
o @ Chatroom.js:1181
DevTools failed to load SourceMap: Could not load content for https://npm-scalableminds.s3.eu-central-1.amazonaws.com/Chatroom.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://npm-scalableminds.s3.eu-central-1.amazonaws.com/Chatroom.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Then these came when typed question to bot
Chatroom.js:1197 POST http://localhost:5005/webhooks/rest/webhook net::ERR_CONNECTION_REFUSED
(anonymous) @ Chatroom.js:1197
h @ Chatroom.js:520
(anonymous) @ Chatroom.js:520
t. @ Chatroom.js:520
l @ Chatroom.js:1197
a @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1195
h @ Chatroom.js:520
(anonymous) @ Chatroom.js:520
t. @ Chatroom.js:520
a @ Chatroom.js:1195
n @ Chatroom.js:1195
(anonymous) @ Chatroom.js:1195
(anonymous) @ Chatroom.js:1195
(anonymous) @ Chatroom.js:1195
d @ Chatroom.js:536
y @ Chatroom.js:536
b @ Chatroom.js:536
x @ Chatroom.js:536
_ @ Chatroom.js:536
C @ Chatroom.js:536
P @ Chatroom.js:536
Ln @ Chatroom.js:536
Hn @ Chatroom.js:536
exports.unstable_runWithPriority @ Chatroom.js:532
bl @ Chatroom.js:536
Yo @ Chatroom.js:536
Bn @ Chatroom.js:536
Chatroom.js:1197 Uncaught (in promise) TypeError: Failed to fetch
Promise.then (async)
l @ Chatroom.js:1197
a @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1197
(anonymous) @ Chatroom.js:1195
h @ Chatroom.js:520
(anonymous) @ Chatroom.js:520
t. @ Chatroom.js:520
a @ Chatroom.js:1195
n @ Chatroom.js:1195
(anonymous) @ Chatroom.js:1195
(anonymous) @ Chatroom.js:1195
(anonymous) @ Chatroom.js:1195
d @ Chatroom.js:536
y @ Chatroom.js:536
b @ Chatroom.js:536
x @ Chatroom.js:536
_ @ Chatroom.js:536
C @ Chatroom.js:536
P @ Chatroom.js:536
Ln @ Chatroom.js:536
Hn @ Chatroom.js:536
exports.unstable_runWithPriority @ Chatroom.js:532
bl @ Chatroom.js:536
Yo @ Chatroom.js:536
Bn @ Chatroom.js:536
from chatroom.
Chatroom.js:1197 POST http://localhost:5005/webhooks/rest/webhook net::ERR_CONNECTION_REFUSED
Well, looks like you Docker container does not accept a connection from Chrome. Hard to say from afar what is causing this.
from chatroom.
ok, thanks for help
from chatroom.
Related Issues (20)
- How to use/configure this bot with RASA X?
- please update aws version with rasa merged part of chatroom HOT 3
- preserve spaces in the bot response
- Markdown support for iframe in Rasa dispatcher.utter_message
- Show Image and Text Together in a card HOT 5
- Upload a document HOT 1
- Changing Male Voice to Female voice HOT 1
- Change text language for welcome text HOT 2
- Unexpected end of JSON input HOT 1
- Unable to receive message from the slack app HOT 1
- changing the style of the widget HOT 2
- Minimal example for how to use this with rasa? HOT 3
- yarn install is throwing error HOT 2
- Hosted CSS - Is it correct? HOT 2
- Button payload is ending up as response HOT 1
- Function to Close Chatroom Widget
- speechSynthesis() without permission is no longer allowed - how to correctly deactivate? HOT 3
- How to Run it in React App?
- Type aliases can only be used in TypeScript files.ts(8008) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatroom.