Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed starting up interactive mode #102

Open
OfficialVreesie opened this issue Aug 18, 2019 · 0 comments
Open

Failed starting up interactive mode #102

OfficialVreesie opened this issue Aug 18, 2019 · 0 comments

Comments

@OfficialVreesie
Copy link

OfficialVreesie commented Aug 18, 2019

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/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant