[ejabberd] in-band registration issues

Michael Ossareh ossareh at gmail.com
Tue Jun 10 02:38:00 MSD 2008


Hi,

When I attempt to create accounts on one of our servers I get the
following error:

<iq id="c9Y19-15" from="chat.staging.heysan.com" type="error"><query
xmlns="jabber:iq:register"><username>1243582</username><password>eqN4TTh6</password></query><error
code="500" type="WAIT"><resource-constraint
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

The code that generates the registration packets is the same as on our
live server and on our dev server and there are no issues with
registering accounts on those servers. I assume that means ejabberd
(2.0) is configured differently somehow - does anyone have any input?

Logs from ejabberd:

=INFO REPORT==== 2008-06-09 17:35:10 ===
I(<0.265.0>:ejabberd_listener:112) : (#Port<0.1119>) Accepted
connection {{127,0,0,1},60917} -> {{127,0,0,1},5222}

=INFO REPORT==== 2008-06-09 17:35:10 ===
D(<0.1187.0>:ejabberd_receiver:297) : Received XML on stream =
"<stream:stream to=\"chat.staging.heysan.com\" xmlns=\"jabber:client\"
xmlns:stream=\"http://etherx.jabber.org/streams\" version=\"1.0\">"

=INFO REPORT==== 2008-06-09 17:35:10 ===
D(<0.1188.0>:ejabberd_c2s:1336) : Send XML on stream = "<?xml
version='1.0'?><stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' id='4204148328'
from='chat.staging.heysan.com' version='1.0' xml:lang='en'>"

=INFO REPORT==== 2008-06-09 17:35:10 ===
D(<0.1188.0>:ejabberd_c2s:1336) : Send XML on stream =
"<stream:features><starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register
xmlns='http://jabber.org/features/iq-register'/></stream:features>"

=INFO REPORT==== 2008-06-09 17:35:11 ===
D(<0.1187.0>:ejabberd_receiver:297) : Received XML on stream = "<iq
id=\"c9Y19-29\" type=\"get\"><query
xmlns=\"jabber:iq:register\"></query></iq>"

=INFO REPORT==== 2008-06-09 17:35:11 ===
D(<0.1187.0>:shaper:61) : State: {maxrate,1000,0,1213050910997327}, Size=76
M=38.0, I=3.699


=INFO REPORT==== 2008-06-09 17:35:11 ===
D(<0.1188.0>:ejabberd_c2s:1336) : Send XML on stream = "<iq
from='chat.staging.heysan.com' id='c9Y19-29' type='result'><query
xmlns='jabber:iq:register'><instructions>Choose a username and
password to register with this
server</instructions><username/><password/></query></iq>"

=INFO REPORT==== 2008-06-09 17:35:11 ===
D(<0.1187.0>:ejabberd_receiver:297) : Received XML on stream = "<iq
id=\"c9Y19-30\" to=\"chat.staging.heysan.com\" type=\"set\"><query
xmlns=\"jabber:iq:register\"><username>1243584</username><password>mDADNUrs</password></query></iq>"

=INFO REPORT==== 2008-06-09 17:35:11 ===
D(<0.1187.0>:shaper:61) : State: {maxrate,1000,981.3796131298262,
                                     1213050911036048}, Size=162
M=159.0386390142488, I=1.089


=INFO REPORT==== 2008-06-09 17:35:11 ===
D(<0.1188.0>:ejabberd_c2s:1336) : Send XML on stream = "<iq
from='chat.staging.heysan.com' id='c9Y19-30' type='error'><query
xmlns='jabber:iq:register'><username>1243584</username><password>mDADNUrs</password></query><error
code='500' type='wait'><resource-constraint
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>"





-- 
"Don't go through life, grow through life."
- Eric Butterworth


More information about the ejabberd mailing list