crowd jenkins integration failing with de.theit.jenkins.crowd.CrowdSecurityRealm$DescriptorImpl

yoki89
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 15, 2020

INFO: Loading property: 'session.validationinterval' : '2'
Jan 15, 2020 4:46:10 PM com.atlassian.crowd.service.client.ClientPropertiesImpl loadAndLogPropertyString
INFO: Failed to find value for property: cookie.domain
Jan 15, 2020 4:46:10 PM de.theit.jenkins.crowd.CrowdSecurityRealm$DescriptorImpl doTestConnection
SEVERE: The connection check failed.
com.atlassian.crowd.exception.InvalidCrowdServiceException: The following URL does not specify a valid Crowd User Management REST service: http://servername:8095/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user

1 answer

1 accepted

0 votes
Answer accepted
Marcin Kempa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 19, 2020

Hi @yoki89 

Thank you for reaching out to Atlassian Community!

I assume that your problem is related to connecting Jenkins with Crowd as you are getting `InvalidCrowdServiceException`.

This error is being thrown if the response does not contain following HTTP header

X-Embedded-Crowd-Version

I've noticed that your URL starts with: 

http://servername:8095/rest/

and does not contain /crowd context path. Although it is possible to run Crowd without /crowd context path, can you check if the URL is correct? Perhaps you could check if header I've mentioned is being sent by running:

curl -v http://servername:8095/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user

Best Regards,

Marcin Kempa

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events