I have the following problem:
Sometimes the action-server is down and the chatbot can’t run actions in the background. The user doesn’t get any information about the problem.
Since core is working, the user doesn’t really notice that action-server is not working, but some of the dialogues don’t make sense any more or actions (e.g. sending an e-mail, FormAction…) don’t take place.
Is there a possibility to define also fallbacks if action-server is down?
If this is a problem you’re only having in development, then I’d say don’t worry about it; in production your action server should be reliably up. Since custom fallback actions are themselves handled by the action server, any kind of check that the action server was up would have to be handled by some other service that redirects requests to the bot to a model that doesn’t predict custom actions. At which point, that service would have to be reliably up. The long and short of it is, your action server needs to be reliable (at least in production)
Thank you for the answer. Our chatbot is already in production. You are right, the action-server was up, but it has stopped responding without any error message for several days. It could only be fixed by restarting the action-server.
I know that it doesn’t make sense to implement fallback-actions for action-server errors, that’s why I’m asking. Maybe somebody knows where to define this kind of “fallbacks”.
I’m facing a similar situation when restarting a large number of action servers. There’s a need for a fallback policy when the ping to the server is rejected. Is there any solution to this?