Rasa Agent Http api

Hello. I’m new in Rassa. My os Ubuntu 20.04. I installed Rasa x full from belowing link

Docker Compose Install Script

In order of my commands;

Then i logged in rasa x and train the my model, conversation with my asistant. It works.

But I want to talk my agent via rest api.(I think /webhooks/rest/webhook). When i reach this endpoint i had connection error.(Error: connect ECONNREFUSED 127.0.0.1:5005)

I changed docker-compose file and add enable-api or port 5005:5005 vs but still not connect; x-rasa-services: &default-rasa-service restart: always image: “/rasa/rasa:${RASA_VERSION}-full” volumes: - ./.config:/.config expose: - “5005” command: > x –no-prompt –production –config-endpoint http://rasa-x:5002/api/config?token=${RASA_X_TOKEN} –port 5005 –jwt-method HS256 –jwt-secret ${JWT_SECRET} –auth-token ‘${RASA_TOKEN}’ –enable-api –cors “*”

How can i http api in my case? Thank you so much.

What is the curl command you’re running?

Problem was solved. It occured docker network.

@kaplan441 Can you describe the solution in more detail? I have the same problem.