Skip to content

prob setting a compressor (zlib) #154

@AramshamFedaykin

Description

@AramshamFedaykin

Hello,

I tried to add a compressor in an nginx ingress controller via set $session_compressor zlib;, but I get this error :

lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/resty/session.lua:569: attempt to index local 'com' (a number value)
stack traceback:
coroutine 0:
/usr/local/share/lua/5.1/resty/session.lua: in function 'new'
/usr/local/share/lua/5.1/resty/session.lua:581: in function 'open'
/usr/local/share/lua/5.1/resty/session.lua:621: in function 'start'
/usr/local/share/lua/5.1/resty/openidc.lua:1708: in function 'authenticate'
access_by_lua(nginx.conf

I installed lua-ffi-zlib and penlight via luarocks in my dockerfile.

env :
k8s v1.21.9
nginx-ingress-controller v1.5.1 (nginx 1.21.6)

Is it a path problem or something else ? Could you please take a look at this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions