morellon/stomp — Issue #29: receive failed: SSL_read:: no start line
Author: ripienaar
Created: 2012-02-16 16:07:26+00:00
State: open

This is a issue I've noticed since very early releases, the reason I have not logged this before is that I do not know how to reproduce it reliably.

When connecting to ActiveMQ with SSL enabled I sometimes get the error logged (using the new callback loggers here)

`on_miscerr' Unexpected error on connection stomp://rip@stomp.xx.net:6164: receive failed: SSL_read:: no start line

This is from the __old_receive method on connection.rb, if I tweak the code to also log the exception class I get:

`on_miscerr' Unexpected error on connection stomp://rip@stomp.xx.net:6164: receive failed: OpenSSL::SSL::SSLError: SSL_read:: no start line

I think I am finally getting near to being able to reproduce this but only in a very complex piece of code, I've not been able to create a simple bit of code that demonstrates this.

do you guys have any idea what might be the cause of this that might assist me in creating a reliable test case for this behavior?