zxs-git commented on issue #200:
URL: 
https://github.com/apache/apisix-helm-chart/issues/200#issuecomment-2516400469

   > install apisix-dashboard fail
   > 
   > * kubectl logs -f apisix-1640139056-dashboard-5fd969bb68-8wn54
   > 
   > ```
   > 
   > 
{"level":"warn","ts":"2021-12-22T06:40:48.661Z","caller":"clientv3/retry_interceptor.go:62","msg":"retrying
 of unary invoker 
failed","target":"endpoint://client-b77a05e9-2b2b-499a-8974-faa58ca6f513/apisix-etcd:2379","attempt":0,"error":"rpc
 error: code = DeadlineExceeded desc = latest balancer error: all SubConns are 
in TransientFailure, latest connection error: connection error: desc = 
\"transport: Error while dialing dial tcp: lookup apisix-etcd on 10.96.0.10:53: 
no such host\""}
   > 2021-12-22T06:40:48.662Z   ERROR   storage/etcd.go:147     etcd get 
failed: context deadline exceeded
   > 2021-12-22T06:40:48.662Z   ERROR   store/storehub.go:69    GenericStore 
init error: etcd get failed: context deadline exceeded
   > 2021-12-22T06:40:48.662Z   ERROR   server/store.go:32      init stores 
fail: %!w(*errors.errorString=&{etcd get failed: context deadline exceeded})
   > 2021-12-22T06:40:48.662Z   ERROR   cmd/root.go:99  The Manager API server 
start failed: etcd get failed: context deadline exceeded
   > Error: etcd get failed: context deadline exceeded
   > Usage:
   >   manager-api [flags]
   >   manager-api [command]
   > 
   > Available Commands:
   >   help        Help about any command
   >   install     re-install Apache APISIX Dashboard service
   >   remove      remove Apache APISIX Dashboard service
   >   start       start Apache APISIX Dashboard service
   >   status      inspect the status of Apache APISIX Dashboard service
   >   stop        stop Apache APISIX Dashboard service/program
   >   version     show manager-api version
   > 
   > Flags:
   >   -c, --config string     config file
   >   -f, --force             force start manager-api
   >   -h, --help              help for manager-api
   >   -p, --work-dir string   current work directory (default ".")
   > 
   > Use "manager-api [command] --help" for more information about a command.
   > 
   > etcd get failed: context deadline exceeded
   > ```
   
   我的原因是apisix-bashboard config.yaml配置的原因。
   原本是:
   conf:
     etcd:
       endpoints:          # supports defining multiple etcd host addresses for 
an etcd cluster
         - "192.168.29.91:2379"
   修改为:
   conf:
     etcd:
       endpoints:          # supports defining multiple etcd host addresses for 
an etcd cluster
         - "http://192.168.29.91:2379";
   就正常了。
   参考config link : 
https://gitee.com/guo_xiangxin/apisix-docker/blob/master/example/dashboard_conf/conf.yaml#


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to