-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
We are using hybris application that internally uses ZK framework (version 8.0). Apache is the proxy server before hybris and communication between Apache and hybris is done using AJP. We are using modproxyajp module for communication.
We are seeing the following errors in the logs of Apache: [Wed Jul 19 16:32:25.898151 2017] [proxy_ajp:error] [pid 38976:tid 140482065696512] [client 10.129.80.151:63250] AH00992: ajp_read_header: ajp_ilink_receive failed,
[Wed Jul 19 16:32:25.898177 2017] [proxy_ajp:error] [pid 38976:tid 140482065696512] (70007)The timeout specified has expired: [client 10.129.80.151:63250] AH00878: read response failed from 10.129.80.152:8009 (10.129.80.152),
The requests are getting timed out and the request which is getting time out is as follows:
10.129.80.151 |- |- |[20/Jul/2017:15:45:48 +0530] |POST /backoffice/zkcomet?dtid=z_io60 HTTP/1.1 |200 |- |67.101 |h |Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
10.129.80.151 |- |- |[20/Jul/2017:15:45:48 +0530] |POST /backoffice/zkau HTTP/1.1 |200 |2820 |73.200 | |Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
/zkcomet is taking 67 seconds and as a result tomcat application server responds back with 500 leading to server being unavailable to serve the request. Is this a known issue with ZK? I read zk 6.5.1 has issues with apache mod proxy but ours an upper version. Please help as we don't seem to get around with this issue.
Thanks in advance. Saurabh
Hi Saurabh,
That sounds like the expected and intended behavior.
"/zkcomet" is a servlet handling long polling comet requests from the client to the server to handle server push responses. If you can't configure longer timeouts at apache level for /zkcomet, you can configure a different ajax timeout and retry limit in your zk.xml. Or configure a PollingServerPush. Which does not rely on comet requests.
Robert
Asked: 2017-07-26 11:53:50 +0800
Seen: 10 times
Last updated: Aug 01 '17
zkspringmvc jar licence is GPL ?
Build web application without any zul files
Custom component that extends Textbox does not fire onChange event
java.lang.NullPointerException to update to zk 8.0.1
"Spring Session" + ZK + "Spring core" @Listen method refresh the screen
zk8 client side binding to a viewmodel command seems not to work
upload event dialog do not open in browser
Notification is not shown inside sticky block
Where can I find documentation (like ZK Developer's Reference) for ZK 8.0.2.2 ?