Skip to content
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

This module appears to break the "backup" upstream functionality #7

Closed
adamdamico opened this issue Jun 2, 2011 · 1 comment
Closed

Comments

@adamdamico
Copy link

Hello,

I have patched the 0.8.54 SRPM from EPEL with this module and run some tests. When I specify a health check according to the documentation, and also specify one of my upstreams as a "backup," the backup never kicks in. At the point where both of the non-backup upstreams are down, any request results in error 502 and the backup is untouched.

I have tried both a check_http_send and a tcp health check. Commenting out the health check directives allows the backup upstream to function normally.

I was really hoping this would work. My goal here is to have deep health checking for my normal upstreams, and also have a degraded-mode light-weight upstream as a last resort.

Any clue why this might be occurring?

@yaoweibin
Copy link
Owner

Hi Adam,

That's my fault. It's a bug. I have fixed it in the latest revision. The
bug appears in the patch file. Please add the patch again.

Thanks very much for this report.

On 2011-6-2 8:41, adamdamico wrote:

Hello,

I have patched the 0.8.54 SRPM from EPEL with this module and run some tests. When I specify a health check according to the documentation, and also specify one of my upstreams as a "backup," the backup never kicks in. At the point where both of the non-backup upstreams are down, any request results in error 502 and the backup is untouched.

I have tried both a check_http_send and a tcp health check. Commenting out the health check directives allows the backup upstream to function normally.

I was really hoping this would work. My goal here is to have deep health checking for my normal upstreams, and also have a degraded-mode light-weight upstream as a last resort.

Any clue why this might be occurring?

Weibin Yao

rq0net pushed a commit to rq0net/nginx_upstream_check_module that referenced this issue Dec 9, 2020
check never again when connect failure occurs
ngarratt pushed a commit to ngarratt/nginx_upstream_check_module that referenced this issue Jul 5, 2023
…_support_for_ssl_healthchecks

SNI support for SSL HealthChecks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants