JustinaPetr / Weatherbot_Tutorial

275 stars 446 forks source link

Failed starting up interactive mode #102

Open OfficialVreesie opened 5 years ago

OfficialVreesie commented 5 years ago

Hi all, I have a problem. I want to run an interactive training with my model. So I use these lines: rasa run actions and: rasa interactive -m models/chatbot.tar.gz --endpoints endpoints.yml

But that gave me this error

ERROR rasa.core.training.interactive - Failed to connect to Rasa Core server at 'http://localhost:5005'. Is the server running?

So I started a server with this command: rasa run -m models/chatbot.tar.gz --enable-api

Then I tried to run this command again: rasa interactive -m models/chatbot.tar.gz --endpoints endpoints.yml But then I got this error:

[ERROR] Unable to start server Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/sanic/server.py", line 745, in serve http_server = loop.run_until_complete(server_coroutine) File "uvloop/loop.pyx", line 1417, in uvloop.loop.Loop.run_until_complete File "uvloop/loop.pyx", line 1686, in create_server OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 5005): address already in use

What am I doing wrong?

Here is my endpoints.yml:

action_endpoint:
  url: "http://localhost:5055/webhook/"