Closed mrkurt closed 7 years ago
What version of bunny you're using ? Probably 1.7.1, right ?
hmm... I couldn't realize that why we can't pass false
to bunny...
https://github.com/ruby-amqp/bunny/blob/1.7.x-stable/lib/bunny/transport.rb#L304-L308
What do you think? @warmfusion
Interesting, if TLS is false, but SSL is true that function will return false(as TLS is checked first) and I suspect the connection hangs due to binding and expecting an insecure protocol and waiting for messages that don't arrive.
I can't review the code at the moment as I'm on holiday without my laptop, but the change seems sensible enough and passes the simple unit tests.
I vote for merging 👍
Ok, thanks!
Pushed fluent-plugin-amqp 0.9.3 to rubygems.org.
This config hangs the rabbitmq connection (it ultimately times out) when
tls: false
in the ssl config to Bunny. Iftls: nil
it works just fine, so this is a tiny patch to do just that.