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

Updating Bamboo Specs from repository failed

Jon Freedman November 5, 2018

I have added a Java specs project to an existing repository under the bamboo-specs subdirectory.  Once I merged this into master this triggered Bamboo to scan, e.g. I see a line in the Specs status tab on the relevant linked repository, but Specs status is "Error in Bamboo Specs"


I see the following error in atlassian-bamoo.log

2018-11-05 08:23:27,429 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-5] [BitbucketServerRssStatusUpdater] Sending RSS notification to Stash (repository: ...)
2018-11-05 08:23:31,598 INFO [15-BAM::SpecsDetection:pool-23-thread-1] [RssDetectionRunnable] Exception while executing RSS detection for repository 2359297
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Expected authority at index 7: http://
at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.generateBambooYamlsFromSpecs(


I don't see anything obviously relevant in atlassian-bitbucket.log


Both Bamboo and Bitbucket sit behind an apache reverse proxy providing HTTPS so I suspect this is the root cause of the issue.  Please advise on how to configure this correctly.

1 answer

0 votes
Gerhard Forster
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2018

This KB should get you all details needed to secure your connection behind an Apache reverse Proxy:

It's thought to be used for all Atlassian applications, so it's suitable for Bamboo and for Bitbucket.

Hope this helps, Jon.

Cheers, Gerhard

Jon Freedman November 6, 2018

I'm able to access both Bamboo and Bitbucket using the https reverse proxy urls and they are functional as in I can create a plan manually which is triggered from a commit to one of our repos.  It's the specs scan specifically which does not work.

Gerhard Forster
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2018

Hi Jon,

I found this resolved bug ticket for you:

Sound like what you're facing. I'm not sure what Bamboo version you use. If below 6.3.0, please consider a Bamboo upgrade.

Otherwise your case seems to be a bit more complex and we'd need more details from you for which best is to open a support case. Describe your situation there incl. your environment (Bamboo version, on what OS, inside Docker?, on same box as Bitbucket / other repo, etc.) and preferribly directly attach your Bamboo Support Zip.

Thanks, Gerhard

Jon Freedman November 9, 2018

I created with a - FYI the UX on your attachment upload is poor, it's non-obvious that a file has been uploaded, hence you get the support zip 6 times...

Jon Freedman November 9, 2018

I've been told that I am ineligible to create a support case.  Can you please create a bug report to track this.

Gerhard Forster
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2018

Hi Jon, I could create a bug ticket if we knew that it is a bug.

I cannot reproduce your issue not using two reverse Proxies and encrypted (SSL) connections on both ends. Do you see a chance, just for test purpose, to bypass the Proxies and also go without SSL?

If this works, next, please follow these steps to get Bamboo run behind Apache using https: and see if this works.

If so, continue to to configure Bitbucket with Apache and SSL, like this:

One more idea: Do you you use https and not http for the Proxy URLs?

Hope this brings us further.

Cheers, Gerhard

Jon Freedman November 15, 2018

Hi Gerhard,

I believe the bitbucket examples are stale as we are running 5.14.1 as per

It looks like server.scheme was missing from - I am waiting for a restart to confirm if that makes a difference.

Jon Freedman November 21, 2018

I'm afraid this is still failing after adding server.scheme

Looking at your stack trace it seems to me that wherever the proxy string is being built it's not including the scheme ( - seems to be pulling in jersey.config.client.proxy.uri)

I can't really dig much further without access to your source.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events