Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
Answer 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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

675 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you