https://bz.apache.org/bugzilla/show_bug.cgi?id=63904

            Bug ID: 63904
           Summary: Apache http (with mod_jk to tomcat) randomly return
                    empty response
           Product: Tomcat Connectors
           Version: 1.2.43
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_jk
          Assignee: dev@tomcat.apache.org
          Reporter: s...@cpssoft.com
  Target Milestone: ---

Created attachment 36870
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36870&action=edit
Logs and Settings

I have a problem where our Apache/2.4.29 server randomly returning empty
response. The Apache is used as load balancer with mod_jk (mod_jk/1.2.43
OpenSSL/1.1.0g) to Apache Tomcat 8.0.35. Currently we use 8 tomcats behind the
apache http server.

The request from client, sent to apache http server, and successfully processed
by apache tomcat (the data is saved to the database) but it Apache failed to
return the response to the client. The problem occured randomly, without any
pattern. When I open the mod_jk status page, all the tomcats has Err and CE
(See the attachment).

We also see lots of errors on mod_jk logs (see attachment), something like
this:

[Tue Nov 05 06:30:01.110 2019] [4652:140053857666816] [info]
ajp_read_into_msg_buff::jk_ajp_common.c (1553): (accurateb1) receiving data
from client failed. Connection aborted or network problems
[Tue Nov 05 06:30:01.110 2019] [4652:140053857666816] [info]
ajp_service::jk_ajp_common.c (2778): (accurateb1) sending request to tomcat
failed (unrecoverable), because of client read error (attempt=1)
[Tue Nov 05 06:30:01.114 2019] [4652:140053857666816] [info]
service::jk_lb_worker.c (1590): service failed, worker accurateb1 is in local
error state
[Tue Nov 05 06:30:01.114 2019] [4652:140053857666816] [info]
service::jk_lb_worker.c (1609): unrecoverable error 400, request failed. Client
failed in the middle of request, we can't recover to another instance.
[Tue Nov 05 06:30:01.114 2019] [4652:140053857666816] [info]
jk_handler::mod_jk.c (2988): Aborting connection for worker=accurate


[Tue Nov 05 07:18:53.668 2019] [4652:140055813166848] [info]
ajp_process_callback::jk_ajp_common.c (2077): (accuratec4) Writing to client
aborted or client network problems
[Tue Nov 05 07:18:53.668 2019] [4652:140055813166848] [info]
ajp_service::jk_ajp_common.c (2778): (accuratec4) sending request to tomcat
failed (unrecoverable), because of client write error (attempt=1)
[Tue Nov 05 07:18:53.668 2019] [4652:140055813166848] [info]
service::jk_lb_worker.c (1590): service failed, worker accuratec4 is in local
error state
[Tue Nov 05 07:18:53.668 2019] [4652:140055813166848] [info]
service::jk_lb_worker.c (1609): unrecoverable error 200, request failed. Client
failed in the middle of request, we can't recover to another instance.
[Tue Nov 05 07:18:53.668 2019] [4652:140055813166848] [info]
jk_handler::mod_jk.c (2988): Aborting connection for worker=accurate

Im attaching the configuration settings:
- mod_jk.properties
- one of tomcat server.xml
- apache mod_jk.conf
- mod_jk error logs
- sample failed http request (with screenshot of failure response, and detail
request)

Is this miss configuration or bug?

THanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to