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

[BAMBOO] Unable to add requirement to build plan

Hello,


I'm facing an error when trying to add requirement to my build plan.
When I try to add requirement, it just infinite load, and in my console I see this error :

Screenshot_18.png

When I try to reach this link directly, I have no issue, it just print a empty array in text plain.


I also look in my bamboo log and see this when I add requirements.


[XsrfResourceFilter] Additional XSRF checks failed for request: http://BAMBOO_URL/rest/api/latest/config/job/TEST-PYT-JOB1/requirement , origin: BAMBOO_URL , referrer: BAMBOO_URL/build/admin/edit/defaultBuildRequirement.action , credentials in request: true , allowed via CORS: false


I'm also facing this problem when I try to dedicate agent to a specific build.
I specify that my bamboo installation is dockerize and I'm using remote dockerize agent.


Can someone help me out ?

1 answer

1 accepted

0 votes
Answer accepted

Hello @Arnault DLB welcome to the community :)

Before we can go a bit further, I have some questions:

  • What version of Bamboo are you currently using?
  • Do you use integration with Crowd or other User Directory?
  • Are you logged-in with a new/recently created user?

Victor

Hello @Victor Debone 

Thank you for your quick answer !

Regarding your questions:

  • I use Bamboo Server 6.8.0
  • Users are integrated with Crowd from our Jira Server
  • I'm logged-in with the Admin User created during the installation

Arnault

Ok! Does this Admin User contains an email in Crowd?

We use Jira as a Crowd server and the admin user has an email but I don't really understand your request...

Hello @Victor Debone ,

So would you have any idea how to solve my problem?

Thank you in advance!

Hello @Arnault DLB

My first request was to remove doubts that this might be related to this bug which is fixed for 6.9.0. 

I haven't managed to run any tests on this yet, but may I ask if you are using any proxy in front of Bamboo? 

Hello @Victor Debone

This bug is only occur on Oracle Database, we are using Postgres.
Only Nginx is running as a reverse-proxy in front of Bamboo

The reverse-proxy rings a bell, this is the CORS filter blocking requests from a different domain.

You need to configure Tomcat to handle these connections, you can find more details here

Please let me know if that helped you, and if yes, I will bring this to our documentation.

Victor

Like Steffen Opel -Utoolity- likes this

Hello @Victor Debone

 

Indeed, it was Tomcat that was incorrectly setup.

Thank you so much for your help!

 

Arnault DLB

Like Victor Debone likes this

Glad to help! :)

Like Arnault DLB likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

449 views 2 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