-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Logstash 5.0.0-alpha5 - Can no longer connect to beats input #5756
Comments
Sorry, forgot the system stuff: Ubuntu 14.04.4 |
@ceeeekay thanks for reporting this, beats input was completely rewritten from scratch in Java between the 2 alphas So theses report are critical to us! I have a few questions:
|
Hi @ph I can connect fine with SSL disabled. I can also reproduce the fault elsewhere with SSL enabled. I've checked the alt names and expiry on the cert and they're all fine (and this was working prior to upgrading to alpha5). I don't know if this is useful info but even trying to telnet to the beats port on an affected machine results in the connection being closed immediately, still with no errors logged in LS:
|
@ceeeekay I did not get luck into reproducing this error but I want to get to the end of this. it is possible to provide this:
This would help me a lot. Thanks |
Hi @ph I've tried to go back to the beginning and create a new SSL key so I can give you the exact steps to reproduce, however I can't even get alpha5 to start with this new key, although it works fine with 2.3.4 (logstash-input-beats 2.2.9). The error displayed by LS alpha5 is: We're using alt names as we're sending to multiple LS nodes. Here's the ssl command used to generate the key & cert: And these changes at the bottom of openssl.cnf:
Are you able to reproduce this latest error? |
Hi again @ph I've spotted an error with the openssl config above and found it wasn't referring to the v3_req section, which was causing the startup error with alpha5 - although I'm not sure why that was upsetting it. I now have a cert/key pair which Logstash is happy to start with, however I'm still getting the original connection reset issue with them. Happy to provide these to you as they were only generated for this test.
Cheers. |
I am working on making theses errors more expliticit, expect a new version soon :) |
OK with have with this certificate a
|
|
Actually there is 3 errors in this scenario.
|
Upgrading from Logstash 5.0.0-alpha4 to Logstash 5.0.0-alpha5, filebeat clients can no longer connect to the beats input.
2016/08/11 00:06:24.596939 single.go:140: INFO Connecting error publishing events (retrying): read tcp 10.2.15.11:57029->10.2.15.21:10514: read: connection reset by peer
Example configs:
Prospectors are in the conf.d directory above, but aren't relevant here.
According to netstat the service is definitely listening on tcp/10514, and these configs were previously working with alpha4.
There is no mention of the error that I can see running Logstash with debug logging.
Fresh install of Logstash (dpkg purge, rm) does not change the behaviour.
The text was updated successfully, but these errors were encountered: