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
bakeware messes up ssl library? #100
Comments
I am able to recreate this
So on :ssl.recv the error above happens. It seems maybe the :SSL module is not setup correctly. (The ssl module is really complex requiring a bunch of ets and other preinited tables) |
Tried even spawning a process inside the main function, same problem, the ssl connection is all messed up. |
After further testing I think this is an issue with elixir releases on >=1.11.0 |
Update on this, solved my problems by statically compiling openssl 1.1.1j into erlang itself. Maybe a note makes sense to have in the README, but not sure if this is an isolated issue with only my env. |
@vans163 What platform and OTP versions are you using? Could it be an issue similar to this erlef/setup-beam#7? I also agree that it's worth a note to the README about statically linking OpenSSL. If you could PR some text that briefly describes the issue (one sentence is fine) and points to instructions on how to statically link openssl, that would be really helpful. |
That issue looks a little different but who knows. The OTP is 23.2.7 erts 11.1.8 elixir 1.11.3 on ubuntu 20.10. Il make a PR yea NP. |
Addressed with #102 |
So I am using ssl module to make a connection, and the version compiled with newest bakeware gives a :socket, :closed error for some reason on every launch. While the non-bakeware version works just fine.
Im drum up a more pinpointed test case, but it seems like something went wrong in the latest bake-bake-bake bakeware as my app worked fine before.
The text was updated successfully, but these errors were encountered: