-
Notifications
You must be signed in to change notification settings - Fork 59
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
SSL forwarder crashes on connect on Ubuntu 20.04 #240
Comments
@OlegSmelov have you tested, and does Invoker work w/ latest EM? I thought for some reason we were locked to the version that we are because another dep required older EM ... but that decision was before my time working on the project so I'm not certain. |
Building against newer
Newer versions of RubyDNS do not use EventMachine anymore, so I doubt they're compatible. It won't be as easy as I imagined after all. |
For context and workarounds:
I haven't tried it, but another workaround would be to use your own certificate and private key with Invoker. It seems to me that as long as we depend on the default certificate, this issue is bound to resurface every time security requirements are tightened. |
yes, unfortunately I attempted a refactor at one point to use newer async-based RubyDNS and gave up as it was basically turning into a rewrite. |
@OlegSmelov thank you for the links about openssl configuration. I had a similar issue in MacOS. Invoker would crash with a Bus Error and a stack trace (see screenshot below). Apparently something having to do with openssl's start_tls and the eventmachine gem. What worked for me was: installing openssl 1.0 alongside 1.1 (homebrew had automatically installed 1.1 and replaced 1.0 in the process), then re-installing ruby using rbenv and telling it to use openssl 1.0 (RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl" rbenv install 2.4.4), then re-installing invoker. Some additional resources that might help figuring out how to install openssl 1.0 with hombrew (it wasn't straightforward, as homebrew has deprecated openssl 1.0, so brew install openssl@1.0 doesn't work): |
The crash is caused by eventmachine/eventmachine#926
The solution is to wait for eventmachine to be updated and release the new version of Invoker that depends on the new version.
Copying the comment from the issue:
The text was updated successfully, but these errors were encountered: