Open hungpr0 opened 1 year ago
Hello,
This is odd. Definitely seems like we should be retrying that. This bit
vector::sinks::util::retries: Unexpected error type; dropping the request.
, occurs when we weren't able to downcast_ref the error type into a recognizable one to determine if we even should retry/not retry, so we default to drop/no retry.
Similar issue occurred in https://github.com/vectordotdev/vector/issues/6282
It seems that from the redis crate error types, this boils down to an i/o error (broken pipe) so the connection closed on us while trying to transmit the request.
Hello,
This is odd. Definitely seems like we should be retrying that. This bit
vector::sinks::util::retries: Unexpected error type; dropping the request.
, occurs when we weren't able to downcast_ref the error type into a recognizable one to determine if we even should retry/not retry, so we default to drop/no retry.
Similar issue occurred in #6282
It seems that from the redis crate error types, this boils down to an i/o error (broken pipe) so the connection closed on us while trying to transmit the request.
So this can be fixed on vector side? Thanks.
Just want to update. Problem is still on vector 0.33.1 (x86_64-unknown-linux-gnu 3cc27b9 2023-10-30 16:50:49.747931844)
version
A note for the community
Problem
Hello,
We are migration from Logstash to Vector and found logs aren't sent to
redis
randomly on Vector. It seems, problem is onredis
sink. Please check debug log below.From the docs:
Is there a way to force vector retry on
broken pipe
error?Configuration
Version
vector 0.33.0 (x86_64-unknown-linux-gnu 89605fb 2023-09-27 14:18:24.180809939)
Debug Output