I’ve been attempting to determine this error for months now. I lately moved to the mod_lsapi (litespeed) php handler and with that the data proven within the error log offers me somewhat extra data to go by.
I’ve plenty of these displaying up within the apache error_log, no particular time, all through the day, day-after-day. All are comparable with the consumer, put up url, content-length, and tmpstackbuf altering. ALL urls within the errors are inside the identical folder on our web site. The scripts on this specific folder are used to speak with our software program put in on different computer systems – consider it as an api of kinds.
[Mon Apr 06 12:13:31.544526 2020] [lsapi:error] [pid 30721:tid
47719003518720] [client 111.111.111.111:50846] [host www.example.com]
Consumer error on sending request(POST /some_app/app/add_example_log.php
HTTP/1.1); uri(/some_app/app/add_example_log.php)
content-length(58821): user_get_body(tmpstackbuf, 16384): learn from
consumer failed
Some historical past and extra data :
-
There may be not an issue with the php script(s) on the url proven. These are quite simple php scripts that take $_POST information, do one thing, then exit with a response. Sure, I’m positive these scripts aren’t the difficulty.
-
I don’t consider mod_lsapi to be the difficulty both because the error nonetheless occurred earlier than once we have been utilizing one other php handler on the server, however the errors offered within the logs didn’t present as a lot data as they do now. We will now see all of those stem from a single folder of php scripts which are solely utilized by our software program to speak with the server (like an api).
My ‘guess’ is the software program, which is sending these posts to our scripts is lacking one thing. Is it potential that there are headers not being despatched which might trigger this to occur, not encoding the ship, and so forth?
So as to add yet one more twist, these errors don’t occur for each request to those scripts both – most hits to those scripts from the identical software program don’t trigger an error like this.
Any perception, recommendations, prospects, and so forth could be very appreciated!