title: proxy_ajp:error (70007)The timeout specified has expired:
body: <p>I am getting the error in the <code>error_log</code>. I was able to figure out that I need to increase <code>ProxyTimeout</code>.</p>
  
  <p>However, I was unable to find where may I change it. All I could do was adding this to the <code>server.xml</code>:</p>
  
  <pre><code>&lt;Connector executor="tomcatThreadPool"
                 port="8080" protocol="HTTP/1.1"
                 connectionTimeout="600000"
                 redirectPort="8443" /&gt;
  </code></pre>
  
  <p>Any idea how to exactly increase the <code>ProxyTimeout</code>?
  I am using <code>Ubuntu</code> from <code>AWS</code> and <code>Apache Tomcat v7</code></p>
  
  <p>I have tried to add this into  <code>proxy-html.conf</code>: </p>
  
  <pre><code>ProxyRequests On 
  &lt;Proxy *&gt;
      AddDefaultCharset off
      Order deny,allow
      Allow from all
  &lt;/Proxy&gt;
  ProxyPreserveHost Off
  ProxyTimeout 1200
  </code></pre>
  
  <p>I have also added this into <code>httpd.conf</code>:</p>
  
  <pre><code>TimeOut 600
  </code></pre>
  
  <p>I have restarted the Tomcat server but neither of the above configurations helped.</p>
  
  <p>Btw this is the exact error, I don't understand why there is proxy mentioned. I am not connecting through any proxy server... The issue happens when I submit a form, which triggers some tough processing. Then it times out in approx. 60 seconds. However, the program still runs, only the request times out.</p>
  
  <p>Error:</p>
  
  <pre><code>[Thu Aug 13 07:34:21.677693 2015] [proxy_ajp:error] [pid 1515] (70007)The timeout specified has expired: AH01030: ajp_ilink_receive() can't receive header
  [Thu Aug 13 07:34:21.677769 2015] [proxy_ajp:error] [pid 1515] [client 212.130.108.58:52206] AH00992: ajp_read_header: ajp_ilink_receive failed, referer: http://52.17.109.177/Visma_UploadInterface/MappingServlet
  [Thu Aug 13 07:34:21.677782 2015] [proxy_ajp:error] [pid 1515] (70007)The timeout specified has expired: [client 212.130.108.58:52206] AH00878: read response failed from 127.0.0.1:8009 (localhost), referer: http://52.17.109.177/Visma_UploadInterface/MappingServlet
  </code></pre>