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
2017/10/12 12:16:59 [error] 425#0: *8319 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/kong/plugins/hmac-auth/access.lua:76: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function 'ipairs'
/usr/local/share/lua/5.1/kong/plugins/hmac-auth/access.lua:76: in function 'validate_params'
/usr/local/share/lua/5.1/kong/plugins/hmac-auth/access.lua:273: in function 'do_authentication'
/usr/local/share/lua/5.1/kong/plugins/hmac-auth/access.lua:320: in function 'execute'
/usr/local/share/lua/5.1/kong/plugins/hmac-auth/handler.lua:14: in function 'access'
/usr/local/share/lua/5.1/kong.lua:350: in function 'access'
access_by_lua(nginx-kong.conf:91):2: in function <access_by_lua(nginx-kong.conf:91):1>,
Kong configuration (registered APIs/Plugins & configuration file)
see above
Operating System
Docker
The text was updated successfully, but these errors were encountered:
Summary
When the authorization header is not matching the HMAC expected header and you have specified enforced headers, the plugin throws a 500.
Steps To Reproduce
Additional Details & Logs
Kong version (
$ kong version
)0.11.0
Kong debug-level startup logs (
$ kong start --vv
)Kong error logs (
<KONG_PREFIX>/logs/error.log
)see above
Docker
The text was updated successfully, but these errors were encountered: