You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kamly (via GitHub)" <gi...@apache.org> on 2023/05/27 00:01:24 UTC

[GitHub] [apisix] kamly opened a new issue, #9557: request help: etcd tls connect handshake failed #5650

kamly opened a new issue, #9557:
URL: https://github.com/apache/apisix/issues/9557

   ### Description
   
   ## 日志
   
   
   ```
   2023/05/26 23:58:41 [error] 140#140: *857 [lua] config_etcd.lua:628: no healthy etcd endpoint available, next retry after 16s, context: ngx.timer
   2023/05/26 23:58:41 [error] 76#76: *455 [lua] config_etcd.lua:628: no healthy etcd endpoint available, next retry after 16s, context: ngx.timer
   ```
   
   ## 配置
   
   ```
   etcd:
     host:                          # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
       - "https://9.100.99.130:2379"             # multiple etcd address
     prefix: "/wj-gateway-canary"    # configuration prefix in etcd
     timeout: 30    # 30 seconds
     tls:
       cert: "/etcd-ssl/etcd-cert"
       key: "/etcd-ssl/etcd-key"
       verify: true
       sni: "9.100.99.130"
   ```
   
   查了 etcd 的证书,没有找到 sni 相关配置,所以 sni 写了 IP
   
   请问我应该怎样处理?
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] kamly commented on issue #9557: request help: etcd tls connect handshake failed #5650

Posted by "kamly (via GitHub)" <gi...@apache.org>.
kamly commented on issue #9557:
URL: https://github.com/apache/apisix/issues/9557#issuecomment-1565104287

   刚又尝试了把 apisix.etcd.tls.verify 改成 false ,重新启动服务
   
   ```
   2023/05/27 00:26:39 [warn] 443#443: *82 [lua] plugin.lua:252: load_stream(): new plugins: {"syslog":true,"mqtt-proxy":true,"ip-restriction":true,"limit-conn":true}, context: init_worker_by_lua*
   2023/05/27 00:26:39 [warn] 209#209: *51 [lua] plugin.lua:252: load_stream(): new plugins: {"syslog":true,"mqtt-proxy":true,"ip-restriction":true,"limit-conn":true}, context: init_worker_by_lua*
   ```
   
   就没有错误提示 `no healthy etcd endpoint available`


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] kamly closed issue #9557: request help: etcd tls connect handshake failed #5650

Posted by "kamly (via GitHub)" <gi...@apache.org>.
kamly closed issue #9557: request help: etcd tls connect handshake failed #5650
URL: https://github.com/apache/apisix/issues/9557


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org