apache / apisix-dashboard

Dashboard for Apache APISIX
https://apisix.apache.org/
Apache License 2.0
1.01k stars 527 forks source link

bug:在dashboard 里更改路由或者添加路由无法更改 #2941

Open liangpeihuahua opened 7 months ago

liangpeihuahua commented 7 months ago

Current Behavior

  1. 在dashboard 里修改路由,增加路由,删除路由都无任何的反应
  2. 甚至我直接在etcd里面修改路由,但是dashboard 也是没有任何的反应

Expected Behavior

正常修改路由

Error Logs

  1. 修改路由 image
  2. 页面显示修改成功 image
  3. 实际上没有任何改变 image
  4. 直接在etcd上面查询数据 这条路由也是没有被下线的

Steps to Reproduce

  1. 修改路由 image
  2. 页面显示修改成功 image
  3. 实际上没有任何改变 image
  4. 直接在etcd上面查询数据 这条路由也是没有被下线的

Environment

shreemaan-abhishek commented 7 months ago

could you use english to describe your issue, thanks.

liangpeihuahua commented 7 months ago

The return packet is correct but the page display is wrong image

liangpeihuahua commented 7 months ago

I went directly to etcd and modified the route 429261488956376168, but there was still no change in the dashboard. image image

liangpeihuahua commented 7 months ago

And I have tried restarting all services, but the result is still the same.

FremonShare commented 7 months ago

hi, bro, I also encountered the same problem. Using the admin-api to modify in the command line is effective, and then making modifications and deletions in the dashboard is useless. This is a bug of the platform (I always thought it was where I configured something wrongly and spent a long time dealing with it). I initially used the latest apache/apisix-dashboard:latest image, which has a bug, and change to use this apache/apisix-dashboard:2.13-alpine image .The issue was resolved. you can try it . 20240416160247

step

  1. stop previous apisix-dashboard container : docker stop containerId
  2. delete apisix-dashboard container : docker rm containerId
  3. edit yml : use this apache/apisix-dashboard:2.13-alpine image in docker-compose.yml like picture
  4. delete previous apisix-dashboard image: docker rmi -f apache/apisix-dashboard
  5. reload : docker-compose -p docker-apisix up -d
liangpeihuahua commented 7 months ago

Mine was fine when I first installed it, but after using it for a while, this problem suddenly appeared.

liangpeihuahua commented 7 months ago

I changed the image to apache/apisix-dashboard:2.13-alpine. I can actually edit routes, but there are more than 60 routing entries less than those stored in etcd.

liangpeihuahua commented 7 months ago

Can anyone help me check it out online?

libizhen007 commented 6 months ago

use docker pull bitnami/apisix-dashboard

1327614618 commented 3 weeks ago

感谢感谢

hi, bro,我也遇到了同样的问题,使用admin-api在命令行修改有效,然后在dashboard里面修改删除都没用,这个是平台的bug(一直以为是哪里配置错了,搞了好久才搞定),一开始用的是最新的apache/apisix-dashboard:latest镜像,有bug,改用这个apache/apisix-dashboard:2.13-alpine镜像,问题解决,你可以试试。 20240416160247

  1. 停止之前的 apisix-dashboard 容器: docker stop containerId
  2. 删除 apisix-dashboard 容器:docker rm containerId
  3. 编辑 yml :在 docker-compose.yml 中使用此 apache/apisix-dashboard:2.13-alpine 图像,如图所示
  4. 删除之前的 apisix-dashboard 图像: docker rmi -f apache/apisix-dashboard
  5. 重新加载: docker-compose -p docker-apisix up -d
1327614618 commented 3 weeks ago

我已经在 apache/apisix-dashboard:3.0.0-alpine 中进行了测试,但无法重置。

我也遇到了这个问题,具体是使用docker部署的时候