Closed andsel closed 3 years ago
Sometimes is the SQS plugin is in run and encounter an error from the HTTP client library, the plugin doesn't retry to reconnect but kills the pipeline.
the problem is that the client throws Seahorse::Client::NetworkingError in case of Net::OpenTimeout but the rescue code https://github.com/logstash-plugins/logstash-input-sqs/blob/f21a643d7d0595ad1ef711fe5937a22725fccac6/lib/logstash/inputs/sqs.rb#L166 handle only subclasses of Aws::SQS::Errors::ServiceError
Seahorse::Client::NetworkingError
Net::OpenTimeout
Aws::SQS::Errors::ServiceError
Sometimes is the SQS plugin is in run and encounter an error from the HTTP client library, the plugin doesn't retry to reconnect but kills the pipeline.
stack trace
``` [2020-09-26T00:17:14,174][ERROR][logstash.javapipeline ][main] A plugin had an unrecoverable error. Will restart this plugin. Pipeline_id:main Plugin:the problem is that the client throws
Seahorse::Client::NetworkingError
in case ofNet::OpenTimeout
but the rescue code https://github.com/logstash-plugins/logstash-input-sqs/blob/f21a643d7d0595ad1ef711fe5937a22725fccac6/lib/logstash/inputs/sqs.rb#L166 handle only subclasses ofAws::SQS::Errors::ServiceError