-
Bug
-
Resolution: Fixed
-
Major
-
I'm trying to connect a slave to the master using slave.jar, and I keep running into "<url> is not Jenkins". This appears to be because the response does not have the "X-Jenkins-JNLP-Port" header. This is appears to be because nginx is lowercasing the headers, as per the http2 spec. The endpoint resolver should normalize the headers before trying to match against them.I'm trying to connect a slave to the master using slave.jar, and I keep running into "<url> is not Jenkins". This appears to be because the response does not have the "X-Jenkins-JNLP-Port" header. This is appears to be because nginx is lowercasing the headers, as per the http2 spec. The endpoint resolver should normalize the headers before trying to match against them.
- is duplicated by
-
JENKINS-46864 Jenkins agent header check doesn't meet RFC, it's case-sensitive
-
- Resolved
-
- links to
Code changed in jenkins
User: Daniel Beck
Path:
src/main/java/org/jenkinsci/remoting/engine/JnlpAgentEndpointResolver.java
http://jenkins-ci.org/commit/remoting/628cf4cbae684b48a598ff062d430e747b160a54
Log:
[FIX JENKINS-40710] Match headers case-insensitively