idbeta
idbeta
Please forgive me, I don’t understand the question very well, can you provide more information?
ok, I try to reproduce in my environment.
@tiger333777 I have reproduced this problem locally and it is being solved, thanks for the feedback.
@juzhiyuan Aliyun and Self make , They all can reproduce the problem.
> is bug of manager API or apisix? This is a bug of manager API.
> Does this issue duplicate with #697 ? @juzhiyuan @idbeta I am sorry for late reply, this is new~
the etcd data after use dashboard2.0 set jwt-auth: ``` /apisix/consumers/test_hj {"id":"test_hj","create_time":1604724760,"update_time":1604724760,"username":"test_hj", "plugins":{"jwt-auth":{"algorithm":"HS256","base64_secret":false,"key":"dd","secret":"my-secret-key"}}} /apisix/routes/327483191025729827 {"id":"327483191025729827","create_time":1604724792,"update_time":1604724792,"uris":["/"], "name":"test_hj","methods":["GET","HEAD","POST","PUT","DELETE","OPTIONS","PATCH"],"vars":[], "plugins":{"jwt-auth":{}},"upstream":{"nodes":[{"host":"139.217.190.60","port":80,"weight":1}],"timeout":{"connect":6000,"read":6000,"send":6000},"type":"roundrobin"}} ``` the etcd data after use admin API set jwt-auth: ``` /apisix/consumers/user123 {"username":"user123","plugins":{"jwt-auth":{"exp":86400,"algorithm":"HS256","secret":"my-secret-key","key":"dd"}}} /apisix/routes/1...
@membphis I create a consumer again, and it returns 500 when I generate JWT credential, what I do was exactly the same as before. etcd data ``` /apisix/consumers/test_hj {"id":"test_hj","create_time":1604737871,"update_time":1604737871,"username":"test_hj","plugins":{"jwt-auth":{"algorithm":"HS256","base64_secret":false,"key":"dd","secret":"my-secret-key"}}} ```...
> @idbeta please confirm them, if that is not a bug, we can close this issue. > > [#716 (comment)](https://github.com/apache/apisix-dashboard/issues/716#issuecomment-723417617) I can't reproduce 404 now. So you can close it.
@membphis request ``` Request URL: http://127.0.0.1:8080/apisix/admin/consumers/ Request Method: DELETE Status Code: 200 OK ``` response 