[BAMBOO] Unable to add requirement to build plan

Arnault DLB May 9, 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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 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 9, 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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 20, 2019

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 May 21, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 21, 2019

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
Arnault DLB May 25, 2019

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
Victor Debone
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2019

Glad to help! :)

Like Arnault DLB likes this
Daniel Saravia April 11, 2022

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events