New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Uptime not accurate #121
Comments
403 Forbidden means not accessible, and if a redirect is needed, the back end should response with 3xx. If there is a redirection done with 403, it means it is done using HTML tags or JavaScript located in the body section of the requested page. Zoraxy only request for header in uptime to reduce resources usage, so the uptime said "Target online but not accessible" is a very accurate description. The issue here is the back end server where you are reverse proxying (airsonic server I guess?) do not follow standards HTTP guideline on how to correctly handle redirects. There is nothing I can do except telling you that these error message and color blocks were from this html file. If you don't like seeing orange blocks, you can change them to other colors. zoraxy/src/web/components/uptime.html Line 166 in 2cdd565
|
Describe the bug
The uptime indicator is inaccurate if there is a redirect to a namespace (for example airsonic server shows "Target online but not accessible" because it returns a 403 before it redirects to the login screen)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Check should follow redirects to make sure the site is up before indicating it is down
Host Environment (please complete the following information):
Additional context
It would be nice to be able to adjust the health check to a specific URL if necessary
The text was updated successfully, but these errors were encountered: