-
Notifications
You must be signed in to change notification settings - Fork 31
Plugin throws lua stacktrace errors on endpoints leveraging request termination plugin #32
Comments
This should have been fixed back in October with 174737f. |
I think @rsbrisci just set it as an environment variable, and maybe it came bundled with 0.14.1 in that case? If so I can force a luarocks install on it and get the latest that way. Will give that a go, thx. |
Seems to be the case(to run log_by_lua*: ...lugin_zipkin_0_0_4_0-kong/plugins/zipkin/opentracing.lua), trying to add a luarocks install to overwrite it adds this to my build, first time I have seen of this msg before:
Would it be okay to --force remove under these circumstances? https://github.com/Kong/kong/blob/master/kong-0.14.1-0.rockspec#L39 Maybe this ^ is the issue, since the Kong release bundled it and includes an early iteration in the rockspec? Edit - Yep I see its in the lua/5.1/kong_plugin_zipkin_0_0_4_0-kong/ folder then /plugins/zipkin/{src here}, any reason this was not treated like every other custom plugin and got a dedicated folder? I suppose I could overwrite the rockspec after I pull the tar, then rm rf this directory and install via luarocks... A bit painful might just wait to use zipkin on 1.0 . |
But yeah I see how I could probs patchwork around to get newest one running on 0.14.1 but not worth the time since 1.0 is close by. will just deploy latest on that, hopefully they are decoupled now xD . |
Lua stacktrace:
Just need to anticipate that field being null occasionally I suppose and maybe set that value to -1 or 0 of some sort(HTTP Log plugin takes a similar approach on endpoints that don't actually route or fail to proxy).
The text was updated successfully, but these errors were encountered: