Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Remove port number from fisheye

Lavenwood September 4, 2017

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 A.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 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.

Lavenwood September 7, 2017

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 A.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 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

Lavenwood September 8, 2017

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

Mark A.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2017

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
TAGS
AUG Leaders

Atlassian Community Events