MarsOu1995 opened a new issue, #2742:
URL: https://github.com/apache/apisix-dashboard/issues/2742
### Issue description
etcd auth enable.
The etcd watch error will appear in the log one or two days after startup.
### Expected behavior
The following error will appear in the log one or two days after startup.
### How to Reproduce
etcd auth enable.
### Screenshots
2023-02-10T23:55:50.138+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/ssls err: rpc error: code = Unauthenticated desc =
etcdserver: invalid auth token
2023-02-10T23:55:50.138+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: ssl
2023-02-10T23:55:50.139+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/upstreams err: rpc error: code = Unauthenticated desc
= etcdserver: invalid auth token
2023-02-10T23:55:50.139+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: upstream
2023-02-10T23:55:50.141+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/global_rules err: rpc error: code = Unauthenticated
desc = etcdserver: invalid auth token
2023-02-10T23:55:50.141+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: global_rule
2023-02-10T23:55:50.142+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/stream_routes err: rpc error: code = Unauthenticated
desc = etcdserver: invalid auth token
2023-02-10T23:55:50.142+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: stream_route
2023-02-10T23:55:50.143+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/protos err: rpc error: code = Unauthenticated desc =
etcdserver: invalid auth token
2023-02-10T23:55:50.143+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: proto
2023-02-10T23:55:50.144+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/consumers err: rpc error: code = Unauthenticated desc
= etcdserver: invalid auth token
2023-02-10T23:55:50.144+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: consumer
2023-02-10T23:55:50.145+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/services err: rpc error: code = Unauthenticated desc =
etcdserver: invalid auth token
2023-02-10T23:55:50.145+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: service
2023-02-10T23:55:50.146+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/scripts err: rpc error: code = Unauthenticated desc =
etcdserver: invalid auth token
2023-02-10T23:55:50.146+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: script
2023-02-10T23:55:50.147+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/data_plane/server_info err: rpc error: code =
Unauthenticated desc = etcdserver: invalid auth token
2023-02-10T23:55:50.147+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: server_info
2023-02-10T23:55:50.149+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/plugin_configs err: rpc error: code = Unauthenticated
desc = etcdserver: invalid auth token
2023-02-10T23:55:50.149+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: plugin_config
2023-02-10T23:55:50.150+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/system_config err: rpc error: code = Unauthenticated
desc = etcdserver: invalid auth token
2023-02-10T23:55:50.150+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: system_config
2023-02-10T23:55:50.151+0800 ERROR storage/etcd.go:188 etcd watch
error: key: gateway-prod/routes err: rpc error: code = Unauthenticated desc =
etcdserver: invalid auth token
2023-02-10T23:55:50.151+0800 ERROR store/store.go:364 etcd watch
exception closed, restarting: resource: route
### Environment
- apisix version (cmd: `apisix version`): 3.0.0
- OS (cmd: `uname -a`): centos,docker
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
- etcd version, if have (cmd: run `etcd --version`):
- apisix-dashboard version, if have: 3.0.0
- Browser version, if have:
### Additional context
_No response_
--
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]