OAuth config on Bamboo trying to access 127.0.0.1:8085?

I am tying to use Application Links to link an internal Bamboo instance with Jira cloud.  I add the link in Jira, it does the redirection to Bamboo, and then it errors out in Bamboo.

The root of the problem is that the Incoming Authentication and Outgoing Authentication panels in Bamboo show broken pages within the iframe.  The issue appears to be that the iframes are trying to load content from http://127.0.0.1.

E.g. http://127.0.0.1:8085/plugins/servlet/applinks/auth/conf/oauth/add-consumer-by-url/...

I have verified that the Base URL on the General Configuration screen is correct.  It is using the URL of the Apache server that sits in front of Bamboo (which is using named virtual hosts).

The Apache config looks ok to me, but here is it.

<VirtualHost *:80>

    ServerName mybambooserver.com

    ErrorLog logs/bamboo-error_log

    CustomLog logs/bamboo-access_log common

    ProxyRequests OFF

    <Location />

        ProxyPass http://127.0.0.1:8085/

        ProxyPassReverse http://127.0.0.1:8085/

        Order allow,deny

        Allow from all

    </Location>

</VirtualHost>

 

It feels like there is some other configuration change that needs to be made in Bamboo.

 

Here is what it looks like in Bamboo.

Screen Shot 2016-07-08 at 11.54.36 AM.png

1 answer

1 accepted

The solution is to add the hostname and proxy port to the <Connector> in conf/server.xml

&lt;Connector
   ...
   proxyName="mybambooserver.com"
   proxyPort="80"
   /&gt;

 

It seems weird that Bamboo has you set a Base URL so that all of the links work properly, but then doesn't use it when creating Application Links.

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 May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,782 views 0 6
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