timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-49953] jenkins gives Bad Request page mostly while trying to change configuration of a job #9689

Open timja opened 6 years ago

timja commented 6 years ago

I have recently upgraded to jenkins 2.89.4 from 2.46.2. Prevoiusly it was running with jdk7 now it is jdk8.

Upgrade went well, everything looks working but when I try to change the configuration of any job it gives below error page with HTTP 400 response:

 

Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cookie
/n
Apache/2.2.15 (CentOS) Server at node0.morado.com Port 443

I did delete the cookies and refreshed the page. It get loaded with the desired contents but again within a minute it gives the same HTTP 400 response as above.

I have referred the existing JIRA JENKINS-25046. But that solves the issue temporarily.

Does anybody know what is wrong here?

Java Detail:

openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-b16)
OpenJDK 64-Bit Server VM (build 25.141-b16, mixed mode) 

OS : 

CentOS release 6.2 (Final)

 


Originally reported by ankitjenkins, imported from: jenkins gives Bad Request page mostly while trying to change configuration of a job
  • status: Open
  • priority: Critical
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 6 years ago

danielbeck:

Assuming this error message means it's the cookie header, what's the value you're sending that's too long?