Error responses are not handled correctly when handling ElasticSearch responses

Description

When API calls to ElasticSearch cluster gives API response errors during flow persistence we see exceptions in our telemetryd log like this:

It seems like our code can't handle the ElasticSearch API error responses and tries to parse them as flow messages. The log should give an error log entry with the error message from the failed REST API call and which endpoint was used.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Chandra Gorantla June 8, 2022 at 7:46 PM

Ronny Trommer March 1, 2022 at 2:38 PM

I've updated and hopefully clarified the bug report message and I think this one is still valid.

Fixed

Details

Assignee

Reporter

HB Backlog Status

Sprint

Affects versions

Priority

PagerDuty

Created November 29, 2021 at 12:50 PM
Updated July 6, 2022 at 5:51 PM
Resolved June 10, 2022 at 3:25 PM