本文主要是介绍Jenkins Error 403 No valid crumb was included in the request,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
WARNING hudson.security.csrf.CrumbFilter#doFilter: No valid crumb was included in request for /pluginManager/installPlugins by admin. Returning 403.
找到Jenkins安装目录,我的是centos yum方式安装的,在 /var/lib/jenkins
修改该目录下的config.xml配置文件:
excludeClientIPFromCrumb 的值改为 true
<crumbIssuer class="hudson.security.csrf.DefaultCrumbIssuer"><excludeClientIPFromCrumb>true</excludeClientIPFromCrumb></crumbIssuer>
重启jenkins
这篇关于Jenkins Error 403 No valid crumb was included in the request的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!