paschmann / rasa-ui

Rasa UI is a frontend for the Rasa Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rasa UI unable to connect to Rasa server

TitusHora opened this issue · comments

Describe the bug
Rasa UI can't connect to Rasa server.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'npm start'
  2. This is what I get:

RasaUI@3.0.1 start C:\Users\Titus\Documents\rasa-ui
node server/server.js
2020-06-21 09:53:08.243|rasa-ui|info|Rasa UI Server: http://localhost:5001;
2020-06-21 09:53:08.253|rasa-ui|info|Database connected!;
2020-06-21 09:53:08.256|rasa-ui|info|Schema version v3.0.1 matches package.json schema version v3.0.1;
2020-06-21 09:53:20.254|rasa-ui|info|Rasa Server: http://10.211.55.8:5005;
2020-06-21 09:53:20.254|rasa-ui|error|--> Unable to connect to Rasa Server: Error: ETIMEDOUT;

Expected behavior
Rasa UI to start working.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Installation Type (please complete the following information):

  • Windows install following the 'README.md' file.

Hi @TitusHora - you need to change the IP address (variable: rasa_endpoint) in the package.json file to the IP address of your Rasa Server.

Thank you, @paschmann!

I have just tried it: I have changed to http://localhost:5005;
Now I get: Unable to connect to Rasa Server: Error: connect ECONNREFUSED 127.0.0.1:5005;
I am not that 'technical' (obviously) :-)

Thanks again.

Hi, I faced the same issue too. I've created a pull request to point "rasa_endpoint" to localhost by default.