-
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
[JENKINS-3619] Unable to use hudson-cli.jar - getting Premature EOF
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Component/s | New: cli [ 15624 ] | |
Component/s | Original: other [ 15490 ] |
I get the same error:
connection.
[mirko@borg Software]$ java -jar hudson-cli.jar -s 'http://localhost:20080/' help
Exception in thread "main" java.io.IOException: Premature EOF
at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:538)
at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:582)
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:669)
at java.io.FilterInputStream.read(FilterInputStream.java:116)
at
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2504)
at
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2499)
at
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2488)
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)