• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • 2.0-beta-1
      windows x64
      java8

      start jenkins2.0 on a clean install
      close the wizzard so no plugins are installed.
      login
      restart
      login again
      go to plugin mananger
      click on Available tab
      wait for the page to start loading
      click con Installed tab

      Watch the exceptions spew in the logs...

      Mar 31, 2016 12:41:50 PM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: /pluginManager/available
      java.io.IOException: failed to deflate: error=-5 avail_out=198
              at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:140)
              at com.jcraft.jzlib.DeflaterOutputStream.finish(DeflaterOutputStream.java:111)
              at com.jcraft.jzlib.DeflaterOutputStream.close(DeflaterOutputStream.java:117)
              at org.kohsuke.stapler.compression.FilterServletOutputStream.close(FilterServletOutputStream.java:36)
              at org.kohsuke.stapler.compression.CompressionServletResponse.close(CompressionServletResponse.java:67)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:63)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
              at org.eclipse.jetty.server.Server.handle(Server.java:499)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
              at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
              at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      
      Mar 31, 2016 12:41:51 PM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: /pluginManager/available
      java.io.IOException: failed to deflate: error=-5 avail_out=198
              at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:140)
              at com.jcraft.jzlib.DeflaterOutputStream.finish(DeflaterOutputStream.java:111)
              at com.jcraft.jzlib.DeflaterOutputStream.close(DeflaterOutputStream.java:117)
              at org.kohsuke.stapler.compression.FilterServletOutputStream.close(FilterServletOutputStream.java:36)
              at org.kohsuke.stapler.compression.CompressionServletResponse.close(CompressionServletResponse.java:67)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:63)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
              at org.eclipse.jetty.server.Server.handle(Server.java:499)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
              at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
              at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      
      Mar 31, 2016 12:41:51 PM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: Could not send response error 500: java.io.IOException: failed to deflate: error=-5 avail_out=198
      

      This is likely not an issue in the plugin manager but in the new version of jetty / compression filter that is being over zelous in it's logging of - erm the other side went away whilst I was writing - but it does not look like that from the stack trace (even if it is).

          [JENKINS-33931] exceptions on pluginManager with no plugins

          danielbeck says he doesn't think this is a regression caused by the setup wizard, but may instead be caused by Jenkins outputting a lot of stuff and then stopping the connection. Having No plugins installed and then loading the available plugins page may be an easy way to get Jenkins into this state.

          Spike Washburn added a comment - danielbeck says he doesn't think this is a regression caused by the setup wizard, but may instead be caused by Jenkins outputting a lot of stuff and then stopping the connection. Having No plugins installed and then loading the available plugins page may be an easy way to get Jenkins into this state.

          Keith Zantow added a comment -

          I was able to follow the steps here without any issue on OSX / Chrome. Is this browser specific?

          Keith Zantow added a comment - I was able to follow the steps here without any issue on OSX / Chrome. Is this browser specific?

          Daniel Beck added a comment -

          kzantow This is an issue that appears to occur when the browser cuts the connection while Jenkins is actively sending data. I believe it's unrelated to the plugin manager, but the report doesn't make that clear. Probably just a case of it being a page in Jenkins that takes forever to load.

          AFAIK this has been logged on the same level in older Winstone-Jetty as well. Or do we know it wasn't?

          Daniel Beck added a comment - kzantow This is an issue that appears to occur when the browser cuts the connection while Jenkins is actively sending data. I believe it's unrelated to the plugin manager, but the report doesn't make that clear. Probably just a case of it being a page in Jenkins that takes forever to load. AFAIK this has been logged on the same level in older Winstone-Jetty as well. Or do we know it wasn't?

          James Nord added a comment -

          danielbeck I think the older jetty provided a different stack trace that made it clear the connection was closed, rather than a deflate filter error - I shall see if I can reproduce on a 1.x.

          James Nord added a comment - danielbeck I think the older jetty provided a different stack trace that made it clear the connection was closed, rather than a deflate filter error - I shall see if I can reproduce on a 1.x.

          James Nord added a comment -

          could not reproduce in 1.642.1, went back to 2.0-beta-2 and could not repo their either. then tried 2.0-beta-1 and could not reproduce there either which is somewhat worrying as this was very reproducable the other day!

          James Nord added a comment - could not reproduce in 1.642.1, went back to 2.0-beta-2 and could not repo their either. then tried 2.0-beta-1 and could not reproduce there either which is somewhat worrying as this was very reproducable the other day!

          Daniel Beck added a comment -

          Let's wait for more reports of this to come in.

          Daniel Beck added a comment - Let's wait for more reports of this to come in.

          Oleg Nenashev added a comment -

          danielbeck I think the issue still exists. See JENKINS-35125

          Oleg Nenashev added a comment - danielbeck I think the issue still exists. See JENKINS-35125

          Daniel Beck added a comment -

          oleg_nenashev Right, but different file – has nothing to do with plugin manager. That was even a resource file…

          Daniel Beck added a comment - oleg_nenashev Right, but different file – has nothing to do with plugin manager. That was even a resource file…

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: