You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on my short investigation I can see that the Tempfile in binmode for some reason is closed before it should be.
According to Ruby documentation:
If a block is given, then a Tempfile object will be constructed, and the block is run with said object as argument. The Tempfile object will be automatically closed after the block terminates. The call returns the value of the block.
There is no issue without binmode (locally modified code). Current solution is to use 1.9.2 or compress text.
To Reproduce
Dockerfile:
FROM fluent/fluentd:v1.11.2-debian-1.0
USER root
RUN gem install fluent-plugin-sumologic_output -v 1.7.1
USER fluent
Describe the bug
In version 1.9.3 there was introduced some change which results with the exception:
Here is link to the breaking PR: c5288bc2
Based on my short investigation I can see that the
Tempfile
inbinmode
for some reason is closed before it should be.According to Ruby documentation:
There is no issue without binmode (locally modified code). Current solution is to use
1.9.2
orcompress text
.To Reproduce
Dockerfile:
fluentd.conf:
docker-compose.yaml
Expected behavior
No exception
Your Environment
Your Configuration
Your Error Log
Additional context
N/A
The text was updated successfully, but these errors were encountered: