log and handle errors on submitSignatures controller - #1
Conversation
|
Hi, thank you for the contribution. Regarding the additional logs: in a normal scenario, FSP client always starts queries a bit before FDC client computes the Merkle root and queries until timeout or success. Your new logs would "spam" in a normal scenario, thus they are currently in debug level. Regarding the logs you provided for round 955787. The timing is very strange:
We will consider adding some additional checks of c-chain indexer to detect out of sync state and potentially act on it accordingly |
|
Understood, that makes sense, I guess the rebuilding of the new indexer database was indeed slowing things down then. Additional checks for out of sync state on the indexer would be received with a lot of gratitude by everyone in the FTSO community (while you're at it, health check endpoints and prometheus metrics would be amazing too haha) Edit: Guess I can't close it myself |
I recently had the indexer database disconnected for a few minutes, and after it went back online, the system-client resumed making normal requests to the clients, however, the fdc-client was failing silently when requesting submitSignatures, and this caused me a huge amount of penalizations on the reward epoch.
These are my logs:
On the system-client:
On the fdc-client:
As you can see, the system-client complains and retries to get the submitSignatures from the fdc-client, however, the fdc-client fails silently, no error log, nothing to see that something went wrong
This PR aims to at least make it visible when something goes wrong in the submitSignatures controller.
I implore you to take a deeper look
Thanks in advance!