Kong/kong-plugin-zipkin

error attempt to perform arithmetic on field 'KONG_ACCESS_ENDED_AT' (a nil value)

ahai1980 opened this issue · 1 comments

Hi ,

2018/10/12 13:15:31 [error] 1000#0: *676002 failed to run log_by_lua*: .../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:174: attempt to perform arithmetic on field 'KONG_ACCESS_ENDED_AT' (a nil value)
stack traceback:
	.../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:174: in function 'log'
	/usr/local/share/lua/5.1/kong/plugins/zipkin/handler.lua:34: in function 'log'
	/usr/local/share/lua/5.1/kong/init.lua:529: in function 'log'
	log_by_lua(nginx-kong.conf:124):2: in function <log_by_lua(nginx-kong.conf:124):1> while logging request, client: 101.81.182.185, server: kong, request:

kong version 0.14.1