3

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

it gives me this error:

{error,access_rules_unauthorized}

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.

Part of the log file:

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

ejabberd.yml config file:

access_rules:
  register:
    - allow

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.

Soheil__K
  • 642
  • 1
  • 8
  • 17

3 Answers3

3

Try version 16.06 instead of 16.08 from downloads archive https://www.process-one.net/en/ejabberd/archive/ It solved my issue on Centos.

Corrector
  • 41
  • 2
2

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

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

mrspl
  • 481
  • 1
  • 5
  • 10
0

Version 16.06 work for me in windows10, before installation keep firewall off.

Fakhar
  • 3,946
  • 39
  • 35