Yangzcy423911 commented on issue #3225:
URL: https://github.com/apache/apisix/issues/3225#issuecomment-757119354
I test in config set etcd.tls.verify to false , can't connect etcd
this restart apisix appear log
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 log
2021-01-09 12:40:17.264706 I | embed: rejected connection from
"127.0.0.1:44352" (error "remote error: tls: unknown certificate authority",
ServerName "")
apisix config about etcd
etcd:
host: # it's possible to define multiple etcd
hosts addresses of the same etcd cluster.
- "https://127.0.0.1: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
user: "uat_entry" # root username for etcd
password: "123456" # root password for etcd
tls:
verify: false
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]