apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

etcd watch error

Open MarsOu1995 opened this issue 2 years ago • 2 comments

Issue description

etcd auth enable.

The etcd watch error will appear in the log one or two days after startup.

log output continues until the disk is full.

Expected behavior

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
  • apisix-seed version: lasted
  • Browser version, if have:

Additional context

No response

MarsOu1995 avatar Feb 16 '23 00:02 MarsOu1995