Deployment Issue – Rasa Server Not Responding Properly After Successful Build

jhonmicheal
FREE

8 days ago

Hi Everyone,

I'm deploying a Rasa chatbot on Railway. The deployment completes successfully, and logs confirm that the Rasa server is running. However, the bot is not responding to user input as expected — especially fallback actions are not being triggered, even though the model and rules are set up.

Here’s what I’ve configured:

  • Rasa server is started via start.sh and Procfile using:
    rasa run --enable-api --cors "*" --port $PORT --debug

  • A trained model is present in the models/ folder.

  • domain.yml, rules.yml, and config.yml are all properly defined (fallbacks included).

  • No errors appear in the Railway logs, but the bot doesn't respond properly to unrecognized input via the /webhooks/rest/webhook endpoint.

Is there anything I might be missing in Railway's configuration that could prevent proper model loading or fallback triggering?

Any guidance would be appreciated!

Thanks in advance.

$10 Bounty

4 Replies

7 days ago

Apologies but this looks like an issue with the application level code. Due to volume, we can only answer platform level issues.

I've made this thread public so that the community might be able to help with you query.


Status changed to Awaiting User Response railway[bot] 7 days ago


sim
FREETop 5% Contributor

7 days ago

Have you used curl to hit the endpoint /webhooks/rest/webhook ? Do you get the expected response back?


jhonmicheal
FREE

6 days ago

Yes, I used curl to hit the endpoint, and here's the exact command I ran:

curl -X POST https://my-railway-app/webhooks/rest/webhook \
-H "Content-Type: application/json" \
-d '{
  "sender": "test_user",
  "message": "hello"
}'

Response:

https://hoppscotch.io/ I checked on it and it shows network error and HTTP log shows 502 error


jhonmicheal
FREE

2 days ago

No response ?
Can anyone help where I am wrong ?


Deployment Issue – Rasa Server Not Responding Properly After Successful Build - Railway Help Station