We use the jenkins-cli.jar to attach new slaves and this has been working successfully in v1.534, however when upgrading to v1.554.1, we are unable to do so and a "SEVERE: I/O error in channel Chunked connection" error occurs.
Tested on linux slaves using java version "1.6.0_35" and "1.7.0_45" and the same error occurs.
Attached console output to error.log
Workaround: -Dhudson.diyChunking=false on both slave/agent and master sides
- is duplicated by
-
JENKINS-34287 [2.0] CLI over HTTP doesn't work
-
- Resolved
-
-
JENKINS-35197 unable to use jenkins-cli: java.io.StreamCorruptedException
-
- Resolved
-
- is related to
-
JENKINS-20128 HTTP two-way remoting does not work (jenkins-cli.jar without JNLP)
-
- Resolved
-
-
JENKINS-23223 Jenkins CLI to start a build no longer working in 1.564
-
- Resolved
-
[JENKINS-23232] Jenkins CLI: java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A
Link |
New:
This issue is related to |
Component/s | New: core [ 15593 ] | |
Component/s | New: master-slave [ 15489 ] |
Link |
New:
This issue is related to |
My guess is that this is because hudson.diyChunking is still set to true, and between Jetty and Jenkins we end up double-decoding chunked encoding. Needs to verify.