coffee-tools/folgore

increasing the waiting time in the try logic

Open

#74 opened on Apr 29, 2024

View on GitHub
 (0 comments) (0 reactions) (1 assignee)Rust (5 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (9 stars)
PR merge metrics
 (PR metrics pending)

Description

2024-04-29T14:14:27.556Z INFO    plugin-folgore_plugin: running into retry logic due a request failing. Time `4` waiting `960` secs
2024-04-29T14:14:27.557Z INFO    plugin-folgore_plugin: we try 4 times the request but the error persist
2024-04-29T14:14:27.558Z DEBUG   plugin-folgore_plugin: Error during the recovery strategy: `Some(PluginError { code: -1, msg: \"[404] Unknown error (Block not found)\", data: None })`
2024-04-29T14:14:27.558Z UNUSUAL plugin-folgore_plugin: client `esplora` return an error: code: -1, msg: Recovery strategy (TimeoutRety) fails: `code: -1, msg: [404] Unknown error (Block not found)`
2024-04-29T14:14:27.559Z **BROKEN** lightningd: /home/vincent/.coffee/testnet/plugins/folgore/target/release/folgore_plugin error: bad response to getrawblockbyheight (bad 'result' field: Parsing '{result:': object does not have member result), response was {"error":{"code":-1,"data":null,"message":"Recovery strategy (TimeoutRety) fails: `code: -1, msg: [404] Unknown error (Block not found)`"},"id":"cln:getrawblockbyheight#88390","jsonrpc":"2.0"}

This should be done with the the command line option

Contributor guide