[jitsi-dev] Jid Overrided Server disco#info implementation



Yes, the override server is specified in the account options.

talk.org is only a virtual xmpp server, hence there is no SRV-Record. The
actual Ubuntu Server is talk.example.org and it has a accessible public

Actually ejabberd xmpp server is trying to made a s2s (server to server)
communication via port 5269 to “talk.example.org”, thinking it is another
clustered xmpp server.

My believe is that Jitsi should only make disco#info to xmpp server

I am a new user to jitsi mailing list. By the way how do I reply to a
message in the mailing list. Right now I did a cut and paste from the
mailing message and send via email.

I am not sure if this is the right way.


CM Eng

Ingo Bauersachs
2-69D8DB35290D%40jitsi.org%3E> ingo at jitsi.org
Sun Jan 17 08:43:02 CET 2016

* Previous message: [jitsi-dev] Jid Overrided Server disco#info
* Next message: [jitsi-dev] Jitsi videobridge multiple binding
* Messages sorted by: [ date ]
<http://lists.jitsi.org/pipermail/dev/2016-January/date.html#26437> [
thread ]
<http://lists.jitsi.org/pipermail/dev/2016-January/thread.html#26437> [
subject ]
<http://lists.jitsi.org/pipermail/dev/2016-January/subject.html#26437> [
author ]



If you say overriding, do you mean you specified the server manually in the
account options?
If so, it wouldn't surprise me if there is a bug with that option somewhere.
Can't you set up an SRV-Record at talk.org that points to talk.example.org?
I'm pretty sure the problem would disappear then.


Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

On 17.01.2016, at 16:09, cmeng.gm <cmeng.gm at gmail.com <http://lists.jitsi.org/mailman/listinfo/dev> > wrote:


In ejabberd xmpp server implementation, it supports multiple virtual xmpp

hosts on a single physical domain host.

I have an xmpp virtual host e.g. “talk.org” setup and it resides on a

physical domain e.g. “talk.example.org”

i.e. “talk.example.org” is only a physical server and has no xmpp features

connection with “talk.org”.

A Jitsi client installed on Windows XP has an jid i.e. abc123 at talk.org

<http://lists.jitsi.org/mailman/listinfo/dev> with “Override server default
options” = “talk.example.org”

When jitsi-windows (version 2.9.5489) client launches, abc123 at talk.org

<http://lists.jitsi.org/mailman/listinfo/dev> log onto the xmpp talk.org as
expected. From the ejabberd traces, however I see that jitsi-windows client
also sends an xmpp IQ request i.e. http://jabber.org/protocol/disco#info to
“talk.example.org”. This causes the “talk.org: xmpp host to perform an s2s
connection to “talk.example.org” and reply with <error code='404'
type='cancel'>, since “talk.example.org” host does not have any xmpp service

I would expect jitsi-windows should only send

http://jabber.org/protocol/disco#info to “talk.org” and not to
“talk.example.org” as it is only a physical media.

What should be the correct implementation? Please advise.

Note: this happens also for jitsi-ubuntu version (version 2.9.5488). I

have my jitsi client implementation on android based on jitsi-andorid open
source, it does not have this problem. I have also tried both the Gajim and
Pidgin on Windows XP. From ejabberd log, both client never attempt to send
http://jabber.org/protocol/disco#info to “talk.example.org”.

Thanks & Regards,
CM Eng

============= ejabberd log (cut and paste only the relevant info)


2016-01-17 10:06:50.011 [debug]

<0.600.0>@ejabberd_receiver:process_data:303 #####

==#== Received XML on stream = <<"<iq id=\"2AfKt-101\" type=\"get\"><query


<iq id=\"2AfKt-102\" to=\"talk.example.net\" type=\"get\"><query


2016-01-17 10:06:50.248 [debug] <0.602.0>@ejabberd_s2s_out:get_addrs:1191

##### inet of talk.example.net resolved to: [{115,61,221,39}]

2016-01-17 10:06:50.249 [debug]

<0.602.0>@ejabberd_s2s_out:open_socket2:300 ##### s2s_out: connecting to

2016-01-17 10:06:50.249 [debug]

<0.602.0>@ejabberd_s2s_out:open_socket2:311 ##### s2s_out: connect return

2016-01-17 10:06:50.272 [debug] <0.602.0>@ejabberd_s2s_out:get_addrs:1195

##### inet6 lookup of 'talk.example.net' failed: nxdomain

2016-01-17 10:06:50.272 [info] <0.602.0>@ejabberd_s2s_out:open_socket:253

##### s2s connection: talk.org -> talk.example.net (remote server not found)

2016-01-17 10:06:50.273 [debug] <0.602.0>@ejabberd_router:do_route:324

##### route






{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"to">>,<<"abc123 at talk.org

2016-01-17 10:06:50.273 [debug] <0.601.0>@ejabberd_c2s:send_text:1856


==#== Send XML on stream = <<"<iq from='talk.example.net' to='abc123 at

talk.org <http://lists.jitsi.org/mailman/listinfo/dev> /jitsi-1iktben’
type=‘error’ id=‘2AfKt-102’><query
xmlns=‘http://jabber.org/protocol/disco#info’/><error code=‘404’

      This email has been sent from a virus-free computer protected by


dev mailing list
dev at jitsi.org <http://lists.jitsi.org/mailman/listinfo/dev>
Unsubscribe instructions and other list options:

-------------- next part --------------
An HTML attachment was scrubbed...

This email has been checked for viruses by Avast antivirus software.