Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't login to test page using admin/admin

Phil Puccio April 24, 2012

Hi,

I just started working on my first plugin (for Crowd), and have hit a problem while following the "Start application" instructions after creating the plugin skeleton.

The instructions say I should log in (to http://localhost:4990/crowd) as user admin with password admin, but when I do so, the page says "Invalid login." and the log shows:

ERROR [crowd.console.action.Login] Client with address "10.0.2.15", and hostname "crowd" is forbidden from making requests to the application, {2}.; nested exception is com.atlassian.crowd.exception.InvalidAuthorizationTokenException:

I've rechecked and I can't see any step that I missed. Does anyone know how to get past this problem?

Thanks,

Phil

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
joe
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2012

One possibility is that your crowd.properties file is specifying connection over an IP address that Crowd isn't initially expecting. If you're using AMPS, this file will be in target/crowd/home/crowd.properties. Edit this file so the crowd.server.url uses 'localhost' rather than a hostname and restart Crowd.

Phil Puccio April 26, 2012

Thanks for your help. I got it to work by following your advice.

joe
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2012

Good to hear. This issue will be fixed in the next release of AMPS (AMPS-747).

0 votes
JustinK
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2012

You need to add the IP address (10.0.2.15) to the Application you are trying to authenticate as.

See: http://confluence.atlassian.com/display/CROWD/Specifying+an+Application's+Address+or+Hostname

Phil Puccio April 26, 2012

Thanks for the pointer. I got it to work by modifying crowd.properties.

TAGS
AUG Leaders

Atlassian Community Events