Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to web admin #199

Open
eshikafe opened this issue Aug 3, 2019 · 0 comments
Open

Can't connect to web admin #199

eshikafe opened this issue Aug 3, 2019 · 0 comments

Comments

@eshikafe
Copy link

eshikafe commented Aug 3, 2019

Hello,
I can't access the ejabberd web admin page. It keeps throwing an unauthorized access error.
I am using the same docker-composer file in the README:

ejabberd:
  image: rroemhild/ejabberd
  ports:
    - 5222:5222
    - 5269:5269
    - 5280:5280
  environment:
    - ERLANG_NODE=ejabberd
    - XMPP_DOMAIN=example.com xyz.io
    - EJABBERD_ADMINS=admin@example.com
    - EJABBERD_USERS=admin@example.com:password4321 user1@xyz.io

Web browser URL: https://x.x.0.3:5280/admin
password: password4321
username: "admin" or "admin@example.com"

Output from the Erlang shell:

16:04:00.483 [warning] Access of <<"admin">> from <<"x.x.0.1">> failed with error: <<"inexistent-account">>
16:04:15.777 [warning] Access of <<"admin@example.com">> from <<"x.x.0.1">> failed with error: <<"inexistent-account">>

"admin" is a registered user:

eausaig@ubu:~$ sudo docker exec 104f89555384 ejabberdctl registered_users example.com
admin

Any suggestion on how to fix this problem? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant