Kaiwa XMPP : Need help on LDAP and XMPP conf

Hello all,
I just learnt about this app which looks quite interesting: http://getkaiwa.com/ It is a web client for XMPP with a nice interface and LDAP integration.
http://getkaiwa.com/assets/img/header.png

Installing it is pretty forward, but I am struggling on the configuration. Here is the example conf file:

{
    "isDev": true,
    "http": {
        "host": "localhost",
        "port": 8000
    },
    "session": {
        "secret": "shhhhhh don't tell anyone ok?"
    },
    "server": {
        "name": "Kaiwa",
        "domain": "example.com",
        "wss": "wss://example.com:5281/xmpp-websocket/",
        "muc": "chat.example.com",
        "startup": "groupchat/room%40chat.example.com",
        "admin": "admin"
    },
    "ldap": {
        "address": "127.0.0.1",
        "user": "cn=admin,dc=example.com",
        "password": "password",
        "base": "ou=users,dc=example.com",
        "filter": "objectClass=person",
        "group": "cn=mygroup,ou=groups,dc=example.com"
    }
}

And here is my first unsuccessful attempt

{
    "isDev": true,
    "http": {
        "host": "localhost",
        "port": PORTTOCHANGE
    },
    "session": {
        "secret": "SECRETTOCHANGE"
    },
    "server": {
        "name": "Kaiwa",
        "domain": "DOMAINTOCHANGE",
        "wss": "wss://example.com:5281/xmpp-websocket/",
        "muc": "muc.DOMAINTOCHANGE",
        "startup": "groupchat/room%40chat.example.com",
        "admin": "AMINTOCHANGE"
    },
    "ldap": {
        "address": "127.0.0.1",
        "user": "dc=yunohost,dc=org",
        "password": "password",
        "base": "ou=users,dc=yunohost,dc=org",
        "filter": "uid=%uid",
        "group": "dc=yunohost,dc=org"
    }
}
  • I don’t know what to put in websocket (wss)
  • I suspect the LDAP config is wrong: what to put in user and password?

Thanks for your help

1 Like

Great that sound to be a great app.

I think this is a BOSH access because it’s using port 5281.
Jappix, Jappix mini and Movim are using BOSH connection to the XMPP server.

I think this is the YunoHost LDAP user informations.

Thanks for your help.
I put the BOSH link under wss.
I still can’t get the LDAP config to work though. The example conf says cn=admin so perhaps it’s just for the admin side?
I guess I have to find Waika error logs (I have no idea where they are :smiley: )

Kaiwa may look and seem nice, it doesn’t work decently. I deployed it recently on a VPS with Prosody and I couldn’t get it to work like I wanted.

It does not support MUC’s outside of the own server. It does only support public MUC’s, and there is also a problem with those. It does only partly support MAM. There is no way to stay logged in. The list goes on.

I’m planning to start working on a web-based Jabber client next year, but chances are I don’t get to it :stuck_out_tongue:

I was looking for a web client for xmpp too, I’m sad to see that it doesn’t exist yet on yunohost. If somebody wants to work on it, I would be gratefull !

For XMPP web client you can use Movim here is the yunohost link https://github.com/movim/movim_ynh it worked on the fly

The project seems a bit dead.
@stevenroose said there is not very good problems.

Concerning the configuration, BOSH connection is the old way to do web connection.
Websocket is the new way to do connection.

Movim app is using it.