Skip to content
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

OpenSSL connection error when a deamon open a socket with the controller #60

Open
raziel-carvajal opened this issue Aug 26, 2016 · 0 comments
Assignees

Comments

@raziel-carvajal
Copy link
Member

Once a job is running the C deamon writes at the secure socket at this line then, this is what is logged at the controller's side (example):

I, [2016-08-26 14:21:42 #24723] INFO -- : next action to do: 150 - START
I, [2016-08-26 14:21:42 #24723] INFO -- : 15 (Daemon5, 127.0.0.1): Action: LIST
I, [2016-08-26 14:21:42 #24723] INFO -- : Answer OK
I, [2016-08-26 14:21:42 #24723] INFO -- : 10 (Daemon1, 127.0.0.1): Action: START
I, [2016-08-26 14:21:42 #24723] INFO -- : next action to do: 151 - START
E, [2016-08-26 14:21:42 #24723] ERROR -- : OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0 state=unknown state: unknown protocol
/usr/lib/ruby/2.1.0/openssl/ssl.rb:194:in accept' /usr/lib/ruby/2.1.0/openssl/ssl.rb:194:inaccept'
/home/raziel/Documents/Repos/splay/src/controller/lib/splayd_server.rb:55:in block in main' /home/raziel/Documents/Repos/splay/src/controller/lib/splayd_server.rb:54:inloop'
/home/raziel/Documents/Repos/splay/src/controller/lib/splayd_server.rb:54:in main' /home/raziel/Documents/Repos/splay/src/controller/lib/splayd_server.rb:17:inblock in run'

I am pretty sure that some options in this openssl command (make target) must be set to recognize the right protocol.

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

No branches or pull requests

1 participant