Skip to content

Failed starting up interactive mode #102

Description

@OfficialVreesie

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/"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions