Jenkins 2.192: HTTP Error 403: No valid crumb was included in the request

后端 未结 6 2029
无人共我
无人共我 2020-12-21 08:34

I recently upgraded to Jenkins 2.192, and my applications started failing with the following error:

HTTP Error 403: No valid crumb was included in the reques         


        
6条回答
  •  情深已故
    2020-12-21 09:14

    A simple solution without need of making changes to source code (validated with Jenkins v2.222):

    1. Install the Strict Crumb Issuer plugin (https://plugins.jenkins.io/strict-crumb-issuer/)
    2. Enable this plugin and uncheck 'Check the session ID' from its configuration (Under Jenkins Configure Global Security)

    A drawback is that this solution makes us dependent on the Strict Crumb Issuer plugin and removes a security feature. But since our application requires many other plugins and only runs behind the firewall without Internet access, this is acceptable.

提交回复
热议问题