How to solve "rasa.core.channels.rest - Message handling timed out for user message"

Hi all,

I’m currently deploying RASA on Okteto with Docker and docker-compose. Setting the rasa server and rasa action server up works without any issues but when I send the first message I get this error message:

ERROR rasa.core.channels.rest - Message handling timed out for user message

When I shut down the action server the bot answers fine (unless there is an action in the story of course). My global slot mapping used to be big but now it is very small so that cannot be the reason. I really don’t know what the problem is. “tracker now has 4 events.” does also not seem problematic to me. To me, it looks like it is not accessing the actions at all.

This is my endpoint.yml

action_endpoint: url: “http://rasa-actions-server/webhook

I tried this one first with another bot and it worked but now I thought that I may need to insert the endpoint provided by Okteto to reach the action server which is something like this:

https://rasa-actions-server-.cloud.okteto.net

I really hope someone can shed some light on this

From inside the Rasa container, I suspect there’s no response to curl http://rasa-actions-server/webhook.

And could you tell me what is the reason for that?

There could be many reasons. Wrong hostname or port are the first two things to check.