<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error status 408 read time out executing script in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108766#M30540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a java script which is executed as a folder rule&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script is intended to clean repository&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;// execute a lucene search across the repository for pdf documents in a specific folder created the exact day&lt;BR /&gt; var docs = search.luceneSearch("PATH:\"/app:company_home/cm&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ED_ROOT//*\" AND TYPE:\"doc:rawcontent\"");&lt;BR /&gt; var i;&lt;BR /&gt; for (i=0; i&amp;lt;docs.length; i++)&lt;BR /&gt; {&lt;BR /&gt; docs[i].remove();&lt;BR /&gt; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The search part is executed at reasonable time from admin console, but while executing folder rule there is error in share.log:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;2019-07-14 17:59:30,007 INFO [org.springframework.extensions.webscripts.connector.RemoteClient] [http-apr-8181-exec-8] Exception calling (POST) http://localhost:8181/alfresco/s/api/actionQueue?alf_ticket=TICKET_5f5a9bd3f5b675050a9049512ea19ce22c645754&lt;BR /&gt;2019-07-14 17:59:30,010 INFO [org.springframework.extensions.webscripts.connector.RemoteClient] [http-apr-8181-exec-8] Error status 408 Read timed out&lt;BR /&gt;java.net.SocketTimeoutException: Read timed out&lt;BR /&gt; at java.net.SocketInputStream.socketRead0(Native Method)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How to increase read timeout value in alfresco community&amp;nbsp;201612 version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Jul 2019 19:49:38 GMT</pubDate>
    <dc:creator>skushnerenko</dc:creator>
    <dc:date>2019-07-14T19:49:38Z</dc:date>
    <item>
      <title>Error status 408 read time out executing script</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108766#M30540</link>
      <description>There is a java script which is executed as a folder rule&amp;nbsp;The script is intended to clean repository// execute a lucene search across the repository for pdf documents in a specific folder created the exact day var docs = search.luceneSearch("PATH:\"/app:company_home/cm&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ED_ROOT//*\" AND TYPE:\"doc:r</description>
      <pubDate>Sun, 14 Jul 2019 19:49:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108766#M30540</guid>
      <dc:creator>skushnerenko</dc:creator>
      <dc:date>2019-07-14T19:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error status 408 read time out executing script</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108767#M30541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On which event , this folder rule is getting fired?There will be some more logs with actual error.I think.Can you please add that as well.Please also check if there is any policy/behaviour in your customized code which might create conflict.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 05:41:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108767#M30541</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2019-07-15T05:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error status 408 read time out executing script</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108768#M30542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what could be causing the error, it would be&amp;nbsp;helpful if you could check all log files and post the logs as well. Additionally add debug logs to the javascript as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen similar error long back when i was trying to search on repository and my search query was limited to sites or a particular folder. I used to get the search result but javascript used to time out while iterating the huge result set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please add some debug logs and try to capture the logs.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 13:03:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108768#M30542</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-07-15T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error status 408 read time out executing script</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108769#M30543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created test folder, a single test document inside.&lt;/P&gt;&lt;P&gt;I execute script simply by pressing button "Run rules\Run rule for this folder"&amp;nbsp; on folder rules&amp;nbsp;page.&lt;/P&gt;&lt;P&gt;It is running for a&amp;nbsp;about a&amp;nbsp;minute and then fails.&lt;/P&gt;&lt;P&gt;In catalina.out I have only this&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;2019-07-15 23:55:00,737 INFO [webscripts.connector.RemoteClient] [http-apr-8181-exec-9] Exception calling (POST) http://localhost:8181/alfresco/s/api/actionQueue?alf_ticket=TICKET_322fef2d1297cd2d3abdc7e97fb567b808eac1b0&lt;BR /&gt; 2019-07-15 23:55:00,737 INFO [webscripts.connector.RemoteClient] [http-apr-8181-exec-9] Error status 408 Read timed out&lt;BR /&gt; java.net.SocketTimeoutException: Read timed out&lt;BR /&gt; at java.net.SocketInputStream.socketRead0(Native Method)&lt;BR /&gt; at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)&lt;BR /&gt; at java.net.SocketInputStream.read(SocketInputStream.java:170)&lt;BR /&gt; at java.net.SocketInputStream.read(SocketInputStream.java:141)&lt;BR /&gt; at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)&lt;BR /&gt; at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)&lt;BR /&gt; at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)&lt;BR /&gt; at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)&lt;BR /&gt; at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)&lt;BR /&gt; at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)&lt;BR /&gt; at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)&lt;BR /&gt; at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)&lt;BR /&gt; at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)&lt;BR /&gt; at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)&lt;BR /&gt; at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)&lt;BR /&gt; at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)&lt;BR /&gt; at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)&lt;BR /&gt; at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)&lt;BR /&gt; at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)&lt;BR /&gt; at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)&lt;BR /&gt; at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)&lt;BR /&gt; at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)&lt;BR /&gt; at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:1164)&lt;BR /&gt; at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:801)&lt;BR /&gt; at org.springframework.extensions.webscripts.connector.HttpConnector.call(HttpConnector.java:143)&lt;BR /&gt; at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:293)&lt;BR /&gt; at org.springframework.extensions.webscripts.servlet.mvc.EndPointProxyController.handleRequestInternal(EndPointProxyController.java:326)&lt;BR /&gt; at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)&lt;BR /&gt; at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)&lt;BR /&gt; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)&lt;BR /&gt; at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)&lt;BR /&gt; at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)&lt;BR /&gt; at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:853)&lt;BR /&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)&lt;BR /&gt; at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)&lt;BR /&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;BR /&gt; at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;BR /&gt; at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)&lt;BR /&gt; at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)&lt;BR /&gt; at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)&lt;BR /&gt; at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)&lt;BR /&gt; at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)&lt;BR /&gt; at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)&lt;BR /&gt; at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)&lt;BR /&gt; at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)&lt;BR /&gt; at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;BR /&gt; at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;BR /&gt; at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:316)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;BR /&gt; at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)&lt;BR /&gt; at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)&lt;BR /&gt; at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;BR /&gt; at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;BR /&gt; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)&lt;BR /&gt; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)&lt;BR /&gt; at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)&lt;BR /&gt; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)&lt;BR /&gt; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&lt;BR /&gt; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)&lt;BR /&gt; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)&lt;BR /&gt; at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)&lt;BR /&gt; at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)&lt;BR /&gt; at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;BR /&gt; at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:58:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108769#M30543</guid>
      <dc:creator>skushnerenko</dc:creator>
      <dc:date>2019-07-15T20:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error status 408 read time out executing script</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108770#M30544</link>
      <description>&lt;P&gt;Have you find a workaround for this?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 07:54:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-status-408-read-time-out-executing-script/m-p/108770#M30544</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2020-10-04T07:54:29Z</dc:date>
    </item>
  </channel>
</rss>

