Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't log in in Crowd after adding trusted proxies

Hi,

 

I've set up Crowd to run behind Apache HTTP and to get Crowd to use the IP address from the calls from applications (Jira, BitBucket, etc). I added 127.0.0.1 and 

0:0:0:0:0:0:0:1 as trusted proxies. After doing so all calls from the applications works just fine, but when I can't no longer log in to Crowd as a user or admin. Then I enter username and password I just gets redirected to the log in page again with no error message. This is what appears in the log when I try to authenticate with my user 'heka':

2018-07-10 11:29:34,238 http-nio-8095-exec-17 DEBUG [crowd.manager.application.ApplicationServiceGeneric] Trying to authenticate user heka in directory Crowd server (163841) for application crowd                

2018-07-10 11:29:34,240 http-nio-8095-exec-17 DEBUG [crowd.manager.application.ApplicationServiceGeneric] User heka does not exist in directory Crowd server (163841), continuing

2018-07-10 11:29:34,240 http-nio-8095-exec-17 DEBUG [crowd.manager.application.ApplicationServiceGeneric] Trying to authenticate user heka in directory Pulsen AD (557057) for application crowd

2018-07-10 11:29:34,315 http-nio-8095-exec-17 DEBUG [crowd.manager.application.ApplicationServiceGeneric] Authenticated user heka in directory Pulsen AD (557057) for application crowd

2018-07-10 11:29:34,324 http-nio-8095-exec-17 DEBUG [crowd.manager.application.ApplicationServiceGeneric] Located user 'heka' in directory 557057 'Pulsen AD'

2018-07-10 11:29:34,350 http-nio-8095-exec-17 DEBUG [crowd.manager.application.ApplicationServiceGeneric] Storing user attributes for user <heka> and application <crowd>

2018-07-10 11:29:34,402 http-nio-8095-exec-17 DEBUG [crowd.manager.application.ApplicationServiceGeneric] Located user 'heka' in directory 557057 'Pulsen AD'

 

As I can't access the GUI I managed to remove the trusted proxies from the database and after restarting crowd I can log in again, but then all request from applications fail...

 

Regards,

Henrik Karlsson

1 answer

0 votes
AnnWorley Atlassian Team Jul 10, 2018

Hi Henrik,

If you have SSO enabled the resolutions in this article may help: Redirected to the login screen with no errors when attempting to log in to any Atlassian applications

It says the most common cause of the behavior is browser caching so please clear your browser cache first.

The article mentions this symptom which is similar to yours:

No errors thrown in the application's logs or Crowd's logs, or in the UI. In fact, based on the logs, authentication should be successful

This entry you posted looks like a successful login to Crowd from an external Active Directory user directory:

Authenticated user heka in directory Pulsen AD (557057) for application crowd

Thanks,

Ann

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

299 views 13 14
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you