[Latest] Rasa core integration with chatwidget https://github.com/mrbot-ai/rasa-webchat

Hi,

Can just comment all code in your credentials.yml file except socketio stuff and try again. And try again.

I tried commenting all the other code. Unfortunately, the problem still persists.

And what about servers i.e one for custom action and another one for rasa are they up and running properly???

Yes they are running normally, i took a picture of rasa serverā€™s log and posted it above.

hmm. can just try restarting both servers and then check please else I will need to have look at your project.

I have tried that too, but no luck. I donā€™t know if the problem is in the project though. The UI should appears regardless of how the bot is config, right ? If i canā€™t send or receive messages, or the bot didnā€™t answer correctly or something then sure, but this simply looks like the UI is not even being rendered.

hmm have you tried inspecting the page using google chrome developer tools??

I inspected the page and it seems that the body is only consist of 1 very small <div> block.

There is an error warning:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5005/socket.io/?EIO=3&transport=polling&t=MokdsHf. (Reason: Multiple CORS header ā€˜Access-Control-Allow-Originā€™ not allowed).

okay I got that.

To run your custom action sever:

python -m rasa_sdk --actions actions

To run rasa use:

rasa run -m models --enable-api --cors "*"

try now :blush:

even Iā€™m facing this issue ā€¦ the browser doesnā€™t load with anything ā€¦ i noticed that when i use the version 0.40 if the mrbot webchat, the browser loads

Hi I want to know how to process the customData in custom actions?

Hi @prashant_kamble,

I want to use the userID to make some api calls in my actions file , how am i suppose to go with it.

Thank, Aashay

@Aashay1 use can get user id from this. ā€˜user_id = tracker.sender_idā€™