5005: docker healthcheck broken for secured installations


What version are you running?


What's the URL of the page containing the problem?

What steps will reproduce the problem?

  1. Install ReviewBoard using the official docker image
  2. Disallow anonymous access under Admin -> Authentication
  3. Run docker ps

What is the expected output? What do you see instead?

The reviewboard container should not be marked as "unhealthy".

What operating system are you using? What browser?


Please provide any additional information below.

The healthcheck is configured here: https://github.com/reviewboard/reviewboard/blob/6cdde1ec10b3affd7feb9c65cfea533df7bb05e0/contrib/docker/Dockerfile#L263
I also notice periodic messages in the reviewboard log output:

WARNING - None - AnonymousUser - /api/info/ - django.request - Unauthorized: /api/info/
#1 splatter3

I noticed this is fixed in 6.x. However, it is still broken in 5.0.6.