[ejabberd] strange registration error

Jan Koum jan.koum at gmail.com
Fri Sep 18 06:42:15 MSD 2009


hi there,

in most cases when user with the same name re-registers (which our custom
software allows and gracefully fails), we get a "normal" error like:

17/Sep/2009:19:35:22 SOFTFAIL command:
[/home/jkoum/ejabberd-2.1.0_beta1/bin/ejabberdctl register xxx
s.example.netyyy] return: 1 User
xxx at s.example.net already registered at node ejabberd at localhost

and sometimes we get a nasty scary error like:

17/Sep/2009:15:27:36 HARDFAIL command:
[/home/jkoum/ejabberd-2.1.0_beta1/bin/ejabberdctl register xxx
s.example.netyyy] return: 1
{error_logger,{{2009,9,17},{15,27,33}},"Protocol: ~p:
register error:
~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}]}

while end result is the same, i am curious if this different behavior is
normal or is this some bug we are triggering?

-- yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20090917/21183ba0/attachment.html>


More information about the ejabberd mailing list