Tomcat – mod_proxy_ajp (70007)The timeout specified has expired: ajp_ilink_receive() can’t receive header

apache-2.2mod-proxy-ajptimeouttomcat

I am using mod_proxy_ajp with Tomcat and I receive the following error:

(70007)The timeout specified has expired: ajp_ilink_receive() can't
receive header

How do I fix this?

Best Answer

I had the same problem and solved it by setting the connection timeout.

My original configuration was:

ProxyPass / ajp://localhost:8009/

After adding the 'timeout' parameter:

ProxyPass / ajp://localhost:8009/ timeout=600

You could follow these links to get more information and other examples: