Skip to content

Can't connect to the Rasa server #24

Description

@stjo15

I've input the code snippets according to instructions in README.

<!doctype html>
<html lang="en">
  <head>
    <script type="module" src="https://unpkg.com/@assister/rasa@latest/dist/rasa/rasa.esm.js"></script>
    <script nomodule src="https://unpkg.com/@assister/rasa@latest/dist/rasa/rasa.js"></script>
    <link href="https://unpkg.com/@assister/rasa@latest/dist/rasa/rasa.css" rel="stylesheet">
    <style>
      :root {
    /* --header-background-color: gray; */
    /* --header-text-color: black; */
}
    </style>
  </head>
  <body>
    <rasa-bot server="http://localhost:5005" />
  </body>
</html>

I also tried with the public ip and domain name like this (the Rasa and Client app are on the same server right now):

<rasa-bot server="http://my-public-ip:5005" />

But I get thisoutput in the developer tools console:

rasa-bot.entry.js:267 POST http://localhost:5005/conversations/a3cceec6-d092-4608-a472-4d246d2ceacf/predict net::ERR_CONNECTION_REFUSED

The rasa server is running, port 5005 is open and I added this to credentials.yml:

rest:
#  # you don't need to provide anything here - this channel doesn't
#  # require any credentials

What's wrong here? Why is there no connection?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions