Closed daankets closed 9 years ago
Make a new instance and set the base url ip address as localhost instead of whatever Crowd recommends. Are you using boot2docker? I think this occurs because it uses two network adapters and one of them isn't allowed to speak to crowd.
I'm on CoreOS
On 25 Nov 2014, at 17:27, Nicholas Katsaros notifications@github.com wrote:
Make a new instance and set the base url ip address as localhost instead of whatever Crowd recommends. Are you using boot2docker? I think this occurs because it uses two network adapters and one of them isn't allowed to speak to crowd.
— Reply to this email directly or view it on GitHub.
Did you try setting the base url to http://localhost:8095/crowd on installation? This allowed me to login. If you want more control I think you will have to mount a file to /var/atlassian/crowd/crowd.properties because they don't let you edit the base url from within crowd after installation.
Another option is to use the correct base url and add the ip that is being denied (you can find it using docker logs) to the cwd_application_address database table. More details are available at https://jira.atlassian.com/browse/CWD-2315
Better solution would be to add the hostname flag. This will ensure an entry like this in your hosts file:
127.0.1.1 public.container.hostname
docker run --name crowd-test-insecure **--hostname="public.container.hostname"** -p 8095:8095 nkatsaros/atlassian-crowd:latest
After the initial configuration (without integrated applications) and user setup, logging in with the initial password is not possible (wrong password).