Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23232

Jenkins CLI: java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A

      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

          [JENKINS-23232] Jenkins CLI: java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A

          Ashok Manji created issue -
          Ashok Manji made changes -
          Link New: This issue is related to JENKINS-20128 [ JENKINS-20128 ]
          Ashok Manji made changes -
          Component/s New: core [ 15593 ]
          Component/s New: master-slave [ 15489 ]
          Peter Kline made changes -
          Link New: This issue is related to JENKINS-23223 [ JENKINS-23223 ]
          Daniel Beck made changes -
          Component/s Original: slave-setup [ 15929 ]
          Daniel Beck made changes -
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-34287 [ JENKINS-34287 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 155793 ] New: JNJira + In-Review [ 179125 ]
          Oleg Nenashev made changes -
          Summary Original: SEVERE: I/O error in channel Chunked connection New: Jenkins CLI: java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-35197 [ JENKINS-35197 ]
          Oleg Nenashev made changes -
          Description Original: 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
          New: 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

            oleg_nenashev Oleg Nenashev
            ashokm Ashok Manji
            Votes:
            6 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: