Issue
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 request
Reason: No valid crumb was included in the request
I do not see the problem after downgrading to Jenkins 2.189. I do not see the issue with Jenkins 2.189, 2.190, 2.191. I hit the issue with Jenkins 2.192 (also seen with 2.196)
SOMETHING CHANGED BETWEEN 2.191 AND 2.192 , causing the failure I observed.
Solution
A simple solution without need of making changes to source code (validated with Jenkins v2.222):
- Install the Strict Crumb Issuer plugin (https://plugins.jenkins.io/strict-crumb-issuer/)
- 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.
Answered By - freeAR