405 error from doCreateItem on 2.46.3, not on 2.46.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

405 error from doCreateItem on 2.46.3, not on 2.46.1

Matt Rabe
Got an issue with Nodepool / Jenkins setup, we're trying to upgrade to 2.46.3 but Nodepool fails with a 405 on the GET (it needs to be a POST) request to add the Jenkins node. In 2.46.1 this GET request succeeds and the node is added. I'm wondering what changed so I have something to point to with Nodepool if a fix needs to go in there.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e6f46619-e8cf-4529-b37d-12047082c81c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 405 error from doCreateItem on 2.46.3, not on 2.46.1

Baptiste MATHUS
You probably want to test 2.46.2, then start a git bisect to identify the commit that introduced this possibly.

Cheers

2017-06-16 19:21 GMT+02:00 Matt Rabe <[hidden email]>:
Got an issue with Nodepool / Jenkins setup, we're trying to upgrade to 2.46.3 but Nodepool fails with a 405 on the GET (it needs to be a POST) request to add the Jenkins node. In 2.46.1 this GET request succeeds and the node is added. I'm wondering what changed so I have something to point to with Nodepool if a fix needs to go in there.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e6f46619-e8cf-4529-b37d-12047082c81c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7N9ktj9_6_AbLVetS5LOrDG%2Bj_j1RU80iRWjXu-%3D%3D2OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 405 error from doCreateItem on 2.46.3, not on 2.46.1

Matt Rabe
I'm not all that familiar with Jenkins source but what I did anyway was git log between the 2.46.1 and 2.46.2 tags and scanned the commit messages for anything that looked obvious, and it was just that:

commit ae402ba139df82f3d105b9e070444f1849543fce
Author: Daniel Beck <daniel-beck@users.noreply.github.com>
Date:   Sat Apr 1 02:35:27 2017 +0200

   
[SECURITY-419] RequirePOST for creating a new node

This appears to be apart of https://jenkins.io/security/advisory/2017-04-26/. So I'll need to get a bug opened on nodepool.

Thanks!

On Friday, June 16, 2017 at 4:16:03 PM UTC-5, Baptiste Mathus wrote:
You probably want to test 2.46.2, then start a git bisect to identify the commit that introduced this possibly.

Cheers

2017-06-16 19:21 GMT+02:00 Matt Rabe <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="RlDKE0heAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mrab...@...>:
Got an issue with Nodepool / Jenkins setup, we're trying to upgrade to 2.46.3 but Nodepool fails with a 405 on the GET (it needs to be a POST) request to add the Jenkins node. In 2.46.1 this GET request succeeds and the node is added. I'm wondering what changed so I have something to point to with Nodepool if a fix needs to go in there.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="RlDKE0heAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/e6f46619-e8cf-4529-b37d-12047082c81c%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/e6f46619-e8cf-4529-b37d-12047082c81c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/e6f46619-e8cf-4529-b37d-12047082c81c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/e6f46619-e8cf-4529-b37d-12047082c81c%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8fc15cd3-06d7-4ca1-8561-650a31e44e7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.