Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't work nginx bouncer #6

Open
DimitryVo opened this issue Apr 9, 2024 · 0 comments
Open

Don't work nginx bouncer #6

DimitryVo opened this issue Apr 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DimitryVo
Copy link

Describe the bug
Can't run NGINX, I see some errors (in screen area).

Current environment

  • Architecture: amd64
  • Container Version: 'nginx 1.25.4'
  • Docker/Kubernetes Version: '25.0.4.'
  • Alpine: 3.19

To Reproduce
nginx -c /config/nginx/nginx.conf

Expected behavior
run nginx

Screenshots
nginx: [warn] [lua] http_connect.lua:21: failed to load module resty.openssl.*, mTLS isn't supported without lua-resty-openssl:
/usr/local/lib/lua/resty/openssl/x509/chain.lua:6: module 'resty.openssl.x509' not found:
no field package.preload['resty.openssl.x509']
no file '/usr/local/lib/lua/resty/openssl/x509.lua'
no file '/usr/local/lib/lua/crowdsec/resty/openssl/x509.lua'
no file '/usr/local/lib/lua/resty/openssl/x509/resty/openssl/x509.lua'
no file './resty/openssl/x509.lua'
no file '/usr/local/share/luajit-2.1/resty/openssl/x509.lua'
no file '/usr/local/share/lua/5.1/resty/openssl/x509.lua'
no file '/usr/local/share/lua/5.1/resty/openssl/x509/init.lua'
no file './resty/openssl/x509.lua'
no file './resty/openssl/x509.so'
no file '/usr/local/lib/lua/5.1/resty/openssl/x509.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/local/lib/lua/resty/openssl/x509/chain.lua:6: in main chunk
[C]: in function 'require'
/usr/local/lib/lua/resty/http_connect.lua:15: in function </usr/local/lib/lua/resty/http_connect.lua:14>
[C]: in function 'xpcall'
/usr/local/lib/lua/resty/http_connect.lua:14: in main chunk
[C]: in function 'require'
/usr/local/lib/lua/resty/http.lua:166: in main chunk
[C]: in function 'require'
/usr/local/lib/lua/crowdsec/CrowdSec.lua:5: in main chunk
[C]: in function 'require'
/usr/local/lib/lua/crowdsec_nginx.lua:2: in main chunk
[C]: in function 'require'
init_by_lua(conf.d/lua.conf:23):8: in main chunk
nginx: [error] [lua] CrowdSec.lua:62: init(): error loading captcha plugin: no recaptcha site key provided, can't use recaptcha
nginx: [error] init_by_lua error: /usr/local/lib/lua/crowdsec/CrowdSec.lua:65: attempt to index field 'cache' (a nil value)
stack traceback:
/usr/local/lib/lua/crowdsec/CrowdSec.lua:65: in function 'init'
/usr/local/lib/lua/crowdsec_nginx.lua:3: in main chunk
[C]: in function 'require'
init_by_lua(conf.d/lua.conf:23):8: in main chunk

Log files
Add log files and console output related to the bug.

Additional context
Add any other context about the problem here.

Could you recommend anything? Thank you.

@DimitryVo DimitryVo added the bug Something isn't working label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant