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

nginx error log 中出现 [WARN] upsync_timeout #271

Open
itcam opened this issue Nov 12, 2019 · 2 comments
Open

nginx error log 中出现 [WARN] upsync_timeout #271

itcam opened this issue Nov 12, 2019 · 2 comments

Comments

@itcam
Copy link

itcam commented Nov 12, 2019

2019/11/12 15:41:23 [error] 17824#17824: [WARN] upsync_timeout: timed out reading upsync_server: 192.168.120.80:8500
2019/11/12 15:41:24 [error] 17817#17817: [WARN] upsync_timeout: timed out reading upsync_server: 192.168.120.80:8500
2019/11/12 15:41:24 [error] 17822#17822: [WARN] upsync_timeout: timed out reading upsync_server: 192.168.120.80:8500
2019/11/12 15:41:25 [error] 17820#17820: [WARN] upsync_timeout: timed out reading upsync_server: 192.168.120.80:8500

nginx 超时时间设置
proxy_connect_timeout 600s;
proxy_send_timeout 600s;
proxy_read_timeout 600s;

upstream配置
upsync 192.168.120.80:8500/v1/kv/upstreams/gkid-backend-stage/ upsync_timeout=1m
upsync_interval=2000ms upsync_type=consul strong_dependency=off;

NGINX 错误日志中每隔一段时间出现 这种timeout的 日志 ,是正常的情况吗? 还是哪里配置问题?

@hello-llc
Copy link

请问解决了吗?

@123longwei
Copy link

你好,请问解决了吗?我现在也是这个报错?不知道什么原因

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

3 participants