Code Monkey home page Code Monkey logo

Comments (8)

agentzh avatar agentzh commented on July 28, 2024

Please try the latest OpenResty release from openresty.org. Thank you. See https://openresty.org/en/download.html

from lua-resty-core.

agentzh avatar agentzh commented on July 28, 2024

It should work with OpenResty.

from lua-resty-core.

Soulou avatar Soulou commented on July 28, 2024

Hi there, I'm already building a custom nginx as I need some other external modules, not included in openresty, is there possible to get a more complete response ? I'm still gonna try though and tell you if it's ok

Thanks

from lua-resty-core.

agentzh avatar agentzh commented on July 28, 2024

@Soulou You can also add external modules into OpenResty in a similar way. Just read the documentation:

https://openresty.org/en/download.html

from lua-resty-core.

agentzh avatar agentzh commented on July 28, 2024

@Soulou And also this link: http://openresty.org/en/installation.html

from lua-resty-core.

mehrdadpfg avatar mehrdadpfg commented on July 28, 2024

Hi there,
I'm having the same issue with the latest version of openresty 1.11.2 that includes:
lua-resty-core v0.1.11
lua-resty-redis v0.26
I did the exact same troubleshooting procedure and the code has stopped in "connect()" function.

local redis = require "resty.redis"
local red = redis:new()

ngx.log(ngx.ERR, "before... ")
local ok, err = red:connect("127.0.0.1", 6379)
ngx.log(ngx.ERR, "after...")

also, i should mention that I can connect successfully to Redis in the access_by_lua_* section.

from lua-resty-core.

mehrdadpfg avatar mehrdadpfg commented on July 28, 2024

My Error_log:

2017/08/08 15:53:08 [error] 7#7: *2 [lua] ssl_certificate_by_lua:14: REDIS: before... : nil, context: ssl_certificate_by_lua*, client: X.X.X.X, server: 0.0.0.0:443
2017/08/08 15:53:08 [info] 7#7: *1 peer closed connection in SSL handshake while loading SSL certificate by lua, client: X.X.X.X, server: 0.0.0.0:443

from lua-resty-core.

agentzh avatar agentzh commented on July 28, 2024

@mehrdadpfg Please do not cross post. It's annoying. Thanks for your cooperation. Also, replying to a closed issue is not recommended unless you have a very good reason.

from lua-resty-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.