Integrate Jira and FishEye

Hyungjun Kim April 13, 2017

My environment is ;
Jira v.6.3.4
FishEye / Crucible v.4.4.0

Jira and Crucible are connected to postgresql db and both integrated well.
When trying to integrate fisheye, error comes.

As FishEye is asked to connect to JIRA for user management (for instance in Step 3 of the FishEye setup wizard), the following error message is displayed in the GUI:

Failed to authenticate application link between JIRA server at http://xxx:8080 to this FishEye server at http://xxx:8060?. Please read the troubleshooting guide.

2017-04-14 11:09:36,770 http-nio-8080-exec-1 ERROR admin 669x4238x1 d4c9zy xxx.xxx.xxx.xxx /rest/applinks/1.0/applicationlink/be942e90-8e06-3092-9e3c-e7866992dfb9 [c.a.jirafisheyeplugin.config.RefreshManager] Exception occurred when refreshing com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl@2791094a : Request url 'http://jirahost:8060/setup/welcome.do' doesn't match rpc url 'http://jirahost:8060/fisheye'
java.lang.IllegalArgumentException: Request url 'http://jirahost:8060/setup/welcome.do' doesn't match rpc url 'http://jirahost:8060/fisheye'
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:174)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.buildRequest(FishEyeRestApiManagerImpl.java:306)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:164)
at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:127)
at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.getRepositories(FishEyeManagerImpl.java:117)
at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.updateInstanceRepositories(FishEyeManagerImpl.java:248)
at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.refresh(FishEyeManagerImpl.java:268)
at com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl.refreshRefreshables(RefreshManagerImpl.java:161)
at com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl.refreshAll(RefreshManagerImpl.java:79)
at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.refreshConfig(FishEyeManagerImpl.java:109)
at com.atlassian.jirafisheyeplugin.config.fisheye.FishEyeInstanceManagerImpl.update(FishEyeInstanceManagerImpl.java:186)
at com.atlassian.jirafisheyeplugin.config.ual.ApplicationLinkEventListener.onDetailsChanged(ApplicationLinkEventListener.java:167)
... 3 filtered

1 answer

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2017
java.lang.IllegalArgumentException: Request url 'http://jirahost:8060/setup/welcome.do' doesn't match rpc url 'http://jirahost:8060/fisheye'

This seems to be your problem.  Do you have a context defined in Fisheye? It looks like you have the context mispatched somewhere. To make the Application Links work, you need to have all URLs match on both sides. 

Suggest an answer

Log in or Sign up to answer