Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have created a new consumer by AdminAPI, but it is not visible in consumers list. #2279

Open
iSuperCoder opened this issue Jan 4, 2022 · 7 comments
Labels
bug Something isn't working checking wait for update 1. Solution 2. Due date 3. Assignees if needed

Comments

@iSuperCoder
Copy link

iSuperCoder commented Jan 4, 2022

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

  1. Go to Consumer page of APISIXDashboard.
  2. 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 -V or openresty -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 iSuperCoder added the bug Something isn't working label Jan 4, 2022
@zaunist
Copy link
Contributor

zaunist commented Jan 5, 2022

@iSuperCoder Thanks for your report, we will check it latter.

@zaunist
Copy link
Contributor

zaunist commented Jan 11, 2022

Hi, @iSuperCoder. Could you please give your dashboard version and apisix version?
I can't reproduce your problem in my machine.

@juzhiyuan juzhiyuan added the wait for update 1. Solution 2. Due date 3. Assignees if needed label Jan 16, 2022
@iSuperCoder
Copy link
Author

@zaunist I have provided information in issue's Environment.

@zaunist
Copy link
Contributor

zaunist commented Jan 18, 2022

@zaunist I have provided information in issue's Environment.

Thanks a lot, I will check it latter.

@zaunist
Copy link
Contributor

zaunist commented Jan 20, 2022

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

image

@xianshun163
Copy link

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.

@zaunist
Copy link
Contributor

zaunist commented Jan 27, 2022

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.

@zaunist zaunist removed their assignment Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working checking wait for update 1. Solution 2. Due date 3. Assignees if needed
Projects
None yet
Development

No branches or pull requests

5 participants