-
Notifications
You must be signed in to change notification settings - Fork 386
[0.20.6] SSL / TLS issue with eventmachine #1084
Comments
What's the Interrupt for? Usually you see something like that when eventmachine was not built with OpenSSL. |
The interrupt was just here to end the command... |
@BarthV Ah, sorry, I didn't read |
::bump:: & $ tcpdump -vvv -n dst port 8086 I was able to the post and length of the post over http (length 3728), over https (length 0). Using cURL i can post the metrics after i use a handler to write them to a file on disk. So i can verify that metrics make it in over https. Wondering if building the embedded eventmachine against the system openssl would fix that? not sure... im not fantastic with ruby or its underpinnings. thoughts? |
Hmm, Sensu's Ruby is currently capable of communicating with SSL, e.g. RabbitMQ. I will try to test this myself, it may be time to make the jump to a newer Ruby with the GC changes etc. |
(last message was deleted) It probably depends on available SSL ciphers since www.google.fr:443 (and many other ssl services) are working great. I searched but I didn't found any cipher list or cipher group restriction inside Sensu source :-/ . So maybe I'm wrong ... |
@BarthV it could be a combination of EventMachine and the Ruby version. I'll test Sensu Core w/ a newer Ruby, it is time to make the jump anyways 👍 |
@BarthV Sensu 0.23 was released this week with a new Ruby (version 2.3). See here for more information: https://sensuapp.org/docs/0.23/changelog I'm going to presumptively close this issue, but please feel free to create a new issue if the matter is not resolved. #monitoringlove |
Using this simple script :
Output with a ruby 2.2.3 "vanilla" + latest em-http-request gem :
Output with Sensu embedded Ruby
Supported ciphers for the target URL :
This test is working when I use http and not https.
What can I do to make this work inside Sensu & using EM ?
The text was updated successfully, but these errors were encountered: