-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Platform: PC, OS: Windows XP
I cannot get hudson-cli to work?
I'm not running any proxys - and hudson itself works fine.
I have downloaded hudson-cli.jar from the web page at
http://61a213.prod.mycompany.local:8080/cli
There is a Windows firewall running on the hudson server, and I am not allowed
to disable it. Here's the error I get after appr. 60 seconds:
C:\>java -jar hudson-cli.jar -s http://61a213.prod.mycompany.local:8080/ help
Exception in thread "main" java.io.IOException: Premature EOF
at sun.net.www.http.ChunkedInputStream.readAheadBlocking(Unknown Source)
at sun.net.www.http.ChunkedInputStream.readAhead(Unknown Source)
at sun.net.www.http.ChunkedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read
(Unknown Source)
at hudson.remoting.Channel.<init>(Channel.java:310)
at hudson.remoting.Channel.<init>(Channel.java:251)
at hudson.remoting.Channel.<init>(Channel.java:239)
at hudson.cli.CLI.main(CLI.java:70)
My java version:
c:\>Java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
Hudson version: 1.303
I get the same error when on the linux box, in the wrapper log I get:
INFO | jvm 1 | 2009/05/04 22:30:14 | May 4, 2009 10:30:14 PM hudson.remoting.Channel$ReaderThread run
INFO | jvm 1 | 2009/05/04 22:30:14 | SEVERE: I/O error in channel HTTP full-duplex channel aac41a55-56f6-4709-9913-af6d9f5091ea
INFO | jvm 1 | 2009/05/04 22:30:14 | java.io.StreamCorruptedException: invalid type code: 0D
INFO | jvm 1 | 2009/05/04 22:30:14 | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
INFO | jvm 1 | 2009/05/04 22:30:14 | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
INFO | jvm 1 | 2009/05/04 22:30:14 | at hudson.remoting.Channel$ReaderThread.run(Channel.java:727)
INFO | jvm 1 | 2009/05/04 22:30:14 | May 4, 2009 10:30:14 PM hudson.model.FullDuplexHttpChannel$1 onDead
INFO | jvm 1 | 2009/05/04 22:30:14 | INFO: Duplex-HTTP session aac41a55-56f6-4709-9913-af6d9f5091ea is terminated