You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to v0.6.0, Kong was returning a 504 error when requesting a given API. The logs were showing:
2016/02/03 13:49:14 [error] 20954#0: *774 failed to run body_filter_by_lua*: ...share/lua/5.1/kong/plugins/mashape-analytics/handler.lua:75: attempt to index field 'analytics' (a nil value)
stack traceback:
...share/lua/5.1/kong/plugins/mashape-analytics/handler.lua:75: in function 'body_filter'
/usr/local/share/lua/5.1/kong.lua:184: in function 'body_filter'
body_filter_by_lua:1: in function <body_filter_by_lua:1>, client: 10.0.2.225, server: _, request: "POST xxx HTTP/1.1", host: "xxx"
2016/02/03 13:49:14 [error] 20954#0: *774 failed to run log_by_lua*: ...local/share/lua/5.1/kong/plugins/log-serializers/alf.lua:94: attempt to index local 'analytics_data' (a nil value)
stack traceback:
...local/share/lua/5.1/kong/plugins/log-serializers/alf.lua:94: in function 'serialize_entry'
...local/share/lua/5.1/kong/plugins/log-serializers/alf.lua:183: in function 'new_alf'
...share/lua/5.1/kong/plugins/mashape-analytics/handler.lua:92: in function 'log'
/usr/local/share/lua/5.1/kong.lua:192: in function 'log'
log_by_lua(nginx.conf:109):1: in function <log_by_lua(nginx.conf:109):1> while logging request, client: 10.0.2.225, server: _, request: "POST xxx HTTP/1.1", host: "xxx"
After turning off the log_body option of the mashape-analytics plugin, and turning it on again, everything went back to normal.
Any idea what may causes this?
The text was updated successfully, but these errors were encountered:
After upgrading to v0.6.0, Kong was returning a 504 error when requesting a given API. The logs were showing:
After turning off the
log_body
option of the mashape-analytics plugin, and turning it on again, everything went back to normal.Any idea what may causes this?
The text was updated successfully, but these errors were encountered: