Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,854
Community Members
 
Community Events
165
Community Groups

Unable to login to Crowd with name url, only ip address

Edited

Fresh install of 3.3, but with a server.xml imported from 2.7.2 during the setup.

Setup on default ports.  Accessed via reverse proxy in httpd. After import, updated {INSTALL_DIR}/apache-tomcat/conf/server.xml to add proxyPort, proxyName, and scheme.

I am able to login when accessed via IP address, however when accessed via the configured Base URL the login returns to the login page without an error.  Browser Network indicates a 302 from j_security_check, but there is no error in the logs.  Sometimes (usually before the 'Initiating Jersey' message appears in the log) there is an XSRF failure error.

 

When logging in through the IP address, various pages will result in an XSRF error in the logs:

2018-12-05 11:06:37,298 http-nio-8095-exec-8 WARN [common.security.jersey.XsrfResourceFilter] Additional XSRF checks failed for request: https://<url>/crowd/rest/webResources/1.0/resources , origin: https://<ip> , referrer: https://<ip>/crowd/console/secure/admin/general.action , credentials in request: true , allowed via CORS: false

 

1 answer

1 accepted

0 votes
Answer accepted

The login loop was a result of cache/cookies as described in this KB article 

 

XSRF is resolved when using the url instead of ip address.

Suggest an answer

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

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

225 views 0 6
Join discussion

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