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/06/30 14:23:57 UTC

[GitHub] [incubator-apisix-dashboard] wasabihu opened a new issue #290: bug: dashboard ignores admin api and Upstream data

wasabihu opened a new issue #290:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/290


   ### Issue description
   dashboard ignores admin api and Upstream data
   
   **ETCD data**
   主要是 dashboard 的bug , 对比一下etcd 的数据就会发现, 加插件的时候会把某些参数漏掉了, 这里是少了 upstream 参数 。
   ![image](https://user-images.githubusercontent.com/973168/86111960-f5b31a00-baf9-11ea-91cf-5669b4561561.png)
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.3
   * OS: centos7
   
   ### Minimal test code / Steps to reproduce the issue
   1. `curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d '
   {
       "uri": "/healthz",
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "go-consul-test.service.consul:8082": 1
           }
       }
   }'
   `
   2. 用dashboard 为路由加上 限流插件 ( add limit-req plugins )
   3. curl http://127.0.0.1:9080/healthz  , 出现 502
   
   ![image](https://user-images.githubusercontent.com/973168/86111711-ac62ca80-baf9-11ea-81a2-4bad5ad2cc8d.png)
   
   
   reference : https://gist.github.com/moonming/32aed4922ea428db1abfe2edfd730b3a
   


----------------------------------------------------------------
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] [incubator-apisix-dashboard] juzhiyuan commented on issue #290: bug: dashboard ignores admin api and Upstream data

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #290:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/290#issuecomment-657299888


   Hi, please have a try in the new dashboard :) if this issue still occurred, please reopen this one.


----------------------------------------------------------------
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] [incubator-apisix-dashboard] juzhiyuan closed issue #290: bug: dashboard ignores admin api and Upstream data

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


   


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