Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Runtime Error: Encryption not available on this event-machine #69

Open
foadnh opened this issue Dec 21, 2015 · 5 comments
Open

Runtime Error: Encryption not available on this event-machine #69

foadnh opened this issue Dec 21, 2015 · 5 comments

Comments

@foadnh
Copy link

foadnh commented Dec 21, 2015

I'm on CentOS 7,
Now I get following error:

$ lita
[WARNING] MultiJson is using the default adapter (ok_json).We recommend loading a different JSON library to improve performance.
terminate called after throwing an instance of 'std::runtime_error'
what(): Encryption not available on this event-machine
Aborted (core dumped)

I have openssl and openssl-devel installed.

@jimmycuadra
Copy link
Contributor

Sorry you're having trouble getting Lita working. I don't think this issue is related to lita-slack. You just need the right dependencies on your system before installing/compiling the eventmachine gem. A quick Google search indicates libssl-dev might be the package eventmachine is expecting.

@foadnh
Copy link
Author

foadnh commented Dec 23, 2015

Lita is working fine with config.robot.adapter = :shell config, so I thought maybe it is a problem with lita-slack.
Also libssl-dev in CentOS is named as openssl-devel, which I have installed. I have uninstalled and installed eventmachine, but nothing changed!

@jimmycuadra
Copy link
Contributor

I mean it's not an issue with lita-slack as in this has to do with the dependencies of eventmachine and not any of lita-slack's own code. I don't have much experience with CentOS personally, but hopefully someone who does can chime in with ideas about what might be wrong.

@ghost
Copy link

ghost commented Jun 19, 2016

I had this exact same problem. The eventmachine gem must be installed when a valid ssl dependency exists so it can be configured with it. While not on CentOS (Ubuntu xenial 16.04), I solved this exact same error message by installing libssl-dev package and re-installing the eventmachine gem.

@rhoml
Copy link

rhoml commented Apr 26, 2017

I can confirm that reinstalling libssl-dev and eventmachine fixes the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants