Skip to content

Encryption not available on this event-machine (with fix) #11

@alessandro-newzoo

Description

@alessandro-newzoo

Hello,

I've just installed deployhq on a remote Debian machine I use for development, and I was get this error when trying to deploy:

Waiting for an available deployment slot...terminate called after throwing an instance of 'std::runtime_error'
  what():  Encryption not available on this event-machine
[1]    495531 abort (core dumped)  deployhq deploy

Ruby version:

ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]

Steps to reproduce:

apt update

apt install ruby-full

gem install deployhq

deployhq configure

deployhq deploy

then I enter the number of the server I want to deploy to, and the error pops up after I press Enter:

image

How I managed to fix it:

apt install libssl-dev

gem uninstall eventmachine

gem install eventmachine

Conclusion

I don't know whether this is an issue specific to my setup or if there's something wrong with deployhq - either way I thought I'd post it here for those who run into this issue, and for the devs in case it can be fixed.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions