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
Fluency fails with SSLException: Broken pipe #152
Comments
@sabarivasan Could you give me the following information?
|
|
Thanks! Additional 2 questions:
|
|
Thanks for the quick answer. Let me ask some more...
BTW, Fluency's SSLSender that inherits NetworkSender lazily connects to server at the first send, not at instantiation phase Line 101 in 486ea33
|
FYI: I am able to get fluent-bit to send logs to fluentd through this same NLB successfully. I am also able to send logs from a AWS Lambda written in Javascript using this |
Thanks again. I looked at the log files, but didn't find anything weird. I'll create an similar environment to reproduce this issue, but it would be great if there is an endpoint to where I can connect from Fluency on my laptop. |
I set up a similar Fluentd environment with NLB + ACM + EC2, but I couldn't reproduced this issue ( So, can I ask you to try with And I noticed your configuration seems a bit too restrict from the perspective of memory resource although it depends your use case. How about trying default values like this to isolate the root cause?
BTW, I'm interested in the throughput, the number of connection reset and so on between your Fluency and Fluentd. Could you share a screenshot of CloudWatch metrics of the NLB on AWS console? |
@komamitsu , I just wanted to let you know when I choose defaults for all parameters, it worked! Thanks for your support! I plan to do some load testing on fluency soon. I will send you metrics that you asked for. |
Also, is there any documentation on how I can configure the 3 buffer-related params: bufferChunkInitialSize, bufferChunkRetentionSize and maxBufferSize? I see that fluency manages a pool of buffers. If my requirement is to flush the buffer when it reaches 1MB or 30 seconds, whichever comes first, how would I configure this when I create the fluency client? |
@sabarivasan Thanks for let me know it. I just fixed the issue at #155 and released it as version 2.4.1. As for NLB's metrics I wanted to see which side reset the connections to isolate the root cause and I don't think we don't need the metrics now.
Like this? FluencyBuilderForFluentd builder = new FluencyBuilderForFluentd();
builder.setBufferChunkRetentionSize(1 * 1024 * 1024);
builder.setBufferChunkRetentionTimeMillis(30 * 1000);
Fluency fluency = builder.build(); Yeah, I think I should add some more explanations about the buffer configuration. I'll take care of it later. |
Hi,
I am running into issues sending logs using TCP forward to fluentd to a fluentd cluster setup in AWS:
AWS Network load balancer (NLB) with TLS protocol with a self-signed certificate for *.us-east-1.lb.cvent.com
The fluentd cluster itself sits behind the NLB and runs in a Docker container in ECS. The NLB terminates SSL and is supposed to forward requests to the fluentd cluster.
The exception I am getting is below:
Here's how I have built the fluency client:
I am happy to provide more info as necessary. I am not sure what I am doing wrong with the setup.
The text was updated successfully, but these errors were encountered: