0

WebApp using ZK hangs after Apache 400 Response

asked 2014-10-20 17:10:45 +0800

ansancle gravatar image ansancle
317 9

We have an intermittent, but serious problem where our webapp will completely hang. The application is webbased with ZK and this does not happen on the desktop, only the ipad. This occurs with IOS 7.X and IOS 8.02 as well as ZK 7.02 and 7.03. A wireshark trace showed the ipad requesting the connection be closed after the apache webserver sent back an HTTP 400, a malformed request error. The ipad (webkit) then sits there waiting for a response which the server can't send since the connection was closed.

Does ZK do anything that would cause the connection to close after a 400 error? Can anyone think of anything else that ZK may be doing that could impact this? It's big problem as client Ipad's are hanging randomly and we have been unable to reproduce this on demand.

Here are the last two requests before it hung :

 POST /oneview/tablet/zkau HTTP/1.1
Host: dhl04
Accept-Language: en-us
ZK-Client-Receive: z_b85-5357=1413486380022
ZK-Client-Start: z_b85-5358=1413486380505
User-Agent: Mozilla/5.0 (iPad; CPU OS 7_1_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D201
ZK-SID: 1761
Accept: */*
Referer: http://dhl04/oneview/tablet/windows/video/DHzBluRayPlayerWindow.zul?pointInstanceId=24003&screenId=22002&userId=4&sourceName=Family+Blu-ray&screenName=Exercise
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
ZK-Client-Complete: z_b85-5357=1413486380022
Connection: keep-alive
Cookie: JSESSIONID=0h519f6qg7PtEWBJRbtSgH6q.undefined; userId=4
Content-Length: 46
Origin: http://dhl04
Accept-Encoding: gzip, deflate

dtid=z_b85&cmd_0=onTimer&opt_0=i&uuid_0=mNvP4a

HTTP/1.1 200 OK
Date: Thu, 16 Oct 2014 19:06:28 GMT
Server: Apache/2.2.22 (Ubuntu)
Pragma: no-cache
Cache-Control: no-store
Expires: -1
ZK-SID: 1761
ZK-Client-Complete: z_b85-5358
Content-Language: en-US
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=5, max=32
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/plain;charset=UTF-8

23
...........V**V....Q*.LQ.263.......
a
..@y.\....
0

POST /oneview/tablet/zkau HTTP/1.1
Host: dhl04
Accept-Language: en-us
ZK-Client-Receive: z_b85-5358=1413486380523
ZK-Client-Start: z_b85-5359=1413486381007
User-Agent: Mozilla/5.0 (iPad; CPU OS 7_1_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D201
ZK-SID: 1762
Accept: */*
Referer: http://dhl04/oneview/tablet/windows/video/DHzBluRayPlayerWindow.zul?pointInstanceId=24003&screenId=22002&userId=4&sourceName=Family+Blu-ray&screenName=Exercise
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
ZK-Client-Complete: z_b85-5358=1413486380523
Connection: keep-alive
Cookie: JSESSIONID=0h519f6qg7PtEWBJRbtSgH6q.undefined; userId=4
Content-Length: 46
Origin: http://dhl04
Accept-Encoding: gzip, deflate

dtid=z_b85&cmd_0=onTimer&opt_0=i&uuid_0=mNvP4a

HTTP/1.1 200 OK
Date: Thu, 16 Oct 2014 19:06:28 GMT
Server: Apache/2.2.22 (Ubuntu)
Pragma: no-cache
Cache-Control: no-store
Expires: -1
ZK-SID: 1762
ZK-Client-Complete: z_b85-5359
Content-Language: en-US
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=5, max=31
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/plain;charset=UTF-8

23
...........V**V....Q*.LQ.263.......
a
...H.E....
0
delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-10-20 17:10:45 +0800

Seen: 13 times

Last updated: Oct 20 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More