We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
openresty版本:openresty-1.25.3.2 nacos:2.4.3
upstream 配置: upstream test { nacos_subscribe_service service_name=test group=DEFAULT_GROUP weight=1 max_fails=1 fail_timeout=10s; }
location /admin/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://test/; }
启动3个服务,访问请求,发现一直只请求第一个服务,没有进行轮询请求
The text was updated successfully, but these errors were encountered:
确保 服务是健康状态,并且 未被下线。不健康或者被下线的服务会被 忽略掉
Sorry, something went wrong.
服务都是在线状态,下线后会切换在其它正常的服务,但是没进行轮询,我还是测试了openresty-1.21.4.4、openresty-1.19.9.2 都不会触发请求轮询,还是说不支持,我使用操作系统是centos7.9的不会由于系统的影响吧
实现实现的是轮询,每个版本都是一样的。可能是个bug,尝试把权重调大试试,我周末再复现一下。
No branches or pull requests
openresty版本:openresty-1.25.3.2
nacos:2.4.3
upstream 配置:
upstream test {
nacos_subscribe_service service_name=test group=DEFAULT_GROUP weight=1 max_fails=1 fail_timeout=10s;
}
location /admin/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://test/;
}
启动3个服务,访问请求,发现一直只请求第一个服务,没有进行轮询请求
The text was updated successfully, but these errors were encountered: