Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59062

Suppressed: java.lang.Throwable: HttpInput failure

XMLWordPrintable

      I have my Jenkins with version 2.176.2, and I use cURL for automatically GET and POST Jenkins jobs. The automation was working before the Apache server update. Earlier it was using Apache server version - 2.4.39and it was upgraded to new version 2.4.41.

      I used cURL version 7.63. Through cURL I use API token for authentication. In Jenkins machine, under Access log of Apache software I get the issue as below:

      "POST /view/All/job/<MyJobName>/configSubmit HTTP/1.1" 401 381

      After the update of Apache server the build job updation through cURL was not working and it shows below issue in build job while posting. Kindly provide inputs to resolve the issue.

      javax.xml.transform.TransformerException: java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 5000/5000 ms
      [exec] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
      [exec] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
      [exec] at jenkins.util.xml.XMLUtils._transform(XMLUtils.java:210)
      [exec] at jenkins.util.xml.XMLUtils.safeTransform(XMLUtils.java:82)
      [exec] at hudson.model.AbstractItem.updateByXml(AbstractItem.java:865)
      [exec] at hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:808)
      [exec] at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
      [exec] at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
      [exec] at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
      [exec] at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
      [exec] at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
      [exec] at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
      [exec] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      [exec] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
      [exec] at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280)
      [exec] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      [exec] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
      [exec] at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280)
      [exec] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      [exec] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
      [exec] at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      [exec] at org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:1085)
      [exec] at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:318)
      [exec] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
      [exec] at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
      [exec] at sun.nio.cs.StreamDecoder.read(Unknown Source)
      [exec] at java.io.InputStreamReader.read(Unknown Source)
      [exec] at java.io.BufferedReader.fill(Unknown Source)
      [exec] at java.io.BufferedReader.read1(Unknown Source)
      [exec] at java.io.BufferedReader.read(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      [exec] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      [exec] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown Source)
      [exec] ... 117 more
      [exec] Suppressed: java.lang.Throwable: HttpInput failure
      [exec] at org.eclipse.jetty.server.HttpInput.failed(HttpInput.java:831)
      [exec] at org.eclipse.jetty.server.HttpConnection$BlockingReadCallback.failed(HttpConnection.java:661)
      [exec] at org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:138)
      [exec] at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:406)
      [exec] ... 9 more
      [exec] ---------
      [exec] java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 5000/5000 ms
      [exec] at org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:1085)
      [exec] at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:318)
      [exec] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
      [exec] at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
      [exec] at sun.nio.cs.StreamDecoder.read(Unknown Source)
      [exec] at java.io.InputStreamReader.read(Unknown Source)
      [exec] at java.io.BufferedReader.fill(Unknown Source)
      [exec] at java.io.BufferedReader.read1(Unknown Source)
      [exec] at java.io.BufferedReader.read(Unknown Source)
      [exec] ... 1 more
      [exec] Suppressed: java.lang.Throwable: HttpInput failure
      [exec] at org.eclipse.jetty.server.HttpInput.failed(HttpInput.java:831)
      [exec] at org.eclipse.jetty.server.HttpConnection$BlockingReadCallback.failed(HttpConnection.java:661)
      [exec] at org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:138)
      [exec] at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:406)
      [exec] ... 9 more
      [exec] Caused: java.io.IOException: Failed to persist config.xml
      [exec] at hudson.model.AbstractItem.updateByXml(AbstractItem.java:868)
      [exec] at hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:808)
      [exec] at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
      [exec] at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
      [exec] at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
      [exec] at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
      [exec] at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
      [exec] at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
      [exec] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      [exec] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
      [exec] at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280)
      [exec] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      [exec] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
      [exec] at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280)
      [exec] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      [exec] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
      [exec] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
      [exec] at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      </pre></div></div></div><footer><div class="container-fluid"><div class="row"><div class="col-md-6" id="footer"></div><div class="col-md-18"><span class="page_generated">Page generated: Fri Aug 23 06:59:04 CEST 2019</span><span class="rest_api"><a href="api/">REST API</a></span><span class="jenkins_ver"><a href="
      https://jenkins.io/
      ">Jenkins ver. 2.176.2</a></span></div></div></div></footer></body></html>

            armfergom Armando Fernandez
            dineshkumar_n Dinesh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: