Remove port number from fisheye Edited

Hi

I have a problem. Im running Fisheye/crucible under Apache on a ubuntu server.

I can access the site like this:

www.example.com/fisheye

The problem is that all links are broken, and looks like css is missing

The two config files:

<web-server site-url="http://www.example.com/fisheye">
<http bind=":8060" proxy-host="example.com" proxy-port="80" proxy-scheme="http"/>
</web-server>

And

<web-server site-url="http://www.example.com/fisheye" context="/fisheye">
<http bind=":8060" proxy-port="80" proxy-scheme="http" proxy-host="example.com"/>

 

Anyone know what the problem is?

 

Best regards
Jakob 

1 answer

0 votes
Mark Askew Atlassian Team Sep 07, 2017

Hey Jakob, 

Can you share what your proxy configuration looks like?

Can you open the development panel in your web browser, view the network tab, and see if you are receiving any failures in the requests loading? 

You can follow the instructions on generating a HAR to access the development panel for your browser, but do NOT save and attach the file. This is simply for you to review locally.

Feel free to look at Integrating Apache reverse proxy with FishEye if you are using Apache for your proxy.

From your description, either a proxy or network configuration is blocking certain requests from loading. You should be able to see this in the network tab of your browser development panel.

-Mark W.

Thanks for the reply

This is my proxy conf

<VirtualHost *:80>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

ServerName example.com

ProxyRequests Off
ProxyVia Off

<Proxy *>
Require all granted
</Proxy>

ProxyPass /jira http://www.example.com:8080/jira
ProxyPassReverse /jira http://www.example.com:8080/jira

ProxyPass /confluence http://www.example.com:8090/confluence
ProxyPassReverse /confluence http://www.example.com:8090/confluence

ProxyPass /fisheye http://www.example.com:8060/fisheye
ProxyPassReverse /fisheye http://www.example.com:8060/fisheye

</VirtualHost>

Mark Askew Atlassian Team Sep 08, 2017

Thanks, Jakob.

Your configuration looks good and should work. I was able to confirm this by setting up my environment the same. As noted, I expect that maybe a firewall or other network configuration is blocking certain requests.

Were you able to review your HAR network data to see what requests were being rejected?

When you say your links are broken, what do you mean exactly? 

Regards,

Mark

If i check the links on the site, its missing the context path. So instead of linking to example.com/fisheye/users
It links to example.com/users

Hey Jakob,

I think that I know what may be the issue as I’ve reproduced on my end.  I was able to get my instance to be stripped of its CSS and all links exclude the context path defined. This was done with FishEye being loaded with no context path in its configuration, therefore, it does not have any knowledge that a context path existed. I suspect the reason for this is the manual modification of the config.xml. Please note that we much prefer making such configurations through the UI and not to the configuration file directly.

  1. Stop FishEye
  2. Modify config.xml to ensure context path is set as per your second example
  3. Start FishEye
<web-server site-url="http://www.example.com/fisheye" context="/fisheye">

<http bind=":8060" proxy-port="80" proxy-scheme="http" proxy-host="example.com"/>

</web-server>

FishEye should now be aware of the context path and display links and css appropriately.

Also, be sure to clear browser cache or try to access FishEye in incognito mode.

Mark

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

60 views 3 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you