apisix-dashboard
apisix-dashboard copied to clipboard
I have created a new consumer by AdminAPI, but it is not visible in consumers list.
Issue description
Not only CREATE,when I have deleted a consumer, it always exists in consumers list.
Wheather it's AdminAPI or Dashboard, both operation methods have the same problem.
After restarting APISIX Dashboard,consumers list page is correct.
In fact , the created consumer can be used by apisix normally, maybe it's just problem of dashboard.
Expected behavior
1、create consumer: the consumer is visible in the consumers list page. 2、delete consumer: the consumer is not visible in the consumers list page.
How to Reproduce
- Go to Consumer page of APISIXDashboard.
- Create/delete a consumer.
But, this phenomenon does not occur every time.
Screenshots
No response
Environment
- apisix version (cmd:
apisix version): 2.10.0 - OS (cmd:
uname -a):GNU/Linux - OpenResty / Nginx version (cmd:
nginx -Voropenresty -V): openresty/1.19.9.1 - etcd version, if have (cmd: run
etcd --version): 3.4.0 - apisix-dashboard version, if have: 2.9.0
- Browser version, if have: Sarari 15.2 (17612.3.6.1.6)
Additional context
No response
@iSuperCoder Thanks for your report, we will check it latter.
Hi, @iSuperCoder. Could you please give your dashboard version and apisix version? I can't reproduce your problem in my machine.
@zaunist I have provided information in issue's Environment.
@zaunist I have provided information in issue's Environment.
Thanks a lot, I will check it latter.
I'm sorry, I can't reproduce this problem. I created consumer jack with curl to apisix via terminal, the dashboard behaves normally. And I create consumer n0ne with dashboard, then use curl to get consumer list, every thing is normal. Maybe you can reference this https://github.com/apache/apisix-dashboard/issues/2285

some times I have the similar problem。It looks like the connection with the etcd have make some err, and the dashboard can not get the newst data from the etcd.
May I ask how many routes are configured in your apisix? I have not been able to reproduce this problem. I wonder if it requires a lot of data to reproduce.