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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,751
Community Members
 
Community Events
176
Community Groups

[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 # people like 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

Thank you @Victor Debone it helped me on my 8.1.3 installation.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events