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 :
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 ?
Hello @Arnault DLB welcome to the community :)
Before we can go a bit further, I have some questions:
Victor
Hello @Victor Debone
Thank you for your quick answer !
Regarding your questions:
Arnault
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok! Does this Admin User contains an email in Crowd?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We use Jira as a Crowd server and the admin user has an email but I don't really understand your request...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Victor Debone
Indeed, it was Tomcat that was incorrectly setup.
Thank you so much for your help!
Arnault DLB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to help! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.