ARTIFACTORY: Why You Might See ajp_read_header: ajp_ilink_receive failed HTTPS Proxy Errors

JFrog Support
2023-01-22 11:07

If you are receiving the following errors:

[DATE] [error] ajp_read_header: ajp_ilink_receive failed

[DATE] [error] (120006)APR does not understand this error code: proxy: read response failed from [::1]:8019 (localhost)


You've probably got a Tomcat and/or Apache configurations-related problem.
As Tomcat documents HERE, when configuring your connection, the packetSize (which sets your maximum AJP packet size in bytes) needs to be equal to the max_packet_size that's configured for mod_jk. Misconfiguration may lead to data loss.

Another example case, featuring similar errors is available HERE.