4

I am using this command for installing jenkins plugins

java -jar {{ jenkins_dir }}/jenkins-cli.jar -s http://localhost:{{ jenkins_port}} install-plugin {{ item }}

above command giving this error

SEVERE: I/O error in channel Chunked connection

This was worked fine with older versions but with v2 I am getting this error

I did some troubleshoot like

JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Djenkins.install.runSetupWizard=false -Dhudson.diyChunking=false

Still I am not able to success

Jameel Grand
  • 2,294
  • 16
  • 32

2 Answers2

1

-Dhudson.diyChunking=false on both slave/agent and master sides

will solve ur problem

check official jira link https://issues.jenkins-ci.org/browse/JENKINS-23232

Jameel md
  • 26
  • 4
0

It was solved in new jenkins version build

Jameel Grand
  • 2,294
  • 16
  • 32