This was originally posted on 2007-03-03 to http://andrewho.co.uk/weblog/centericq-and-ejabberd
I've been unable to connect to the jabber.org server using centericq, and after
a bit of google-ing, I've found the reason why. It turns out that centericq
sends a request for iq:agents, which is deprecated. ejabberd returns with
503 Service Unavailable, and centericq disconnects immediately. The fix for
this is to simply stop centericq from sending this request. In
src/hooks/jabberhook.cc comment out the following lines:
x = jutil_iqnew(JPACKET__GET, NS_AGENTS);