Misconfigured domain names... how should it be?

Hi,

I’‘d like to provide XMPP services for the domain wilde-welt.de, and set up a server jabber.wilde-welt.de. That server has another IP than the domain itself, thus I’'ve added SRV records in my DNS. I assume that works correctly, you could try it for yourself:

mbp:~ christian$ dig jabber.tcp.wilde-welt.de any +short

5 0 5222 jabber.wilde-welt.de.

My first question is: What server name do I have to enter in wildfire? Is there a difference between the xmpp.domain and the server name of the 3 sockets on the main status page? I’'d like my jabber accounts to have a form of user@wilde-welt.de, although the server name is jabber.wilde-welt.de.

When I use Adium to connect to GoogleTalk and try to send a message to christian@wilde-welt.de, Google/Adium gives me an error 404 (without any further information). I assume that there’'s something missing, in the wildfire (warn) log file I see a line every time that Google would be trying to connect to my server:

2007.01.14 13:19:10 Closing session due to bad_namespace_prefix in stream header. Prefix: jabber:server. Connection: org.jivesoftware.wildfire.net.SocketConnection@127e5130 socket: Socket[addr=/89.106.69.138,port=33069,localport=5222] session: null

The debug log reads:

2007.01.14 13:41:07 Connect Socket[addr=/72.14.252.129,port=2740,localport=5222]

2007.01.14 13:41:07 Error creating session

java.io.EOFException: input contained no data

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)

at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)

at org.jivesoftware.wildfire.net.MXParser.nextImpl(MXParser.java:331)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

at org.jivesoftware.wildfire.net.SocketReader.createSession(SocketReader.java:435)

at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java: 53)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)

at java.lang.Thread.run(Thread.java:619)

2007.01.14 13:41:07 Connection closed before session established

Socket[addr=/72.14.252.129,port=2740,localport=5222]

2007.01.14 13:41:07 Connect Socket[addr=/72.14.252.129,port=2741,localport=5222]

2007.01.14 13:41:07 Connection closed before session established

Socket[addr=/72.14.252.129,port=2741,localport=5222]

Can anybody help me with this? Kind regards,

  • Christian

Hi Christian,

you need to set the xmpp.domain (also known as Server Name) to “wilde-welt.de”, as this is used within the JID.

See also http://wiki.igniterealtime.org/display/WILDFIRE/FAQ and follow the link to jabberstudio.org. You may need to setup some more SRV entries.

LG

AFAICS the DNS setup is correct, the xmpp.domain property is set to wilde-welt.de Accessing the admin interface via SSL is working (see https://jabber.wilde-welt.de:9091/), Spark 2.0.7 connects me seamlessly. However, GoogleTalk still gives me that 404 error, with all the other errors as I described them before.

If somebody more experienced than I am could try to send me a message to my JID christian wilde-welt.de and closely watch the outcomes… maybe that could help a bit to find the source of this problem. Kind regards,

  • Christian