-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hydra node crashed after a fork #560
Comments
Find attached more logs for the day in case it's useful |
@Quantumplation this might be similar to what you have seen? Any logs would be helpful. |
Had a new crash last Friday. Was running hydra version 0.8.0. Not sure what happened and if it was really related to this same problem. I attach the logs here in case it could help. |
Had a new crash last nigh. Was still running version 0.8.0. I attache the logs here in case it could help. I've noticed this message from the hydra node:
|
Happened again last night. I attach the logs here. |
Happened again the same day. |
Again today. |
Might have been solved by #621, closing this until it re-appears. |
Nodes are still crashing because of |
Maybe the modified hydra-node/src/Hydra/Chain/Direct/TimeHandle.hs
@@ -16,7 +16,7 @@ import Hydra.Cardano.Api (
)
import Hydra.Cardano.Api.Prelude (ChainPoint (ChainPoint, ChainPointAtGenesis))
import Hydra.Chain.CardanoClient (
- QueryPoint (QueryAt),
+ QueryPoint (..),
queryEraHistory,
querySystemStart,
queryTip,
@@ -107,8 +107,8 @@ mkTimeHandle currentSlotNo systemStart eraHistory = do
queryTimeHandle :: NetworkId -> FilePath -> IO TimeHandle
queryTimeHandle networkId socketPath = do
tip <- queryTip networkId socketPath
- systemStart <- querySystemStart networkId socketPath (QueryAt tip)
- eraHistory <- queryEraHistory networkId socketPath (QueryAt tip)
+ systemStart <- querySystemStart networkId socketPath QueryTip
+ eraHistory <- queryEraHistory networkId socketPath QueryTip
currentTipSlot <-
case tip of
ChainPointAtGenesis -> pure $ SlotNo 0 |
running on 9754dcc |
Context & versions
My hydra node was running a version around commit 979a561
Steps to reproduce
I can't reproduce right now. Here are the steps that I followed:
Actual behavior
The node crashed with the following message:
Expected behavior
To not crash
Extra Information
Looking at previous logs, it might be the case that the layer 1 switch to a fork after hydra has taken some block into consideration.
Then, querying layer 1 led to an exception. Here are some, probably significant logs:
The exception thrown, I think, would correspond to CardanoClient:295 in the current version of code.
The text was updated successfully, but these errors were encountered: