-
Notifications
You must be signed in to change notification settings - Fork 116
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
Not Compatible with Nginx(Openresty) ? #151
Comments
This project is very interesting. Actually if lua-openssl could be compatible with NGINX (or other variants like tengine: https://github.com/alibaba/tengine), it will be very cool since NGINX Lua module's original SSL functionality has not so many OpenSSL APIs supported yet. |
Worth doing it, can only invest in my free time. I have not even started to study NGNIX, maybe this can be a begin. |
Great. Given that I am also a member of the Tengine project, I think I can help on this if I have adequate spare time. |
duplicate with #196 |
@xliuqq I have do some test about this, it works well with 0.7.7-0. |
I use lua-openssl-scm-5, openresty 1.13.6.2, openssl 1.0.2k。
when nginx reload,it failed and error info is :
2018/12/18 21:33:53 [notice] 28600#0: using the “epoll” event method
2018/12/18 21:33:53 [notice] 28600#0: start worker processes
2018/12/18 21:33:53 [notice] 28600#0: start worker process 28968
2018/12/18 21:33:53 [notice] 28600#0: start worker process 28969
2018/12/18 21:33:53 [notice] 28600#0: start worker process 28970
2018/12/18 21:33:53 [notice] 28600#0: start worker process 28971
2018/12/18 21:33:53 [notice] 28600#0: start worker process 28972
2018/12/18 21:33:53 [notice] 28600#0: start worker process 28973
2018/12/18 21:33:53 [emerg] 28968#0: SSL_CTX_new() failed (SSL: error:140A90F1:lib(20):func(169):reason(241))
2018/12/18 21:33:53 [emerg] 28969#0: SSL_CTX_new() failed (SSL: error:140A90F1:lib(20):func(169):reason(241))
2018/12/18 21:33:53 [emerg] 28970#0: SSL_CTX_new() failed (SSL: error:140A90F1:lib(20):func(169):reason(241))
2018/12/18 21:33:53 [emerg] 28971#0: SSL_CTX_new() failed (SSL: error:140A90F1:lib(20):func(169):reason(241))
2018/12/18 21:33:53 [emerg] 28972#0: SSL_CTX_new() failed (SSL: error:140A90F1:lib(20):func(169):reason(241))
2018/12/18 21:33:53 [emerg] 28973#0: SSL_CTX_new() failed (SSL: error:140A90F1:lib(20):func(169):reason(241))
2018/12/18 21:33:53 [notice] 28606#0: gracefully shutting down
Here is the simplest customized nginx.conf to reproduce above problem.
However, If I remove the 'init_worker_by_lua_block ', Kong or openresty can reload success.
Any advise or solution?
Thanks!
The text was updated successfully, but these errors were encountered: