Unexpected termination error when running CLI commands

Article ID:204527210
1 minute readKnowledge base


  • 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 `+https://<MY_URL>+`
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException


CloudBees Jenkins Enterprise


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.


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

  1. Add New Log Recorder

  2. Name the new Log

  3. Add Logger hudson.cli.* or (specifically hudson.cli.CLI)