Server crashes getting user info

I have a JS XMPP client which is based on strophe.js framework. It runs in a browser, I can type in username/pwd on my test page and connect over websocket (http_bind) to ejabberd . Ejabberd then shows the user status as online in web admin, but the server crashes when I try to click on the user name link in Virtual Hosts->OnlineUsers:

2015-07-21 14:44:46.071 [error] <0.1744.0> CRASH REPORT Process <0.1744.0> with 0 neighbours crashed with reason: no case clause matching unknown in ejabberd_web_admin:'-user_info/4-fun-0-'/3 line 1543
2015-07-21 14:44:46.071 [error] <0.334.0> Supervisor ejabberd_http_sup had child undefined started with {ejabberd_http,start_link,undefined} at <0.1744.0> exit with reason {case_clause,unknown} in context child_terminated

Any ideas what's causing this? Is there something my client should do, or this is the server issue?

Thanks
Sergey

It was a bug in admin

It was a bug in admin interface. It is now fixed in HEAD of master branch: https://github.com/processone/ejabberd/commit/8df134e02577503cf331f7c11c...

Cool, thanks for the fast

Cool, thanks for the fast response - I guess few people are trying connect to ejabberd over websocket :)

No, we are using websocket

No, we are using websocket and it is very popular.

It is more that very few people use Web interface. ejabberdctl command-line is so much better and convenient.

Syndicate content