Sensu TCP connection bad_header errors


#1

I’ve been fighting with Sensu, RabbitMQ and SSL for a few days. It’s been a nightmare mostly due to SSL/TLS issues in RabbitMQ/Erlang. I’m giving up on SSL for the time being. I currently have everything in Sensu installed following their instructions. I’m also using Chef with a custom recipe that worked fine about 6 months ago (installed sensu and clients and reported stuff no problem). Uchiwa is installed as well and loads in the browser. I’m seeing this in my sensu server logs, however
{“timestamp”:“2015-11-10T18:04:28.725496+0000”,“level”:“error”,“message”:"[amqp] Detected TCP connection failure"}

``

And I’m seeing this in my rabbitmq logs:

=ERROR REPORT==== 10-Nov-2015::18:04:49 ===

closing AMQP connection <0.1124.0> (10.0.63.244:45517 -> 10.0.10.230:5671):

{bad_header,<<128,136,1,3,3,0,111,0>>}

``

Is this a Sensu issue? A RabbitMQ issue? A misconfiguration? Is it the Sensu client? Sever? API? Any guidance on where to look next is appreciated.


#2

Check your startup logs for RabbitMQ, my guess is you will see the following:

The installed version of Erlang (R14B04) contains the bug OTP-10905,

which makes it impossible to disable SSLv3. This makes the system

vulnerable to the POODLE attack. SSL listeners for AMQP have therefore

···

On Tuesday, November 10, 2015 at 1:26:40 PM UTC-5, seattle genetics wrote:

I’ve been fighting with Sensu, RabbitMQ and SSL for a few days. It’s been a nightmare mostly due to SSL/TLS issues in RabbitMQ/Erlang. I’m giving up on SSL for the time being. I currently have everything in Sensu installed following their instructions. I’m also using Chef with a custom recipe that worked fine about 6 months ago (installed sensu and clients and reported stuff no problem). Uchiwa is installed as well and loads in the browser. I’m seeing this in my sensu server logs, however
{“timestamp”:“2015-11-10T18:04:28.725496+0000”,“level”:“error”,“message”:"[amqp] Detected TCP connection failure"}

``

And I’m seeing this in my rabbitmq logs:

=ERROR REPORT==== 10-Nov-2015::18:04:49 ===

closing AMQP connection <0.1124.0> (10.0.63.244:45517 -> 10.0.10.230:5671):

{bad_header,<<128,136,1,3,3,0,111,0>>}

``

Is this a Sensu issue? A RabbitMQ issue? A misconfiguration? Is it the Sensu client? Sever? API? Any guidance on where to look next is appreciated.