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

apisix连接外部tls etcd集群报错 #3270

Closed
Terry-Yi opened this issue Jan 13, 2021 · 6 comments
Closed

apisix连接外部tls etcd集群报错 #3270

Terry-Yi opened this issue Jan 13, 2021 · 6 comments

Comments

@Terry-Yi
Copy link

[root@dev-apisix ~]# apisix restart
nginx: [error] open() "/usr/local/apisix/logs/nginx.pid" failed (2: No such file or directory)
got malformed version message: "" from etcd

配置如下:
etcd:
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
- "https://10.10.100.71:2379" # multiple etcd address, if your etcd cluster enables TLS, please use https scheme,
- "https://10.10.100.72:2379" # multiple etcd address, if your etcd cluster enables TLS, please use https scheme,
- "https://10.10.100.73:2379" # multiple etcd address, if your etcd cluster enables TLS, please use https scheme,
# e.g. "https://127.0.0.1:2379".
prefix: "/apisix" # apisix configurations prefix
timeout: 30 # 30 seconds

resync_delay: 5 # when sync failed and a rest is needed, resync after the configured seconds plus 50% random jitter

user: root # root username for etcd

password: 5tHkHhYkjr6cQY # root password for etcd

tls:
verify: true # whether to verify the etcd endpoint certificate when setup a TLS connection to etcd,
# the default value is true, e.g. the certificate will be verified strictly.

@Terry-Yi
Copy link
Author

etcd 3.4.0

@Terry-Yi
Copy link
Author

apisix2.2

@Firstsawyou
Copy link
Contributor

Firstsawyou commented Jan 13, 2021

@membphis @tokers Please help look at this problem.

@membphis
Copy link
Member

https://github.com/apache/apisix/search?q=got+malformed+version+message&type=issues

@Firstsawyou @dw-3 you can search this question in the issue, then you'll find the reason.

@spacewander
Copy link
Member

Same as #3225
And see #3283

@Firstsawyou
Copy link
Contributor

https://github.com/apache/apisix/search?q=got+malformed+version+message&type=issues

@Firstsawyou @dw-3 you can search this question in the issue, then you'll find the reason.

Ok.

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

4 participants