For the purposes of this post, the root domain example.com.
I have an XMPP Server (ejabberd) running on Debian 6.
In Clients (Pidgin, Adium) when I try to add a gtalk xmpp account as a Contact, I get "Not Authorized" messages, along with 404 and 503 error (debugging output below).
While this would suggest a misconfiguration of ejabberd, if I configure the XMPP server to host chat.example.com, adding a gtalk user works just fine. Same is true if the XMPP server hosts secondexample.com.
Perhaps this is a DNS issue? Well, I've looked at DNS, hosts files, and I've either verified that they are correct. But I've removed them and replaced them just in case.
Server build? I've rebuilt it from scratch. Same problem. Network? I've tried it on a different network.
I've run out of ideas.
Can gtalk blacklist servers? By mistake?
If you have any ideas, they'd be appreciated.
XMPP Console output from Pidgin client with 'exa[email protected]' when trying to add user '[email protected]':
<iq type='result' to='example.com' id='2188721256'/>
<iq type='set' id='purplec8d28432'>
<query xmlns='jabber:iq:roster'>
<item jid='[email protected]' name=''>
<group>Buddies</group>
</item>
</query>
</iq>
<presence to='[email protected]' type='subscribe'/>
<iq from='[email protected]' to='[email protected]/test' id='push524344776' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='[email protected]'>
<group>Buddies</group>
</item>
</query>
</iq>
<iq type='result' id='push524344776'/>
<iq from='[email protected]' to='[email protected]/test' id='purplec8d28432' type='result'/>
<iq from='[email protected]' to='[email protected]/test' id='push1181680121' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='[email protected]'>
<group>Buddies</group>
</item>
</query>
</iq>
<iq type='result' id='push1181680121'/>
<presence from='[email protected]' to='[email protected]/test' type='error'>
<error code='404' type='cancel'>
<remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</presence>