Ejabberd用户注册命令失败,错误为{error,access_rules_unauthorized} [英] Ejabberd user registration command fails with {error,access_rules_unauthorized}

查看:104
本文介绍了Ejabberd用户注册命令失败,错误为{error,access_rules_unauthorized}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图在Windows上使用ejabberd设置XMPP服务器。每次我尝试使用以下命令在ejabberd中注册用户:

I've been trying to set up an XMPP server using ejabberd on windows. every time I try to register a user in ejabberd with this command:

ejabberdctl register admin localhost admin

它给了我这个错误:

{错误,access_rules_unauthorized}

我已经使用其二进制安装程序安装了ejabberd,并且根据 install.log文件,安装程序也失败了由于相同的错误而创建用户。

I've installed the ejabberd using its binary installer and according to "install.log" file, the installer also fails to create a user due to the same error.

部分日志文件:

E:\Program Files\ejabberd-16.08\bin>bash ejabberdctl register "admin" "localhost" "admin" 
{error,access_rules_unauthorized}

ejabberd.yml配置文件:

access_rules:
  register:
    - allow

我什至去了Google的第100个搜索,但没有发现类似的东西。因此,强烈建议您解决此问题。

I've gone even to the 100th search of the google, but found nothing similiar yet. So any help on how to fix this is strongly appreciated.

推荐答案

似乎这是ejabberd 16.08中的错误,并且已经

It seems like this is an error in ejabberd 16.08 and has been fixed in the git master.

有关相应问题,请参见 https://github.com/processone/ejabberd/issues/1231

For the corresponding issue, see https://github.com/processone/ejabberd/issues/1231.

这篇关于Ejabberd用户注册命令失败,错误为{error,access_rules_unauthorized}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆