hyperledger-firefly / hyperledger-firefly/firefly

FireFly gets stuck processing events from an unknown listener

Open
#1,460 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
602
Forks
246
Avg merge
18h 47m
Merged PRs (30d)
6

Description

For each blockchain event batch, FireFly attempts to re-query the blockchain connector to get the listener name from the listener ID. If it happens that the listener has actually been deleted by the time FireFly performs this request, then FireFly refuses to process the batch. However, this causes the connector to redeliver the batch indefinitely, causing FireFly to get stuck in a loop where it cannot process the events.

```
[2024-02-01T22:42:03.789Z] ERROR Rejecting batch due error: FF10111: Error from ethereum connector: {"error":"FF21046: Event listener '018d65ec-322c-2286-ee27-a92f8ad51122' not found"} pid=1 proto=ethereum role=event-loop
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.