-
Notifications
You must be signed in to change notification settings - Fork 392
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
upsync_consul_parse_init: recv upstream "test" error; http_status: 504 #235
Comments
consul server 响应超时,请检查consul server 服务. |
我从consul里是可以正常进行配置的,这个超时指的是哪里引起的 |
估计是nginx不能连接consul的端口。 |
Is there a firewall? |
没有防火墙,再nginx所在的主机可以使用curl访问consul集群 |
Paste your full config, also enable debug and post the debug log. |
这个问题解决了,是因为使用了七层SLB,在SLB上的连接超时了 |
@mjwtc0722 我是upsync ——》阿里云SLB(HTTP)——》 nginx ——》3台consul server 也会出现 上面这种 504的错误,是需要修改SLB为 4层 即可解决吗? |
我也是同样的问题,我配置的是etcd,为啥去连接consul呢 |
你好,你解决了吗 |
2018/10/27 13:04:41 [error] 26187#0: upsync_consul_parse_init: recv upstream "test" error; http_status: 504
2018/10/27 13:04:41 [error] 26187#0: upsync_consul_parse_init: recv upstream "test2" error; http_status: 504
2018/10/27 13:04:41 [error] 26187#0: upsync_consul_parse_init: recv upstream "test3" error; http_status: 504
2018/10/27 13:04:41 [error] 26187#0: upsync_consul_parse_init: recv upstream "test4" error; http_status: 504
The text was updated successfully, but these errors were encountered: