Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Unless scheme="https" is set in server.xml, gravatar images are served over http, breaking https.
However, if scheme="https" is set, then the application link between JIRA and Bitbucket is broken on the JIRA side.
When this happens, the following message will be displayed on the JIRA side, even though the Bitbucket side says that they are connected.
"Application 'Bitbucket' seems to be offline. Click here to Relocate."
Hi Tony,
Thanks for getting in contact. When you switch your Bitbucket or JIRA instance to HTTPs you will need to update the applink to tell it to look at https://your.example instead of http://your.example. The easiest way to do this is to click on the 'relocate application' link that appears on the applinks page when it shows you Bitbucket is offline.
However, if you're using a self signed certificate you might have some additional steps to go through, due to the way CA certificates need to be trusted for the instances to talk to each other securely. You can see our troubleshooting guide on applinks and SSL at https://confluence.atlassian.com/display/APPLINKS/SSL+and+application+link+troubleshooting+guide, but I'd recommend raising a support request to track it as well, to make sure you get answers fast if something else is going on.
Thanks!
Even if I update the app link to https it doesn't make any difference. Our certificate is already signed and the https site appears normally secured. But the problem is not the website, it's the application link on the JIRA side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's your end-to-end config here?
In my shop I let Apache do the "https" on 443, and use Apache's ProxyPass and ProxyPassReverse directives to route the traffic to Bitbucket Server's tomcat running on its default port 7990.
I had all sorts of problems with my JIRA <--> Bitbucket link initially. The trick in my case was to let Bitbucket's Tomcat know what was going on in its config (bitbucket-data/shared/server.xml), like so:
<!-- The 5 un-indented lines are the ones I had to add to make my JIRA/Bitbucket application link work: --> <Connector port="7990" protocol="HTTP/1.1" connectionTimeout="20000" useBodyEncodingForURI="true" redirectPort="443" secure="true" scheme="https" proxyName="bitbucket.internal.mycompany.com" proxyPort="443" compression="on" />
p.s. be sure to try out my Bit-Booster Commit Graph And More add-on. It's the best commit graph add-on for Bitbucket Server. Dramatically improves your team's ability to see exactly what's happening in your Git repositories. Don't forget to enable the included Bit-Booster hook to prevent foxtrot merges in master.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great point Sylvie!
We also have some other guides about offloading SSL before it gets to Tomcat, for Apache: Securing Bitbucket Server with Apache using SSL and for a more extensive guide check out the guide on Proxying and Securing Bitbucket Server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tired it and the problem persists with those 5 options set. If either the scheme or proxyPort options are set, then when I look at the application link on the JIRA server it sees Bitbucket as being offline.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.