Healtheck errors on startup
-
Hi there,
after upgrading my OpenProject container it is not responding any more.
I upgraded to the current version 14.5.0.The logs shows "Healtheck errors" repeatedly:
Healtheck error: Error: connect ECONNREFUSED 172.18.17.160:8080 Healtheck error got response status 500
I guess there is a no-responding service (the database?).
Any ideas how to fix it?
Best
IGSD -
N nebulon marked this topic as a question on
-
Hi, sorry for coming back to this so late.
The above problem with Open Project still occurs.We use Open Project in the current version 15.3.1. The updates are working, but the dashboard always shows the status "OpenProject - Not responding". Neverless we are able to login and use open project sometimes, sometimes it is offline and/or not responding.
The logfiles constantly show that some healtcheck isn't working:
Feb 27 10:36:10 I, [2025-02-27T09:36:10.024805 #1544] INFO -- : [090a62a6-8ae9-47aa-8e0e-8baf270b5b48] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=4.17 view=0.22 db=1.26 user=3 Feb 27 10:36:20 => Healtheck error got response status 500 Feb 27 10:36:20 I, [2025-02-27T09:36:20.040032 #1531] INFO -- : [81176772-20ed-4656-80f9-2f5f3aec7778] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2740 duration=6.97 view=0.27 db=2.09 user=3 Feb 27 10:36:30 => Healtheck error got response status 500 Feb 27 10:36:30 I, [2025-02-27T09:36:30.040600 #1544] INFO -- : [44c1697a-27a9-48c4-b54c-61624812056f] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=3.68 view=0.21 db=0.91 user=3 Feb 27 10:36:30 I, [2025-02-27T09:36:30.301828 #1544] INFO -- : [83592472-134c-4e5c-8577-d591282013dc] duration=21.74 db=9.34 view=12.40 status=200 method=GET path=/api/v3/notifications params={"pageSize" => "0", "filters" => "[{\"readIAN\":{\"operator\":\"=\",\"values\":[\"f\"]}}]"} host=tickets.<MyDomain>.de user=18 Feb 27 10:36:40 => Healtheck error got response status 500 Feb 27 10:36:40 I, [2025-02-27T09:36:40.038029 #1531] INFO -- : [7b1c6d98-1ddb-49ec-a087-4626207c47e4] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2740 duration=6.08 view=0.41 db=1.44 user=3 Feb 27 10:36:50 => Healtheck error got response status 500 Feb 27 10:36:50 I, [2025-02-27T09:36:50.035657 #1531] INFO -- : [d7eb9334-6f6a-4319-9c66-c71db27f63ba] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=5.01 view=0.24 db=1.78 user=3 Feb 27 10:37:00 => Healtheck error got response status 500 Feb 27 10:37:00 I, [2025-02-27T09:37:00.037373 #1544] INFO -- : [0be91114-0ff6-4df9-9b6d-f8a98a2ebff6] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=3.98 view=0.23 db=1.05 user=3 Feb 27 10:37:10 => Healtheck error got response status 500
I made a fresh install of an open project instance but got a similar result.
The dashboard shows status "Starting ..."Feb 27 10:45:00 I, [2025-02-27T09:45:00.047676 #96] INFO -- : [GoodJob] [96] [GoodJob::Scheduler(queues=* max_threads=20)-thread-2] Executed GoodJob c5d12cf3-aaa2-43fb-972d-f03ff1c49725 Feb 27 10:45:10 => Healtheck error: Error: connect ECONNREFUSED 172.18.19.161:8080 Feb 27 10:45:20 => Healtheck error: Error: connect ECONNREFUSED 172.18.19.161:8080 Feb 27 10:45:30 => Healtheck error: Error: connect ECONNREFUSED 172.18.19.161:8080
The test instance isn't even starting so I think it might be an error of docker/cloudron .
Is checking the IP:Port of the server really the supposed behaviour? -
Hi, sorry for coming back to this so late.
The above problem with Open Project still occurs.We use Open Project in the current version 15.3.1. The updates are working, but the dashboard always shows the status "OpenProject - Not responding". Neverless we are able to login and use open project sometimes, sometimes it is offline and/or not responding.
The logfiles constantly show that some healtcheck isn't working:
Feb 27 10:36:10 I, [2025-02-27T09:36:10.024805 #1544] INFO -- : [090a62a6-8ae9-47aa-8e0e-8baf270b5b48] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=4.17 view=0.22 db=1.26 user=3 Feb 27 10:36:20 => Healtheck error got response status 500 Feb 27 10:36:20 I, [2025-02-27T09:36:20.040032 #1531] INFO -- : [81176772-20ed-4656-80f9-2f5f3aec7778] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2740 duration=6.97 view=0.27 db=2.09 user=3 Feb 27 10:36:30 => Healtheck error got response status 500 Feb 27 10:36:30 I, [2025-02-27T09:36:30.040600 #1544] INFO -- : [44c1697a-27a9-48c4-b54c-61624812056f] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=3.68 view=0.21 db=0.91 user=3 Feb 27 10:36:30 I, [2025-02-27T09:36:30.301828 #1544] INFO -- : [83592472-134c-4e5c-8577-d591282013dc] duration=21.74 db=9.34 view=12.40 status=200 method=GET path=/api/v3/notifications params={"pageSize" => "0", "filters" => "[{\"readIAN\":{\"operator\":\"=\",\"values\":[\"f\"]}}]"} host=tickets.<MyDomain>.de user=18 Feb 27 10:36:40 => Healtheck error got response status 500 Feb 27 10:36:40 I, [2025-02-27T09:36:40.038029 #1531] INFO -- : [7b1c6d98-1ddb-49ec-a087-4626207c47e4] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2740 duration=6.08 view=0.41 db=1.44 user=3 Feb 27 10:36:50 => Healtheck error got response status 500 Feb 27 10:36:50 I, [2025-02-27T09:36:50.035657 #1531] INFO -- : [d7eb9334-6f6a-4319-9c66-c71db27f63ba] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=5.01 view=0.24 db=1.78 user=3 Feb 27 10:37:00 => Healtheck error got response status 500 Feb 27 10:37:00 I, [2025-02-27T09:37:00.037373 #1544] INFO -- : [0be91114-0ff6-4df9-9b6d-f8a98a2ebff6] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=500 allocations=2753 duration=3.98 view=0.23 db=1.05 user=3 Feb 27 10:37:10 => Healtheck error got response status 500
I made a fresh install of an open project instance but got a similar result.
The dashboard shows status "Starting ..."Feb 27 10:45:00 I, [2025-02-27T09:45:00.047676 #96] INFO -- : [GoodJob] [96] [GoodJob::Scheduler(queues=* max_threads=20)-thread-2] Executed GoodJob c5d12cf3-aaa2-43fb-972d-f03ff1c49725 Feb 27 10:45:10 => Healtheck error: Error: connect ECONNREFUSED 172.18.19.161:8080 Feb 27 10:45:20 => Healtheck error: Error: connect ECONNREFUSED 172.18.19.161:8080 Feb 27 10:45:30 => Healtheck error: Error: connect ECONNREFUSED 172.18.19.161:8080
The test instance isn't even starting so I think it might be an error of docker/cloudron .
Is checking the IP:Port of the server really the supposed behaviour?@IGSD the health check code is unable to check the health by querying
curl http://172.18.19.161:8080/health_checks/all
. It is getting a 500 from OP . Do you have any plugin installed or some authentication setting which prevents the app from responding to healthchecks?