Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datadog health check monitors failing #6583

Open
hackartisan opened this issue Dec 20, 2024 · 0 comments · May be fixed by #6584
Open

Datadog health check monitors failing #6583

hackartisan opened this issue Dec 20, 2024 · 0 comments · May be fixed by #6584

Comments

@hackartisan
Copy link
Member

hackartisan commented Dec 20, 2024

The health check is reporting OK but datadog reports failures, and alerts are triggered. See:

The issue appears to be that the checks go to localhost over http, and get a 301 redirect:

$ curl -i localhost/health.json
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
Status: 301 Moved Permanently
Location: https://localhost/health.json
Date: Fri, 20 Dec 2024 20:46:29 GMT
X-Powered-By: Phusion Passenger(R) 6.0.24
Server: nginx/1.18.0 + Phusion Passenger(R) 6.0.24

On other applications' VMs, there's no redirect.

The issue was solved by #6581 but that caused login to fail so it was reverted.

Sudden priority justification

Currently our monitoring is incorrectly triggered so we won't know when an actual problem occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant