apache / apisix-dashboard

Dashboard for Apache APISIX
https://apisix.apache.org/
Apache License 2.0
981 stars 520 forks source link

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

Open liangpeihuahua opened 5 months ago

liangpeihuahua commented 5 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 5 months ago

could you use english to describe your issue, thanks.

hanqingwu commented 5 months ago

Can you try to press F12 to open debug in browser for check network package response is correct ?

liangpeihuahua commented 5 months ago

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

liangpeihuahua commented 5 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 5 months ago

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

hanqingwu commented 5 months ago

I have test in apache/apisix-dashboard:3.0.0-alpine , but can't reproduce .

FremonShare commented 4 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 4 months ago

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

liangpeihuahua commented 4 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 4 months ago

Can anyone help me check it out online?

libizhen007 commented 4 months ago

use docker pull bitnami/apisix-dashboard