When trying to connect on secure => false connection is working perfectly
but when we try to include tls_options and set secure to true.
server just wont start.
The EventMachine start but EventMachine::WebSocket start boot and get terminated, but EventMachine is still running as a ruby process. What I mean is that I can find it by running ps aux | grep ruby.
This is the STDOUT we get when we start the process.
Server started
Terminating WebSocket Server
We are using Ruby on rails , nginx server & Ubuntu 12.04, but we don't think that have any thing to do with this issue.
We are using Ruby 2.2.2
eventmachine (1.2.0.1)
em-websocket (0.5.1)
for testing purposes we are using letsencrypt for certificates
When we setup ssl for https we added these lines to nginx.conf
em-websocket wont connect over SSL
When trying to connect on
secure => false
connection is working perfectly but when we try to includetls_options
and set secure to true. server just wont start. The EventMachine start but EventMachine::WebSocket start boot and get terminated, but EventMachine is still running as a ruby process. What I mean is that I can find it by runningps aux | grep ruby
.This is the STDOUT we get when we start the process.
We are using Ruby on rails , nginx server & Ubuntu 12.04, but we don't think that have any thing to do with this issue.
We are using Ruby 2.2.2 eventmachine (1.2.0.1) em-websocket (0.5.1)
for testing purposes we are using letsencrypt for certificates When we setup ssl for https we added these lines to nginx.conf
This is the websocket script
Thanks for looking at this :) Open issue on https://github.com/eventmachine/eventmachine/issues/733 also, not sure where it belong.