The errors would take place when there were issues with the underlying Cardano node - typically when the node is still starting and not yet fully synced. The Ogmios service is able to start and receive connections but the handshake is never completed and the client errors out when trying to send frames.
With this fix, Xogmios now displays errors/warnings for the following:
Node is still starting up and no socket file is yet available
[error] Ogmios reported error: Ogmios service error. Cardano Node not ready.
Trying reconnection in 5 seconds.
Socket file is available but node is still syncing with the network
[warning] Cardano Node not ready. Network sync progress at 62.881% Trying reconnection in 5 seconds.
[warning] Cardano Node not ready. Network sync progress at 62.883% Trying reconnection in 5 seconds.
The errors would take place when there were issues with the underlying Cardano node - typically when the node is still starting and not yet fully synced. The Ogmios service is able to start and receive connections but the handshake is never completed and the client errors out when trying to send frames.
With this fix, Xogmios now displays errors/warnings for the following:
Fixes #42