Skip to content

Fluentbit doesn't work in version 3.21 #77

@fermion2020

Description

@fermion2020

Summary

The Fluent Bit service can't send logs to a Loki server. This error started appearing in version 3.21, while the previous version worked fine.

Steps to reproduce

Setup fluentbit environments according to documentation, run a container and check the fluentbit log.

What is the expected correct behavior?

All works like in alpine:3.20 version.

Relevant logs and/or screenshots

Here is a log:

[2025/03/11 13:05:01] [error] [tls] error: unexpected EOF with reason: certificate verify failed
[2025/03/11 13:05:01] [error] [output:loki:loki.1] no upstream connections available

Even if you set

     - FLUENTBIT_OUTPUT_LOKI_TLS=FALSE
     - FLUENTBIT_OUTPUT_LOKI_TLS_VERIFY=FALSE

You will get this error:

[2025/03/11 13:24:17] [ warn] [engine] failed to flush chunk '940-1741724656.883442233.flb', retry in 8 seconds: task_id=4, input=tail.4 > output=loki.1 (out_id=1)
[2025/03/11 13:24:18] [error] [output:loki:loki.1] <loki-server>:443, HTTP status=404
404 page not found

Environment

  • Image version / tag: 3.21
  • Host OS: Arch Linux / NixOS
Any logs | docker-compose.yml

Possible fixes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions