Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: cli
-
Labels:
-
Environment:ubuntu 10.04.4 server amd64, OpenJDK 6 1.6.0_27-b27
-
Similar Issues:
Description
any cli command fails with exception. output attached. this output produced by create-job ommand, help command produces same.
Attachments
Issue Links
- is blocking
-
JENKINS-18366 Jetty should be used rather than Winstone for embedded deployments
-
- Resolved
-
- is duplicated by
-
JENKINS-21209 any cli command fails with exception
-
- Resolved
-
- is related to
-
JENKINS-23232 Jenkins CLI: java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Summary | cli doesn't work | HTTP two-way remoting does not work (jenkins-cli.jar without JNLP) |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Labels | cli console exception jenkins | 1.532.2-fixed cli console exception jenkins |
Assignee | Kohsuke Kawaguchi [ kohsuke ] |
Link |
This issue is blocking |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Link |
This issue is related to |
Link |
This issue is duplicated by |
Workflow | JNJira [ 151650 ] | JNJira + In-Review [ 194026 ] |
I have narrowed this down to 1.535 and up; 1.534 is fine. This issue only occurs when "TCP port for JNLP slave agents" is set to Disabled.
My best guess is that the "two simultaneous HTTP connections" fallback for the CLI connection was broken with the introduction of Jetty8 in 1.535.
From the jenkins-cli output (similar to 2.log), one can with some effort decode the server side backtrace:
For the original submitter: you can workaround by re-enabling the JNLP port.