authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Healthcheck endpoints returning 404

Open wuast94 opened this issue 1 year ago • 7 comments

Describe the bug

wget http://proxy_authentik-server:9000/-/health/live/
Connecting to proxy_authentik-server:9000 (10.0.17.8:9000)
wget: server returned error: HTTP/1.1 404 Not Found

Expected behavior get the 204 response

Version and Deployment (please complete the following information):

  • authentik version: 2024.4.2
  • Deployment: swarm

Additional context When i query the full https domain through my proxy i get the 204.

i want to monitor authentik using uptimekuma and dont want to have the proxy in beetween for healthchecks

wuast94 avatar Jun 04 '24 16:06 wuast94

+1

rpoovey avatar Jun 07 '24 19:06 rpoovey

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

not stale

wuast94 avatar Aug 08 '24 17:08 wuast94

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

not stale

wuast94 avatar Oct 08 '24 06:10 wuast94

The only cause for this I can imagine is that your internal hostname contains an underscore, which docker compose v1 did (and I assume swarm inherits from that), which is not actually a valid DNS character and as such django throws an error. However that should result in a 500 or similar response.

BeryJu avatar Oct 08 '24 14:10 BeryJu

that sounds logical but nothing i can do about sadly

wuast94 avatar Oct 08 '24 14:10 wuast94

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.