sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.76k stars 1.58k forks source link

XMPP configuration results in Let's Chat not working at all #724

Open whisdom opened 7 years ago

whisdom commented 7 years ago

Hi all,

I have installed the Let's Chat server on Ubuntu 14.04. With default configuration it works (XMPP disabled). Web Interface can be used.

As soon as I try to enable XMPP and restart the Let's Chat service, this service does not work at all.

Here is what I have tested in the settings.yml (also tried to change this in defaults.yml). I onla have changed the xmpp.enable=true:

xmpp: enable: true roomCreation: false debug: handled: false unhandled: false port: 5222 domain: username: node # node / full tls: enable: false key: ./server.key cert: ./server.crt

Result is that even the webbrowser cannot to port 5000 anymore. Process is running.

Any idea? Are there any logfiles that I can look into?

Thanks

angvp commented 7 years ago

@hhaidar I confirm this is happening on CentOS 6 as well, my only solution was to downgrade to a lower version of node-xmpp-server (2.1.2 in my case) is the latest version of node-xmpp-server that works on old installations.

That might help you @whisdom ? or did you fix it in another way?

sadfuzzy commented 7 years ago

If you want xmpp enabled, you should specify the server ip address, it's installed on or fqdn

angvp commented 7 years ago

@sadfuzzy I think OP has an old server version (Ubuntu 14.04) so the solution is to downgrade as I suggested..