hyperledger / firefly

Hyperledger FireFly is the first open source Supernode: a complete stack for enterprises to build and scale secure Web3 applications. The FireFly API for digital assets, data flows, and blockchain transactions makes it radically faster to build production-ready apps on popular chains and protocols.
https://hyperledger.github.io/firefly
Apache License 2.0
506 stars 208 forks source link

FireFly gets stuck processing events from an unknown listener #1460

Open awrichar opened 9 months ago

awrichar commented 9 months ago

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
awrichar commented 9 months ago

Possible solutions: