Fisheye authentication problem
Asked by Pravin Raajendiran:

hi,

I've `Crowd 2.5.3` and `Fisheye 3.7.1` running on separate machines. I've configured Fisheye to authenticate against Crowd but for some reason the users can't authenticate. The log confirms the handshake between Fisheye and Crowd and from what I see, the Crowd responds with a session information (successful validation of password?) but Fisheye simply refuses to go past the login screen.

```
2015-04-15 12:58:32,878 DEBUG [qtp335710749-214 ] httpclient.wire.content Wire-wire - &lt;&lt; "&lt;session expand="user"&gt;&lt;token&gt;qRgE8F7b0Nb5DKs3bonRCA00&lt;/token&gt;&lt;user name="pravin"&gt;&lt;link rel="self" href="http://intranet-box-1:8095/crowd/rest/usermanagement/1/user?username=pravin"/&gt;&lt;first-name&gt;Pravin&lt;/first-name&gt;&lt;last-name&gt;Raajendiran&lt;/last-name&gt;&lt;display-name&gt;Pravin Raajendiran&lt;/display-name&gt;&lt;email&gt;pravin.raajendiran@softelsystems.com.au&lt;/email&gt;&lt;password&gt;&lt;link rel="edit" href="http://intranet-box-1:8095/crowd/rest/usermanagement/1/user/password?username=pravin"/&gt;&lt;/password&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes&gt;&lt;link rel="self" href="http://intranet-box-1:8095/crowd/rest/usermanagement/1/user/attribute?username=pravin"/&gt;&lt;/attributes&gt;&lt;/user&gt;&lt;link rel="self" href="http://intranet-box-1:8095/crowd/rest/usermanagement/1/session/qRgE8F7b0Nb5DKs3bonRCA00"/&gt;&lt;/session&gt;"2015-04-15 12:58:32,878 DEBUG [qtp335710749-214 ] fisheye Timer-output - &lt;- CrowdAuth.authenticate() time 579 millis mem_usage = 202946392 heapsize = 411566080 freemem = 2086196882015-04-15 12:58:32,883 DEBUG [qtp335710749-214 ] fisheye PreferenceManager-makeCookie - adding cookie / str=D%3D14290667128832015-04-15 12:58:32,884 DEBUG [qtp335710749-214 ] fisheye PreferenceManager-makeCookie - adding cookie / str=D%3D14290667128842015-04-15 12:58:32,891 DEBUG [qtp335710749-214 ] fisheye ProfilingServletFilter-logRequest - end request in 598ms POST /login?rememberme=on&amp;username=pravin&amp;origUrl=&amp;atl_token=&amp;password=XXXX sessionid=vmd0b3xt65g0adfzo12odojl 3022015-04-15 12:58:32,894 DEBUG [qtp335710749-213 ] fisheye ProfilingServletFilter-logRequest - start request GET /?_redir=login&amp;_redir=login&amp;_redir=login&amp;_redir=login sessionid=vmd0b3xt65g0adfzo12odojl2015-04-15 12:58:32,897 DEBUG [qtp335710749-213 ] fisheye PreferenceManager-makeCookie - adding cookie / str=D%3D14290667128972015-04-15 12:58:32,901 DEBUG [qtp335710749-213 ] fisheye Timer-output - -&gt; CrowdAuth.checkRequest() mem_usage = 203490184 heapsize = 411566080 freemem = 2080758962015-04-15 12:58:32,902 DEBUG [qtp335710749-213 ] fisheye Timer-output - &lt;- CrowdAuth.checkRequest() time 1 millis mem_usage = 203490184 heapsize = 411566080 freemem = 2080758962015-04-15 12:58:32,934 DEBUG [qtp335710749-213 ] fisheye ProfilingServletFilter-logRequest - end request in 40ms GET /?_redir=login&amp;_redir=login&amp;_redir=login&amp;_redir=login sessionid=vmd0b3xt65g0adfzo12odojl 200
```

I used the 'Authentication Test' feature in Crowd to make sure the users are able to login to the Fisheye instance.

[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Fisheye-authentication-problem/qaq-p/342783?attachment-id=9166){#link_115b1c90596934}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/4620/1/Authentication_Test_Successful_Crowd.png){#display_115b1c90596934_0}  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Fisheye-authentication-problem/qaq-p/342783?attachment-id=9167){#link_115b1c90596934_0}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/4620/2/fisheye_unsuccessful_login.png){#display_115b1c90596934_2}


Answers:
author: Pravin Raajendiran
body: I solved the problem. It appeared that the Secure SSO cookie was enabled in Crowd and the Fisheye wasn't using SSL/TLS. When I added a SSL certificate for Fisheye, it all worked out as expected!


author: Pravin Raajendiran
body: Actually I've got it to work with SSO disabled. But doesn't work when SSO is enabled. Not sure what I'm doing wrong here..


Tags: crowd

fisheye-crucible-administration