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 2020/11/16 08:56:41 UTC

[GitHub] [apisix-dashboard] backnero opened a new issue #813: can't connect etcd

backnero opened a new issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [*] Bug
   - [ ] Requirements
   - [ ] Feature or performance improvement
   - [ ] Other
   
   ___
   ### Question
   - What do you want to know?
   ```
   {"level":"warn","ts":"2020-11-16T08:51:20.064Z","caller":"clientv3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"endpoint://client-15ecf14a-d558-4821-94e2-9d034dd7a564/gateway-etcd.default.svc.cluster.local:2379","attempt":0,"error":"rpc error: code = Unimplemented desc = Not Found: HTTP status code 404; transport: received the unexpected content-type \"text/plain; charset=utf-8\""}
   panic: etcd get failed: rpc error: code = Unimplemented desc = Not Found: HTTP status code 404; transport: received the unexpected content-type "text/plain; charset=utf-8"
   goroutine 1 [running]:
   main.main()
   /usr/local/apisix-dashboard/api/main.go:40 +0x530
   ```
   
   ```
       conf:
         listen:
           host: 0.0.0.0
           port: 8080
         etcd:
           endpoints:
             - gateway-etcd.default.svc.cluster.local:2379
       authentication:
         secret: 
           secret
         expire_time: 3600
         users:
           - username: admin
             password: admin
   ```
   ___
   ### Bug
   - Which version of Apache APISIX Dashboard, OS, and Browser?
   APISIX 2.0 CENTOS7 DOCKER
   DASHBOARD 2.0 CHROME
   ETCD 3.4.9
   - What happened?
   If possible, provide a way to reproduce the error.
   
   ___
   ### Requirements or improvement
   - Please describe your requirements or improvement suggestions.
   


----------------------------------------------------------------
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-dashboard] backnero commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728656565


   In the rancher2.4 +K8S environment, success can be achieved by configuring the pod ip. The disadvantage is that when the ip changes, you need to modify the configuration and redeploy the dashboard.
    In the environment of rancher2.4+k8s+istio, it is not directly accessible through pod ip. I wonder if it is similar to the apisix.yaml configuration in the apisix project. You need to set dns or leave it blank to read from the system


----------------------------------------------------------------
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-dashboard] ziyou434 commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
ziyou434 commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728517186


   you should try service's cluster IP .
   I did this successfully.


----------------------------------------------------------------
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-dashboard] backnero commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728629844


   
   I still get an error using the cluster ip


----------------------------------------------------------------
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-dashboard] nic-chen edited a comment on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
nic-chen edited a comment on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728727929


   > Accessible through other pods
   
   could you please use pod ip to start dashboard, so that you could try access(using etcdctl) to etcd from the pod of the dashboard. thanks.


----------------------------------------------------------------
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-dashboard] nic-chen commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728727929


   > Accessible through other pods
   
   could you please use pod ip to start dashboard, so that you could try access(using etcdctl) to etcd from the pod of the dashboard.


----------------------------------------------------------------
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-dashboard] nic-chen commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728663602


   @backnero 
   
   Could you try to access `gateway-etcd.default.svc.cluster.local:2379` or the cluster ip from the pod of the dashboard?
   


----------------------------------------------------------------
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-dashboard] LiteSun commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
LiteSun commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-727853985


   cc @idbeta


----------------------------------------------------------------
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-dashboard] ziyou434 commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
ziyou434 commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728632034


   I think you can search  "retrying of unary invoker failed", there are many problems about this on internet. 


----------------------------------------------------------------
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-dashboard] idbeta commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
idbeta commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728654655


   @nic-chen could you help answer this question when you are free?


----------------------------------------------------------------
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-dashboard] juzhiyuan closed issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813


   


----------------------------------------------------------------
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-dashboard] backnero commented on issue #813: can't connect etcd

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #813:
URL: https://github.com/apache/apisix-dashboard/issues/813#issuecomment-728707258


   Accessible through other pods


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