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

HTTP健康检查过数据不正确 #244

Open
zhanglaotang2020 opened this issue Apr 2, 2021 · 1 comment
Open

HTTP健康检查过数据不正确 #244

zhanglaotang2020 opened this issue Apr 2, 2021 · 1 comment

Comments

@zhanglaotang2020
Copy link

nginx/1.17.9
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --with-http_ssl_module --with-pcre --with-http_stub_status_module --add-module=../nginx_upstream_check_module-master/

健康检查配置监控:
location /upstream_status {
check_status json;

        access_log   off;
    }

配置集群:
upstream test {
server 172.16.74.200:8090 weight=1;
server 172.16.74.200:8100 weight=1;
check interval=1000 rise=2 fall=3 timeout=1000 type=http;
check_keepalive_requests 1000;
check_http_send "HEAD /api/a/b/c/getversion HTTP/1.0\r\n\r\n";
check_http_expect_alive http_2xx http_3xx;
}
在生产场景中,172.16.74.200:8090 节点端口不通,但是返回的json数据正常。
未在其他场景复现

@yaoweibin
Copy link
Owner

后端的响应是怎么样的?

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