#rasa

Configuring and Troubleshooting Rasa Chatbot

TLDR murtuzaali is having issues with a non-responsive Rasa bot. sojan_official provided troubleshooting steps, but the issue isn't fully resolved. Lkhagvasuren joined the discussion with inbox registration queries.

Powered by Struct AI

1

Dec 14, 2021 (25 months ago)
murtuzaali
Photo of md5-fa9942f1c8c08b10447b8b4b6c7ef7fc
murtuzaali
12:39 PM
I have configured the bot but the rasa bot isn't responding..
Dec 15, 2021 (25 months ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
03:16 PM
hey @!695611966290526228 did you configure the rasa bot following https://github.com/chatwoot/rasa-agent-bot-demo ?

do you have the agent bot registed to the inbox ?

can you see the chatwoot requests being forwarded to the php agent bot server ?
Dec 16, 2021 (25 months ago)
murtuzaali
Photo of md5-fa9942f1c8c08b10447b8b4b6c7ef7fc
murtuzaali
05:35 AM
How to know that the agent bot is registered to inbox?
Not sure about chatwoot forwarding requests to the php server.. can you tell me how to figure it out?
Dec 19, 2021 (25 months ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
04:12 AM
If the requests are being forwarded, the php server's logs should show incoming requests.
murtuzaali
Photo of md5-fa9942f1c8c08b10447b8b4b6c7ef7fc
murtuzaali
04:53 AM
@!647412665471336479
Image 1 for <@!647412665471336479>
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
05:11 AM
The flow works likes this.

-> chatwoot forwards the requests to agent bot
-> agent bot forwards it to rasa. get a response,
- agent bot post this response back to chatwoot.

you need to make sure that all this three flows are working


since you have outgoing_url configured for the agent bot. the php server should be receiving events for the messages created in chatwoot. one way to verify that chatwoot is forwarding the requests correctly is to configure a webhook url from services like https://hookbin.com/ and see if you are receiving event , if you are step 1 is working

for step 2 ensure that your php server is running on port 8000 and the requests from chatwoot are showing up in the logs
murtuzaali
Photo of md5-fa9942f1c8c08b10447b8b4b6c7ef7fc
murtuzaali
05:31 AM
php logs, no message is being sent to the php server
Image 1 for php logs, no message is being sent to the php server
05:42
murtuzaali
05:42 AM
I am receiving an event
05:43
murtuzaali
05:43 AM
@!647412665471336479
Image 1 for <@!647412665471336479>
05:43
murtuzaali
05:43 AM
Image 1 for
05:46
murtuzaali
05:46 AM
php server is also running at port 8000
05:47
murtuzaali
05:47 AM
Image 1 for
05:51
murtuzaali
05:51 AM
server status code is 200
05:55
murtuzaali
05:55 AM
how to access php server logs?
Dec 20, 2021 (25 months ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
11:06 AM
could you give information about your environment ?
is it your local machine or a remote server ?
how are you running you chatwoot installation ? ( docker / normal installation ? )
Dec 21, 2021 (25 months ago)
murtuzaali
Photo of md5-fa9942f1c8c08b10447b8b4b6c7ef7fc
murtuzaali
04:32 AM
Running WSL
May 09, 2022 (20 months ago)
Lkhagvasuren
Photo of md5-14ae9f01c12937cff61059ab3d20ab19
Lkhagvasuren
09:05 AM
Image 1 for
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
10:36 AM
Lkhagvasuren seems like you don't have an inbox with inbox id 1 . so probably log into dashboard and create a new inbox ?
May 10, 2022 (20 months ago)
Lkhagvasuren
Photo of md5-14ae9f01c12937cff61059ab3d20ab19
Lkhagvasuren
06:16 AM
How do I register an agent bot in an inbox?
06:16
Lkhagvasuren
06:16 AM
Do I need to add a bot to the appointed agent section to register?
Image 1 for Do I need to add a bot to the appointed agent section to register?