Health check of managed service returns 404

Hey there,

I’m running a managed service, which works fine.
However, I noticed that the JupyterHub service health check requests the service without a trailing slash, resulting in a 404.
The trailing slash is added in the dropdown menu for the services in the navigation bar. Thus, accessing the service using the UI works without issues.

[W 2025-03-27 13:29:43.964 tornado.access web.py:2348] 404 GET /services/test 0.27ms
[D 2025-03-27 13:29:43.965 JupyterHub utils:309] Server at http://hub:8888/services/test responded with 404

I already tried to add a handler to the service dealing with /services/test or accepting everything with r".*".
However, both attempts result in an infinite redirect loop caused by the service’s OAuth login.

Is this “issue” related to JupyterHub or my managed service?

Thanks in advance.

Best regards,
Paul

I think it’s a bug

1 Like