Unexpected termination error when running CLI commands

Issue

  • After running any CLI command, I get the following stack trace:
Mar 11, 2015 3:04:58 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run 
SEVERE: I/O error in channel CLI connection to http://<MY_URL>
java.io.IOException: Unexpected termination of the channel 
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) 
Caused by: java.io.EOFException

Environment

CloudBees Jenkins Enterprise

Resolution

jenkins-cli should match each Jenkins LTS version so be sure you are running the jenkins-cli which matches the Jenkins version you are running.

Diagnostics

You can enable more logging under http://<JENKINS_URL>/log/

  1. Add New Log Recorder
  2. Name the new Log
  3. Add Logger hudson.cli.* or (specifically hudson.cli.CLI)
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.