init_worker_by_lua error: /usr/local/apisix/apisix/consumer.lua:146: attempt to index local 'config' (a nil value) plugin.lua:252: load_stream(): new plugins: {"syslog":true,"ip-restriction":true,"mqtt-proxy":true,"limit-conn":true}, context: init_worker_by_lua* #12620
Replies: 1 comment 1 reply
-
Hi @Novemberinp! I'm Dosu and I’m helping the apisix team. This error usually means APISIX is trying to load consumer data from etcd, but the data is missing or malformed—specifically, the expected {
"username": "foo",
"plugins": {
"key-auth": {
"key": "foo-key"
}
}
} If the consumer data is missing, empty, or doesn't include the No recent changes or known bugs in APISIX 3.2.0 address this specific error, so it's almost certainly a data/configuration issue in etcd. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
apisix error(veresion:):
apisix-stack:
config:
dashboard-config:
Beta Was this translation helpful? Give feedback.
All reactions