I recently set up a JIRA Software server instance and I'm attempting to link it to a Bitbucket Cloud account. I followed everything in this article: https://confluence.atlassian.com/bitbucket/connect-bitbucket-cloud-to-jira-software-server-814208991.html
But when I click Add at the "Add New Account" screen in the "DVCS Accounts" section of the admin tools, I get a "Connecting to Bitbucket Cloud to configure your account..." message and the spinner keeps on spinning forever. There are no warnings/errors in the logs.
Some background: I've set up HTTPS with a reverse proxy (nginx). Had some trouble with that initially, but looks like I've resolved all the issues I had with that (except maybe this, if it's related to SSL). I also added bitbucket.org's SSL certificate to the keystore, but that did not seem to have any effect.
Any ideas?
EDIT: Using the latest version of JIRA Software (v8.4.2#804003-sha1:d21414f)