Error reading from remote server

Hi,

After install a fresh installation on a Raspberry PI:

curl -LO $(curl -s https://api.github.com/repos/chrisss404/check-mk-arm/releases/tags/2.0.0p8 | grep browser_download_url | cut -d '"' -f 4 | grep buster_armhf.deb) 
dpkg -i check-mk-raw-2.0.0p8_0.buster_armhf.deb

And check all services OK:

root@checkmk:~# su - monitor
OMD[monitor]:~$ omd status
mkeventd:       running
rrdcached:      running
npcd:           running
nagios:         running
apache:         running
redis:          running
crontab:        running
-----------------------
Overall state:  running

Appears on browser this:

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request

Reason: Error reading from remote server

Apache/2.4.38 (Raspbian) Server at 10.0.1.16 Port 80

Ports are ok:

root@checkmk:/opt/omd# netstat -putan | grep LISTEN
tcp        0      0 127.0.0.1:5000          0.0.0.0:*               LISTEN      6417/apache2        
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      3973/apache2     

And this is the logs output:

==> /var/log/apache2/access.log <==
10.0.1.52 - - [12/Aug/2021:18:34:36 +0200] "GET /monitor/check_mk/ HTTP/1.1" 502 641 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"

==> /var/log/apache2/error.log <==
[Thu Aug 12 18:36:36.900244 2021] [proxy_http:error] [pid 3978:tid 3035616288] (70007)The timeout specified has expired: [client 10.0.1.52:50800] AH01102: error reading status line from remote server 127.0.0.1:5000
[Thu Aug 12 18:36:36.949951 2021] [proxy:error] [pid 3978:tid 3035616288] [client 10.0.1.52:50800] AH00898: Error reading from remote server returned by /monitor/check_mk/

What’s wrong? Can I check any checkmk log?

Thanks

Hallo,
lokal using 127.0.0.1 on the pi or remote from a client?
Ralf

using the browser (remote)

Hallo,
is a proxy server configured?
Ralf

no… all by default. only execute the dpkg command and check the status via omd.
Update the post with the output logs

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.