matrix-hacks / matrix-puppet-slack

puppet style slack bridge for matrix
47 stars 17 forks source link

Making registration file ECONNREFUSED 127.0.0.1:8008 #88

Open kingoftheconnors opened 5 years ago

kingoftheconnors commented 5 years ago

So, I am trying to set up this bridge on a Ubuntu web server. I logged on to the web server through SSH and updated the config file like so:

{
  "slack": [{
    "team_name": "Name of my team",
    "user_access_token": "blablablablablabla"
  }],
  "registrationPath": "slack-registration.yaml",
  "port": 8090,
  "bridge": {
    "homeserverUrl":"http://localhost:8008",
    "domain": "localhost",
    "registration": "slack-registration.yaml"
  }
}

When I run node index.js -r -u "http://localhost:8090" I get:

This bridge performs matrix user puppeting.
This means that the bridge logs in as your user and acts on your behalf
Enter your user's localpart
 root
Enter password for @root:localhost
 stuffstuffstuffstuff
connect ECONNREFUSED 127.0.0.1:8008

Did I do something wrong?