Jenkins upgraded & getting error - HTTP ERROR 403 No valid crumb was included in the request

275 views
Skip to first unread message

Kiran Kumar

unread,
Nov 21, 2020, 7:49:44 AM11/21/20
to Jenkins Users
Hi,

I upgraded jenkins on CentOS 7 with yum update

jenkins-2.267-1.1

from jenkins.noarch 0:2.259-1.1 will be updated

==

Now i am not able to login

HTTP ERROR 403 No valid crumb was included in the request URI: /j_spring_security_check

STATUS: 403

MESSAGE: No valid crumb was included in the request

SERVLET: Stapler Powered by Jetty:// 9.4.33.v20201020

==

I tried adding

-Dhudson.security.csrf.DefaultCrumbIssuer.EXCLUDE_SESSION_ID=true"

in /etc/sysconfig/jenkins

but no luck


Also tried

-Djenkins.model.Jenkins.crumbIssuerProxyCompatibility=true


No luck too

I have enabled AD login & was working fine


Also i have https login enabled


Please suggest


Thanks

Mark Waite

unread,
Nov 21, 2020, 7:53:37 AM11/21/20
to Jenkins Users
See https://www.jenkins.io/blog/2020/11/10/spring-xstream/ for the announcement that the outdated Acegi security framework has been replaced by the Spring Security framework.  Use the instructions in that blog post to assess your current installation.  If the instructions in the blog post do not bring you to a solution, submit a bug report based on the instructions in the blog post.
Reply all
Reply to author
Forward
0 new messages