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
In this case, the variable http_proxy doesn't contain the protocol but the error message says Success. If another value was previously set to errno, it will display the corresponding error message.
Expected behavior
It should display an error message that corresponds to the actual error.
Your Environment
Version used: 3.1.7 and master
Configuration: Provided above
Filters and plugins: http output
Additional context
Given the error is misleading, the user won't be able to solve the issue without checking the code or equivalent further troubleshooting.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
Depending on what error (
errno
) was previously set, the message displayed for a wrongly configuredhttp_proxy
will be a non-related error message.To Reproduce
Use an
http
output plugin. Sample config below:Run fluent-bit with the
http_proxy
environment variable set. Example below:podman run --rm -it -e HTTP_PROXY=domain.tld -v $(pwd)/fluent-bit.yml:/fluent-bit/etc/fluent-bit.yml fluent/fluent-bit:3.1.7 -c /fluent-bit/etc/fluent-bit.yml
Output of the run
Relevant lines from the log above:
In this case, the variable
http_proxy
doesn't contain the protocol but the error message saysSuccess
. If another value was previously set toerrno
, it will display the corresponding error message.Expected behavior
It should display an error message that corresponds to the actual error.
Your Environment
Additional context
Given the error is misleading, the user won't be able to solve the issue without checking the code or equivalent further troubleshooting.
The text was updated successfully, but these errors were encountered: