Skip to content

Problem with authentication in Restcomm #25

@antonmry

Description

@antonmry

I'm trying this tutorial: http://docs.telestax.com/restcomm-docker-quick-start-guide/ and having some problems. I'm launching restcomm with the following command:

docker run  -i -d --name=restcomm-myInstance -v /var/log/restcomm/:/var/log/restcomm/ -e STATIC_ADDRESS="172.20.34.63" -e ENVCONFURL="https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/scripts/restcomm_env_locally.sh" -p 80:80 -p 443:443 -p 9990:9990 -p 5060:5060 -p 5061:5061 -p 5062:5062 -p 5063:5063 -p 5060:5060/udp -p 65000-65535:65000-65535/udp mobicents/restcomm:latest

I'm able to login to the admin, but when I try to login with the alice, Olympus returns an authentication error. If I try to change the Alice password, Restcomm ends the administrator session.

Looking with "docker logs", there is a "No route to the host" exception trying to connect to 172.20.34.63, my ethernet IP (no access from the docker instance).

Then I've tried changing STATIC_ADDRESS with the docker instance IP (172.17.0.2), the internal IP docker instance... but it fails when I try to login with alice with the following error:

17:26:01,275 INFO  [org.apache.shiro.realm.AuthorizingRealm] (http-/172.17.0.2:443-4) No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.

I tried the uploaded image and also building one from the repository. My OS is Fedora 23 and I tried with Firefox 44

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions