Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix nil error #1

Merged
merged 1 commit into from
Sep 6, 2018
Merged

bugfix nil error #1

merged 1 commit into from
Sep 6, 2018

Conversation

huangronghuakid17
Copy link
Collaborator

2018/09/06 19:17:52 [error] 29168#0: *1842620 lua entry thread aborted: runtime error: ...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua:66: attempt to index field 'service' (a nil value)
stack traceback:
coroutine 0:
	...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua: in function 'log'
	.../local/share/lua/5.1/kong/plugins/prometheus/handler.lua:16: in function <.../local/share/lua/5.1/kong/plugins/prometheus/handler.lua:11>, context: ngx.timer, client: 100.116.243.152, server: 0.0.0.0:80
2018/09/06 19:22:14 [warn] 29168#0: *1851893 an upstream response is buffered to a temporary file /usr/local/kong/proxy_temp/1/13/0000000131 while reading upstream, client: 100.116.243.183, server: kong, request: "POST /graphql HTTP/1.1", upstream: "http://10.10.1.153:27653/graphql", host: "xxxxxxx"
2018/09/06 19:22:28 [error] 29167#0: *1852495 lua entry thread aborted: runtime error: ...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua:66: attempt to index field 'service' (a nil value)

2018/09/06 19:17:52 [error] 29168#0: *1842620 lua entry thread aborted: runtime error: ...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua:66: attempt to index field 'service' (a nil value)
stack traceback:
coroutine 0:
	...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua: in function 'log'
	.../local/share/lua/5.1/kong/plugins/prometheus/handler.lua:16: in function <.../local/share/lua/5.1/kong/plugins/prometheus/handler.lua:11>, context: ngx.timer, client: 100.116.243.152, server: 0.0.0.0:80
2018/09/06 19:22:14 [warn] 29168#0: *1851893 an upstream response is buffered to a temporary file /usr/local/kong/proxy_temp/1/13/0000000131 while reading upstream, client: 100.116.243.183, server: kong, request: "POST /graphql HTTP/1.1", upstream: "http://10.10.1.153:27653/graphql", host: "guardian.kid17.com"
2018/09/06 19:22:28 [error] 29167#0: *1852495 lua entry thread aborted: runtime error: ...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua:66: attempt to index field 'service' (a nil value)
@huangronghuakid17 huangronghuakid17 merged commit 7ff1efd into master Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant