smileby commented on issue #10203:
URL: https://github.com/apache/apisix/issues/10203#issuecomment-1956412667

   @Revolyssup  @monkeyDluffy6017  Hi, I also encountered this problem.
   When I called ‘/apisix/admin/routes’ to create a route, an ‘invalid auth 
token’ error occurred.
   
   The error log is as follows:
   ```shell
   2023/12/12 09:33:41 [error] 5675#0: *371176679 [lua] resource.lua:168: 
failed to post route[/routes] to etcd: etcdserver: invalid auth token, client: 
127.0.0.1, server: , request: "POST /apisix/admin/routes HTTP/1.1", host: 
"127.0.0.1:9180"
   2024/01/15 19:14:45 [error] 5679#0: *735722611 [lua] resource.lua:168: 
failed to post route[/routes] to etcd: etcdserver: invalid auth token, client: 
127.0.0.1, server: , request: "POST /apisix/admin/routes HTTP/1.1", host: 
"127.0.0.1:9180"
   2024/01/26 18:02:06 [error] 5679#0: *851524365 [lua] resource.lua:168: 
failed to post route[/routes] to etcd: etcdserver: invalid auth token, client: 
127.0.0.1, server: , request: "POST /apisix/admin/routes HTTP/1.1", host: 
"127.0.0.1:9180"
   ```
   Apart from the above information, there is no more content
   
   environmental information:
   ```shell
   etcd version:  3.5.4     ==> Deploy 3 nodes
   etcd is configured with permission authentication
   APISIX version : 3.2.0   ==>  Deploy 1 node
   ```
   
   I have verified that the supplementary call and retry can be successful. But 
frequent retries bother me. Is there a better way to solve it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to