Reputation: 2364
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
Upvotes: 4
Views: 2535
Reputation: 26
-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
Upvotes: 1