Problem with Crucible in https

Vitor Bittencourt April 16, 2013

Greetings.

We have a Fisheye + Crucible running with an Apache reverse Proxy and we are constatntly having problems because Crucible is making requests on the server as HTTP instead of HTTPS.

(Note, if we access using local address with VPN it works all fine and dandy)

I was trying to change the settings on the Administration -> Server as recommended on:

https://answers.atlassian.com/questions/101534/atlassian-fisheye-crucible-under-reverse-proxy

and

https://confluence.atlassian.com/display/FISHEYE/Integrating+with+other+web+servers

But as an example, everytime I click to save the options I just entered I get:

Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Also, when I try to "Edit Details" on a Review it crashes:

The server is not responding.

And the avatars never show up because it tries to get the avatar from http:// instead of https.

I believe all the problems derive from the fact that crucible is trying to use the wrong protocol.

How can I proceed to fix this?

Thank you.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Vitor Bittencourt April 24, 2013

Solved the problem changing Apache's configuration

<VirtualHost 0.0.0.0:443>

"default stuff we had before"
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location /crucible>
ProxyPass http://server:port/crucible
ProxyPassReverse http://server:port/crucible
</Location>
</VirtualHost>

0 votes
Vitor Bittencourt April 16, 2013

Doing some more research, I found this
https://answers.atlassian.com/questions/15744/firefox-menus-have-invalid-urls-missing-port
Which seems to be the same or at least similar enough problem.

What I still did not find out though, is whether it has been solved.

TAGS
AUG Leaders

Atlassian Community Events