API requests for non-existent status pages hang forever #4535
Labels
area:api
concearning the api or automation
area:status-page
Everything related to the status page
bug
Something isn't working
π I have found these related issues/pull requests
No issues appear directly related; https://github.com/louislam/uptime-kuma/issues?q=label%3Aarea%3Astatus-page are related in being about status pages more generally.
π‘οΈ Security Policy
Description
When a query is made to a status page API endpoint for a status page which doesn't exist, the server sends no response.
π Reproduction steps
foobar
does not exist,curl http://uptime/api/status-page/foobar
.π Expected behavior
HTTP 404 would seem logical, since the requested resource doesn't exist. Alternatively,
http://uptime/api/status-page/heartbeat/foobar
returns 200 with an empty list of monitors, which would also be reasonable.π Actual Behavior
Request hangs indefinitely.
π» Uptime-Kuma Version
1.23.11
π» Operating System and Arch
Ubuntu 22.04 x64
π Browser
Curl
π₯οΈ Deployment Environment
Deployed in Docker
π Relevant log output
The text was updated successfully, but these errors were encountered: