-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Description
Bug Report
Describe the bug
Fluent bit 1.9.1 crashes when an HTTPS connection to AWS CloudWatch logs APIs is closed prematurely (TLS is expecting more data but gets EOF).
To Reproduce
- Steps to reproduce the problem:
- Use CloudWatch Logs output module .
- Wait for a connection problem or provoke it.
Expected behavior
Fluent bit recovers (and retries sending logs).
Your Environment
- Version used: 1.9.1
- Environment name and version (e.g. Kubernetes? What version?): k8s 1.21
Additional context
stderr logs :
[2022/04/05 21:34:56] [error] [aws_client] connection initialization error
[2022/04/05 21:34:56] [error] [tls] error: unexpected EOF
[2022/04/05 21:34:56] [engine] caught signal (SIGSEGV)
#0 0x5580e6ca4c4c in __mk_list_del() at lib/monkey/include/monkey/mk_core/mk_list.h:87
#1 0x5580e6ca4c83 in mk_list_del() at lib/monkey/include/monkey/mk_core/mk_list.h:93
#2 0x5580e6ca58b7 in prepare_destroy_conn() at src/flb_upstream.c:443
#3 0x5580e6ca593a in prepare_destroy_conn_safe() at src/flb_upstream.c:469
#4 0x5580e6ca615c in cb_upstream_conn_ka_dropped() at src/flb_upstream.c:724
#5 0x5580e6c9f522 in flb_engine_start() at src/flb_engine.c:847
#6 0x5580e6c7ea34 in flb_lib_worker() at src/flb_lib.c:626
#7 0x7f18a513cea6 in ???() at ???:0
#8 0x7f18a4a1cdee in ???() at ???:0
#9 0xffffffffffffffff in ???() at ???:0
Reactions are currently unavailable