Atlassian FishEye + Crucible under Reverse Proxy

I have an instance of Atlassian FishEye+Crucible running in a server in a standard HTTP connection. But we need this instance to be also accessed from outside, over a HTTPS connection. Proposed solution? Revese Proxy, what already works fine for other Atlassian products, such as JIRA and Confluence.

But FishEye+Crucible is being a torturer problem since it does not work from outside: the logon screen loads with no style (in a CSS way) and it doesn't login, redirecting for a mistaken URL.

I have already tried the Atlassian proposed solution, but it did not work. I also tried something proposed in a Server Fault entry, and nothing happened again.

So, I ask: do anyone have a clue to make it work?

I'm using FishEye + Crucible version 2.7.15 and Apache httpd version 2.2.

My httpd.conf looks like this:

<IfModule ssl_module>
		Include conf/extra/httpd-ssl.conf
		SSLRandomSeed startup builtin
		SSLRandomSeed connect builtin
	</IfModule>

	<IfModule proxy_module>
		SSLProxyEngine On
		ProxyRequests Off
		ProxyPreserveHost Off

		<Location /crucible>
			ProxyPass http://INTERNAL_ADDRESS:LOCAL_PORT
			ProxyPassReverse http://INTERNAL_ADDRESS:LOCAL_PORT
		</Location>

	</IfModule>

And my config.xml (FishEye+Crucible configuration file):

<web-server> <http bind=":LOCAL_PORT"/> </web-server>

Finally, my architecture looks like this:

Outside World/Browser <-- HTTPS --> Apache httpd <-- HTTP --> FishEye + Crucible

Thanks in advance for all help!

2 answers

1 accepted

3 votes

Please set the context on the FishEye/Crucible Server settings to match the context being proxied. In your case this will be "crucible".

BTW, FishEye/Crucible configures its internal Jetty instance programmatically. You cannot configure it with a jetty-web.xml file

Thank you very much! It has worked perfectly! :D

Hi Guiraldelli

Everything seems to be fine from Apache side. However, you'll have to review some settings from Jetty, which is the app. server for Fisheye.

Will be something like this:

<Configure id="Server" class="org.mortbay.jetty.Server">
...
<Call name="addConnector">
<Arg>
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
<Set name="port">8080</Set>
<Set name="forwarded">true</Set>
<Set name="hostHeader">example.com:81</Set>
</New>
</Arg>
</Call>
...
</Configure>
For further details, perhaps the following page could be useful:
Cheers,
Paulo Renato

Dear Paulo,

I have a little problem when I tryed your approach (that seems valid): could you help again, please?

As support, I'm providing you my FishEye output log and my jetty-web.xml.

Thank you for all your attention.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 16 hours ago in Off-topic

Get to know our Atlassian User Group Leaders from Bengaluru, India

Meet @Dinesh Dhinakaran, @Vishnu Vasudeva, @Rajeev Verma, and Jamshid Nalakath: Our extraordinary AUG leaders from Bengaluru, India. These four work together to strengthen the bonds of their local co...

114 views 0 4
Read article

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