Cannot connect to remote conference servers

I have a trivial setup with two servers on two different machines. I am trying to have a client connected to one server connect to a conference room on the other server, however it is not working. When I go to the “Conferences” tab in Spark I can add the remote server using the “Add Conference Service” field, however this takes about a minute even though they’re connected via ethernet. Once connected, I can double click on “conference.remotemachine” and bring up a window, but the list is blank and after 10 seconds it brings up an error box that says “Unable to retrieve conference information. Please try back later.”

I couldn’t make heads nor tails of the error log in Openfire, so I tried packet dumping between the two servers (I turned off security and compression to facilitate this).

The behavior looks mostly normal.

The client side server relays a message like so:

The remote server then attempts to create a link back to my local server, but is apparently rejected:

Remote:

<stream:stream xmlns:db=“jabber:server:dialback” xmlns:stream=“http://etherx.jabber.org/streams” xmlns=“jabber:server” to=“mm157972-pc” version=“1.0”>

Response:

<stream:stream xmlns:db=“jabber:server:dialback” xmlns:stream=“http://etherx.jabber.org/streams” xmlns=“jabber:server” from=“mm157972-pc” id=“2b030852” version=“1.0”>stream:features</stream:features>

Remote:

<db:result from=“conference.mm133731-pc” to=“mm157972-pc”>f943de79298c4618e781f0577fe762e923e07c70</db:result>

Response:

<stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error></stream:stream>

Remote:

</stream:stream>

It then tries to apparently set up the same connection again, with slightly different syntax, but the same results:

Remote:

<stream:stream xmlns:stream=“http://etherx.jabber.org/streams” xmlns=“jabber:server” xmlns:db=“jabber:server:dialback”>

Response:

<stream:stream xmlns:stream=“http://etherx.jabber.org/streams” xmlns=“jabber:server” xmlns:db=“jabber:server:dialback” id=“c38cd287”>

Remote:

<db:result from=“conference.mm133731-pc” to=“mm157972-pc”>0545f7e9ab430f37b360d7d7a2113710d067bea9</db:result>

Response:

<stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error></stream:stream>

Remote:

</stream:stream>

What am I doing wrong here? I’ve looked all through the administration interface (which is mostly still default, save for disabling the server to server encryption and creating a static chat room for testing), but nothing looks like it should be causing this. I can post the error logs from the server if they will be of help to somebody.

I found the relevant error log entry finally:

] Error trying to connect to remote server: conference.mm133731-pc(DNS lookup: conference.mm133731-pc:5269)

this makes it difficult to test with two local machines on the same domain, but luckily with a little addition to the windows host table i was able to make it work.