[Edit, addition]: Looks like this could be caused by an attack attempt. But not sure how it can be avoided?
https://www.mail-archive.com/[email protected]/msg57219.html
I have an Ubuntu server with apache2. mod_proxy is forwarding requests to a java web server on a local port
ProxyPass / http://localhost:9003/ retry=0
Yesterday I suddenly started seeing errors. Sometimes there seems to be an error from the perspective of apache mod_proxy. The default "error" page is shown instead of the data from the backend server. Apache error log:
[Mon Jan 31 08:16:09.800927 2022] [proxy:error] [pid 1061:tid 140673390929664] (13)Permission denied: AH02454: HTTP: attempt to connect to Unix domain socket /var/run/apache2/ (localhost) failed
[Mon Jan 31 08:16:09.801876 2022] [proxy:error] [pid 1061:tid 140673390929664] AH00959: ap_proxy_connect_backend disabling worker for (localhost) for 0s
This started suddenly, with no known changes or updates on the machine. It is shifting all the time. Working for some time, then not working for some time etc., with seemingly no pattern.
There is no load on the machine, and no errors or noteworthy output from the java server at all.
Any ideas?