So basically I’m trying to integrate rasa chatbot widget from here: GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront as it has many reviews and features. I’m integrating it on a completely empty webpage.
What I have done so far - ran Rasa chatbot, setup Ngrok server so that I can access index.html which is on Linux server along with whole Rasa project from anywhere using Ngrok link and imported that url as socketUrl in index.html
The problem is that after I insert code from the provided git project and open my webpage, in the console I see this error:
Error: server error at u.onPacket (index.js:116) at e.exports. (index.js:116) at e.exports.r.emit (index.js:1) at e.exports.onPacket (index.js:12) at index.js:17 at Array.forEach () at e.exports.onData (index.js:17) at f. (index.js:116) at f.r.emit (index.js:1) at f.onData (index.js:116)
The index.js of course is not under my control since I can see it is uploaded from https://email@example.com/lib/index.js
And I’m pretty sure that the issue is not on my Linux server side since I managed to setup a simple unknown widget using code that I found online some time ago, but it does not satisfy me.
Any ideas what went go wrong here? I saw tutorials of that chat widget, many peoples are using it and it is most popular on search engines, so it’s hard to believe that their server is having issues.