https://bz.apache.org/bugzilla/show_bug.cgi?id=63257
Bug ID: 63257 Summary: AJP connector can't handle greater than 8192 bytes Product: Tomcat 9 Version: 9.0.16 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: jeremy.sc...@wisc.edu Target Milestone: ----- Environment: Tomcat 9.0.16 running under OpenJDK 11.0.2+9 on Centos 7 fronted with Apache/2.4.6, traffic sent with AJP Proxy over localhost. (Also tested Tomcat 8.5.38... no issue there.) In server.xml an AJP/1.3 connector is defined with parameter: packetSize="65536" In Apache httpd.conf for mod_proxy_ajp: ProxyIOBufferSize 65536 ProxyPass /app ajp://127.0.0.1:4007/app retry=3 In catalina.log: 3/11/2019 4:32:08 PM[Mon Mar 11 16:32:08.795340 2019] [proxy_ajp:error] [pid 75:tid 139745006905088] AH01081: ajp_msg_check_header() incoming message is too big 17748, max is 8192 3/11/2019 4:32:08 PM[Mon Mar 11 16:32:08.795356 2019] [proxy_ajp:error] [pid 75:tid 139745006905088] AH01031: ajp_ilink_receive() received bad header In httpd.log: [Mon Mar 11 11:16:42.367789 2019] [proxy:error] [pid 77:tid 140196322473728] (111)Connection refused: AH00957: AJP: attempt to connect to 127.0.0.1:4007 (127.0.0.1) failed [Mon Mar 11 11:16:42.367892 2019] [proxy:error] [pid 77:tid 140196322473728] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 3s [Mon Mar 11 11:16:42.367905 2019] [proxy_ajp:error] [pid 77:tid 140196322473728] [client x.x.x.x:44946] AH00896: failed to make connection to backend: 127.0.0.1 [Mon Mar 11 14:59:40.048412 2019] [proxy_ajp:error] [pid 76:tid 140195995158272] [client 128.104.17.95:4256] AH00992: ajp_read_header: ajp_ilink_receive failed, referer: ... [Mon Mar 11 14:59:40.048446 2019] [proxy_ajp:error] [pid 76:tid 140195995158272] (120007)APR does not understand this error code: [client x.x.x.x:4256] AH00893: dialog to 127.0.0.1:4007 (127.0.0.1) failed, referer: ... Does not seem to matter if we remove ProxyIOBufferSize from Apache (and letting it default to 8192) Small app requests under 8192 bytes work, ones over do not. Again, not an issue in Tomcat 8.5.38. -- 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