Premature EOF | 8 months ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0
  2. 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Host system {noformat} $ lsb_release -idrc Distributor ID: Debian Description: Debian GNU/Linux 5.0.8 (lenny) Release: 5.0.8 Codename: lenny {noformat} Java version {noformat} $ java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing) {noformat} Installed software with versions {noformat} $ apt-show-versions -r -p 'jenkins.*|apache2.*|libapache2-.*' | column -t apache2/lenny uptodate 2.2.9-10+lenny9 apache2-doc/lenny uptodate 2.2.9-10+lenny9 apache2-mpm-prefork/lenny uptodate 2.2.9-10+lenny9 apache2-utils/lenny uptodate 2.2.9-10+lenny9 apache2.2-common/lenny uptodate 2.2.9-10+lenny9 jenkins/binary uptodate 1.408 libapache2-mod-auth-mysql/lenny uptodate 4.3.9-11 libapache2-mod-auth-openid/lenny uptodate 0.3-2 libapache2-mod-encoding/lenny uptodate 20040616-5 libapache2-mod-fcgid/lenny uptodate 1:2.2-1+lenny1 libapache2-mod-geoip/lenny uptodate 1.1.8-2 libapache2-mod-php5/lenny uptodate 5.2.6.dfsg.1-1+lenny10 libapache2-mod-python/lenny uptodate 3.3.1-7 libapache2-mod-wsgi/lenny uptodate 2.5-1~lenny1 {noformat} Loaded Apache2 modules (maybe this could be relevant, i don't know) {noformat} $ find /etc/apache2/mods-enabled/ -name '*.load' | sed 's|.*/||' | sort | column alias.load authz_user.load geoip.load rewrite.load auth_basic.load autoindex.load mime.load setenvif.load auth_mysql.load cgi.load negotiation.load status.load authn_file.load deflate.load php5.load wsgi.load authz_default.load dir.load proxy_http.load authz_groupfile.load env.load proxy.load authz_host.load fcgid.load python.load {noformat} The reverse proxy setup {noformat} $ cat /etc/apache2/conf.d/jenkins.conf ProxyPass /jenkins http://localhost:8080/jenkins ProxyPassReverse /jenkins http://localhost:8080/jenkins # Local reverse proxy authorization override # Most unix distribution deny proxy by default (ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu) <Proxy http://localhost:8080/jenkins*> Order deny,allow Allow from all </Proxy> {noformat} After invoking the command it takes a long time until the CLI dose throw the error. I suppose it's just the long time out {noformat} $ java -jar jenkins-cli.jar -s http://localhost/jenkins/ version Exception in thread "main" Premature EOF at at at at at$ at$ at$ at hudson.remoting.Channel.<init>( at hudson.remoting.Channel.<init>( at hudson.remoting.Channel.<init>( at hudson.remoting.Channel.<init>( at hudson.remoting.Channel.<init>( at hudson.cli.CLI.<init>( at hudson.cli.CLI.<init>( at hudson.cli.CLI.main( {noformat} The Jenkins server log dose contain such an entry for each failed connection attempt {noformat} $ cat /var/log/jenkins/jenkins.log Apr 23, 2011 8:50:30 AM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel HTTP full-duplex channel 5a8a8941-e820-4b03-a52e-5f45c4112afc Connection reset at at at at hudson.util.ChunkedInputStream.getChunkSizeFromInputStream( at hudson.util.ChunkedInputStream.nextChunk( at at$PeekInputStream.peek( at$BlockDataInputStream.peek( at$BlockDataInputStream.peekByte( at at at hudson.remoting.Channel$ {noformat} Interestingly the connection dose work fine when I connect directly to it {noformat} $ java -jar jenkins-cli.jar -s http://localhost:8080/jenkins/ version 1.408 {noformat}

    Jenkins JIRA | 6 years ago | 166_MMX Premature EOF

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis


      Premature EOF

    2. Java RT
      1. Source)
      2. Source)
      3. Source)
      4. Source)
      5.$ Source)
      6.$ Source)
      7.$ Source)
      7 frames
    3. Hudson :: Remoting Layer
      1. hudson.remoting.Channel.<init>(
      2. hudson.remoting.Channel.<init>(
      3. hudson.remoting.Channel.<init>(
      3 frames
    4. Hudson
      1. hudson.cli.CLI.main(
      1 frame