Hi when I login in as admin user into web_admin i get an empty reply from server. If i login with any other user i only see virtual hosts.
I have
{acl, admin, {user, "admin", "localhost"}}.
{5280, ejabberd_http, [
%%{request_handlers,
%% [
%% {["pub", "archive"], mod_http_fileserver}
%% ]},
%%captcha,
http_bind,
http_poll,
%%register,
web_admin
]}doing
ejabberdctl register admin localhost admin
curl -XGET --user admin@localhost:adminBasic Auth goes through but i get an empty reply form the server
* About to connect() to localhost port 5280 (#0)
* Trying ::1...
* Connection refused
* Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 5280 (#0)
* Server auth using Basic with user 'admin@localhost'
> GET /admin HTTP/1.1
> Authorization: Basic YWRtaW5AbG9jYWxob3N0OmFkbWlu
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: localhost:5280
> Accept: */*
>
* Empty reply from server
* Connection #0 to host localhost left intact
curl: (52) Empty reply from server
* Closing connection #0
/Using any non admin user will give back a page but only with the virtual host section.
any idea?
Thanks
Maybe the code crashes, an
Maybe the code crashes, an error report is added to the ejabberd log, and returns an empty web page. Check if the ejabberd log has some ERROR REPORT.