You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/01/20 18:56:34 UTC
[GitHub] [apisix] hizzd opened a new issue #3371: bug: etcd.tls.verify not working
hizzd opened a new issue #3371:
URL: https://github.com/apache/apisix/issues/3371
### Issue description
When I enable `auto-tls` in etcd and disable `etcd.tls.verify` in apisix.
It will display error message when starting it: `got malformed version message: "" from etcd`.
after checking the code, I found that it was because the `curl` command did not add the `-k` parameter to skip tls verify.
after I added the `-k` parameter to these three positions, it work.
(I noticed that these three parts in the master branch were modified to use `socket.http` instead of curl. but it doesn't seem to add a parameter to disable tls verify)
https://github.com/apache/apisix/blob/e8dcf3793ca40b30047406ac51a79a500356f67b/apisix/cli/etcd.lua#L136
https://github.com/apache/apisix/blob/e8dcf3793ca40b30047406ac51a79a500356f67b/apisix/cli/etcd.lua#L173-L175
https://github.com/apache/apisix/blob/e8dcf3793ca40b30047406ac51a79a500356f67b/apisix/cli/etcd.lua#L201-L203
### Environment
* apisix version: [docker] apache/apisix:2.2-alpine
* OS: [docker] apache/apisix:2.2-alpine
* OpenResty / Nginx version: [docker] apache/apisix:2.2-alpine
* etcd enabled auto-tls.
* apisix disable etcd.tls.verify.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [apisix] hizzd closed issue #3371: bug: etcd.tls.verify not working
Posted by GitBox <gi...@apache.org>.
hizzd closed issue #3371:
URL: https://github.com/apache/apisix/issues/3371
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [apisix] hizzd commented on issue #3371: bug: etcd.tls.verify not working
Posted by GitBox <gi...@apache.org>.
hizzd commented on issue #3371:
URL: https://github.com/apache/apisix/issues/3371#issuecomment-763866169
https://github.com/apache/apisix/issues/3225#issuecomment-760591745
I noticed this comment, it seems that this issue is repeated
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [apisix] hizzd commented on issue #3371: bug: etcd.tls.verify not working
Posted by GitBox <gi...@apache.org>.
hizzd commented on issue #3371:
URL: https://github.com/apache/apisix/issues/3371#issuecomment-763862726
#3270 #3225
related issues
----------------------------------------------------------------
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:
users@infra.apache.org