CFDocument timeout after 50 seconds


#1

I have a fairly small html document ( about 24 kb ), which has 13 images ( 2 png, 1 gif, and 10 jpg) totaling about 1.5MB.

Seems like 50 seconds is a very long time. Suggestions?

"ERROR","ajp-nio-8009-exec-12","11/26/2018","14:15:58","",";request /myBooks/index.cfm (/export/dev/L/dev.etext.illinois.edu/secure/illinois/myBooks/index.cfm) has run into a timeout (50 seconds) and has been stopped.;lucee.runtime.exp.RequestTimeoutException: request /myBooks/index.cfm (/export/dev/L/dev.etext.illinois.edu/secure/illinois/myBooks/index.cfm) has run into a timeout (50 seconds) and has been stopped.
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:171)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
	at org.xhtmlrenderer.swing.NaiveUserAgent.onHttpConnection(NaiveUserAgent.java:174)
	at org.xhtmlrenderer.swing.NaiveUserAgent.openConnection(NaiveUserAgent.java:157)
	at org.xhtmlrenderer.swing.NaiveUserAgent.openStream(NaiveUserAgent.java:142)
	at org.xhtmlrenderer.swing.NaiveUserAgent.resolveAndOpenStream(NaiveUserAgent.java:129)
	at org.xhtmlrenderer.pdf.ITextUserAgent.getImageResource(ITextUserAgent.java:76)
	at org.xhtmlrenderer.pdf.ITextReplacedElementFactory.createReplacedElement(ITextReplacedElementFactory.java:59)
	at org.xhtmlrenderer.render.BlockBox.calcDimensions(BlockBox.java:726)
	at org.xhtmlrenderer.render.BlockBox.calcDimensions(BlockBox.java:666)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:819)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:786)
	at org.xhtmlrenderer.layout.InlineBoxing.layoutInlineBlockContent(InlineBoxing.java:421)
	at org.xhtmlrenderer.layout.InlineBoxing.layoutContent(InlineBoxing.java:318)
	at org.xhtmlrenderer.render.BlockBox.layoutInlineChildren(BlockBox.java:993)
	at org.xhtmlrenderer.render.AnonymousBlockBox.layout(AnonymousBlockBox.java:47)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild0(BlockBoxing.java:321)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild(BlockBoxing.java:299)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutContent(BlockBoxing.java:90)
	at org.xhtmlrenderer.render.BlockBox.layoutChildren(BlockBox.java:977)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:857)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:786)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild0(BlockBoxing.java:321)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild(BlockBoxing.java:299)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutContent(BlockBoxing.java:90)
	at org.xhtmlrenderer.render.BlockBox.layoutChildren(BlockBox.java:977)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:857)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:786)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild0(BlockBoxing.java:321)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutBlockChild(BlockBoxing.java:299)
	at org.xhtmlrenderer.layout.BlockBoxing.layoutContent(BlockBoxing.java:90)
	at org.xhtmlrenderer.render.BlockBox.layoutChildren(BlockBox.java:977)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:857)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:786)
	at org.xhtmlrenderer.pdf.ITextRenderer.layout(ITextRenderer.java:229)
	at org.lucee.extension.pdf.xhtmlrenderer.FSPDFDocument.createPDF(FSPDFDocument.java:262)
	at org.lucee.extension.pdf.xhtmlrenderer.FSPDFDocument.content(FSPDFDocument.java:142)
	at org.lucee.extension.pdf.xhtmlrenderer.FSPDFDocument.render(FSPDFDocument.java:101)
	at org.lucee.extension.pdf.tag.Document.render(Document.java:705)
	at org.lucee.extension.pdf.tag.Document._doEndTag(Document.java:667)
	at org.lucee.extension.pdf.tag.Document.doEndTag(Document.java:606)
	at etextuiillinois_cfc$cf.udfCall2(/eTextUIIllinois.cfc:602)
	at etextuiillinois_cfc$cf.udfCall(/eTextUIIllinois.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:339)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:202)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:773)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:845)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1686)
	at etextuiillinois_cfc$cf.udfCall1(/eTextUIIllinois.cfc:317)
	at etextuiillinois_cfc$cf.udfCall(/eTextUIIllinois.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:339)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:202)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:645)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:566)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1934)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:845)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1686)
	at etextcontrollerillinois_cfc$cf.udfCall1(/eTextControllerIllinois.cfc:156)
	at etextcontrollerillinois_cfc$cf.udfCall(/eTextControllerIllinois.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:339)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:202)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:645)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:566)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1934)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:845)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:838)
	at lucee.runtime.util.VariableUtilImpl.callFunction(VariableUtilImpl.java:750)
	at lucee.runtime.interpreter.ref.func.UDFCall.getValue(UDFCall.java:64)
	at lucee.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:213)
	at lucee.runtime.functions.dynamicEvaluation.Evaluate._call(Evaluate.java:110)
	at lucee.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:103)
	at lucee.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:43)
	at mybooks.index_cfm$cf.call(/myBooks/index.cfm:35)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:880)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:803)
	at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:217)
	at lucee.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:105)
	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2367)
	at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2357)
	at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2332)
	at lucee.runtime.engine.Request.exe(Request.java:43)
	at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1045)
	at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:991)
	at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
	at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:870)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
"

Lucee 5.3.1.87-RC
Apache Tomcat/8.0.53
Linux (2.6.32-754.3.5.el6.x86_64) 64bit


#2

Definitely sounds like an issue. Does it happen in earlier versions of Lucee?


#3

How are you referring the images?

I think it can time out if it can not find the images.

If it is by URL, try adding as absolute rather than relative