-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Comments
etcd 3.4.0 |
apisix2.2 |
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
[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.
The text was updated successfully, but these errors were encountered: