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."
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.
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.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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!
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