-
Notifications
You must be signed in to change notification settings - Fork 200
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] No routing to Upstream Fallback Server #523
Comments
Huh interesting, as I recall I have tested this working a few releases back and never touched it. Will check it out next week to see what is the issue here. |
Ok I found the issue. The issue is that there was a PR that breaks the passive fallback load balancing logic (i.e. only switch to another upstream if the connecting one failed). I guess you guys are expecting it to be active fallback lb (i.e. automatically stop using an upstream when Zoraxy detects it is offline) as both of you screenshot me the uptime monitor. Maybe I can take some time this weekend to implement both and see how it goes. |
Well at least I showed the uptime monitor assuming that whatever mechanism it used there to determine if a upstream server is up would also be used when trying to connect to one, so it would for example first try connecting to the main upstream and if all the active upstreams fail finally use the fall back one if specified. Whether that's through an active or passive fallback wouldn't matter to me. |
Describe the bug
I tried to add an Upstream Fallback Server for my Proxmox Managment UI.
I run a cluster of 2 Proxmox instances, the Managment UI can be reached from both servers.
I want Zoraxy to use the other server if the primary is down, therefor I configured a fallback server as upstream.
However Zoraxy does ignore the fallback upstream server and does show a 521 error on access.
Expected behavior
Zoraxy routes to fallback upstream when the primary upstream is down
Settings
Zoraxy knows that the primary is down
** Version **
Zoraxy v.3.1.6 on Debian amd64 Linux
The text was updated successfully, but these errors were encountered: