Open hello-llc opened 3 years ago
![Uploading image.png…]()
[error] 23094#0: upsync_check_key: invalid ip in /bigdatatest2:21050 [error] 23094#0: upsync_replace_peers: no servers to replace "consul_test" [error] 23094#0: upsync_process: upstream del/replace peers failed [error] 23094#0: [WARN] upsync_timeout: timed out reading upsync_server: 127.0.0.1:8500 [error] 23094#0: [WARN] upsync_timeout: timed out reading upsync_server: 127.0.0.1:8500
现在报错信息变成这样了
这是consul日志
Hi: 这是报错信息
配置信息是这样的: upstream consul_test { server bigdatatest1:21050;# 这个固定的,不用理 upsync 127.0.0.1:8500/v1/kv/upstreams/consul_test/ upsync_timeout=3000ms upsync_interval=500ms upsync_type=consul strong_dependency=off; upsync_dump_path /usr/local/nginx/conf/upsync_test.conf; include /usr/local/nginx/conf/upsync_test.conf; } server{ listen 21052 so_keepalive=on; proxy_connect_timeout 10; proxy_timeout 900; proxy_pass consul_test; }
什么原因呢?
感谢!