griffenliu edited a comment on issue #2006: URL: https://github.com/apache/apisix/issues/2006#issuecomment-694208133
I want to use the prometheus plug-ins. But when I access http://localhost:9080/apisix/prometheus/metrics by document https://github.com/apache/apisix/blob/master/doc/zh-cn/plugins/prometheus.md. I got the following error too: ``` 2020/09/17 20:45:31 [error] 3087#3087: *11669858 failed to run header_filter_by_lua*: ...user-center//deps/share/lua/5.1/apisix/core/lrucache.lua:202: attempt to concatenate field 'conf_id' (a nil value) stack traceback: ...user-center//deps/share/lua/5.1/apisix/core/lrucache.lua:202: in function 'plugin_ctx' ...-user-center//deps/share/lua/5.1/apisix/plugins/cors.lua:144: in function 'phase_fun' ...odes/dfy-user-center//deps/share/lua/5.1/apisix/init.lua:142: in function 'run_plugin' ...odes/dfy-user-center//deps/share/lua/5.1/apisix/init.lua:550: in function 'common_phase' ...odes/dfy-user-center//deps/share/lua/5.1/apisix/init.lua:561: in function 'http_header_filter_phase' header_filter_by_lua:2: in main chunk, client: 172.30.213.200, server: , request: "GET /apisix/prometheus/metrics HTTP/1.1", host: "172.30.212.70:9080" ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org