-
Notifications
You must be signed in to change notification settings - Fork 272
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
set_ssl_certificate_by_lua* compatibility with lua-resty-redis, connect blocking #62
Comments
Please try the latest OpenResty release from openresty.org. Thank you. See https://openresty.org/en/download.html |
It should work with OpenResty. |
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 |
@Soulou You can also add external modules into OpenResty in a similar way. Just read the documentation: |
@Soulou And also this link: http://openresty.org/en/installation.html |
Hi there,
also, i should mention that I can connect successfully to Redis in the access_by_lua_* section. |
My Error_log:
|
@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. |
Hi there, I've done the following PoC to use ssl_certifciate_by_lua: and loading dynamically a certificate from a redis server. However it doesn't work I can't connect to the database.
The first logs appear correctly in my error log, however the second is never called. So I assume, the red:connect statement is blocking.
Is it by design? Can't I use the coroutine - tcp related API here? What is the workaround?
Versions installed are
Nginx is stopping client connection, curl is exiting with the following error:
The nginx configuration:
The text was updated successfully, but these errors were encountered: