[jitsi-users] Using Jitsi-Meet with Prosody serving via SRV-records (_xmpp-client._tcp.domain.com)


#1

Hi,

I just want to say how epically wonderful Jitsi-Meet is! What a great work
you developers have done :slight_smile:

Now to my question; because of some non-obvious reason I would like to run
the Prosody server via SRV-records as outlined in this document:
http://prosody.im/doc/dns for my users to be able to login using
account@domain.com instead of account@server.domain.com.

Both servers run ubuntu 14.04 with nightly build packages. Installed via
'apt-get install jitsi-meet'

I have one server (server1.domain.com) setup as "server1.domain.com"
and another server (server2.domain.com) setup as "domain.com".

DNS records are set as

_xmpp-client._tcp.domain.com. IN SRV 0 5 5222 server2.domain.com.
_xmpp-server._tcp.domain.com. IN SRV 0 5 5269 server2.domain.com.

and they resolve nicely.

On both of them the users are authenticated with LDAP as per this blogpost:
http://booting-rpi.blogspot.de/2015/09/using-ldap-authentication-with-jitsi.html

Logging into Server1 works fine in both Empathy/Gajim/etc as well as
Jitsi-Meet, but on Server2 only XMPP-clients can login, not Jitsi-Meet. So
the SRV records work.

I've changed nginx on server2 to respond to server2.domain.com and I've
also changed config.js:

bosh: '//server2.domain.com/http-bind' instead of '//domain.com/http-bind'

This is what happens in prosody.log when trying to create a video
conference in Jitsi-Meet:
https://paste.debian.net/315650

Any hints on what I can do?

Kindest regards,
Mathias