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

Arnault DLB May 09, 2019

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
Victor Debone Atlassian Team May 09, 2019

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

Arnault DLB May 09, 2019 • edited May 10, 2019

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

Victor Debone Atlassian Team May 10, 2019

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

Arnault DLB May 10, 2019

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

Arnault DLB May 18, 2019

Hello @Victor Debone ,

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

Thank you in advance!

Victor Debone Atlassian Team Monday

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? 

Arnault DLB Tuesday • edited

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

Victor Debone Atlassian Team Tuesday

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
Arnault DLB yesterday

Hello @Victor Debone

 

Indeed, it was Tomcat that was incorrectly setup.

Thank you so much for your help!

 

Arnault DLB

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Handling Opsgenie Alerts

Hi everyone, welcome to the kb articles for Opsgenie FAQs. I'm one of the Technical Support Engineers for Opsgenie who will be providing weekly posts on FAQs from customers.   All alerts are ...

72 views 0 3
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