You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to version >2.12.0, Umami will always respond to a request to the root URL with a 307 Temporary Redirect HTTP response. Requests to other pages like /dashboard, /websites, ... will return 200 OK instead.
Expected behaviour
Umami should respond with 200 OK to a request for the root URL. I noticed this issue because I have Uptime Kuma checking my service and after the upgrade, it failed the check since I'm only counting 2XX responses as healthy responses.
Steps to reproduce
Spin up Umami with a version >2.12.0.
Open the DevTools in the browser and open the Network tab.
Navigate to the root URL of the Umami instance. Local HTTP or Remote HTTPS will return the same result.
Examine the first response in the DevTools which returns the initial HTML. It will have the status code 307.
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
2.12.1
Which browser are you using? (if relevant)
Chrome, also tested in Postman
How are you deploying your application? (if relevant)
Docker through Reverse Proxy and Cloudflare
The text was updated successfully, but these errors were encountered:
Redirect is the correct code. When you go to the root, it either redirects you to /dashboard or /login depending on your logged in status. There is no page at the root. If you want to simply want to check uptime, send a request to /api/heartbeat
Thanks! It now works with calling /api/heartbeat. But the 307 error described above only appeared here with the current version. (Uptime Kuma / updown.io)
Describe the Bug
Current behaviour
After upgrading to version >2.12.0, Umami will always respond to a request to the root URL with a 307 Temporary Redirect HTTP response. Requests to other pages like /dashboard, /websites, ... will return 200 OK instead.
Expected behaviour
Umami should respond with 200 OK to a request for the root URL. I noticed this issue because I have Uptime Kuma checking my service and after the upgrade, it failed the check since I'm only counting 2XX responses as healthy responses.
Steps to reproduce
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
2.12.1
Which browser are you using? (if relevant)
Chrome, also tested in Postman
How are you deploying your application? (if relevant)
Docker through Reverse Proxy and Cloudflare
The text was updated successfully, but these errors were encountered: