Open kamilchodola opened 2 years ago
@smartprogrammer93 @MarekM25 Any info there? It still appears from time to time on nodes and just wanted to ensure if this can make any issue on node.
I will check on it tomorrow @kamilchodola
@smartprogrammer93 Great! Thanks
Appeared there on goerli on current smoke tests
Hey @kamilchodola ,
Let me know if you still see this issue from a version after https://github.com/NethermindEth/nethermind/pull/4874 is merged.
@smartprogrammer93 I can see that one again but only once in one node. https://seq.nethermind.io/#/events?filter=Contains(NodeName,%20'Smoke-Tests-master125v2-goerli-lighthouse')%20and%20%22failed%20to%22
@smartprogrammer93 Got spammed with those messages again Unfortunately I got spammed with Debug logs and app removed file with logs for this specific situation - but seems like it is getting a bit stronger now
Unfortunately, i am still not sure of the reason behind this exception being thrown. I tried to investigate it intensively already but reached no solution. I will try to dive more into it tomorrow.
@smartprogrammer93 Will try to reproduce it or will be more careful about those logs and will try to catch debug logs for You 0 maybe that would help.
@kamilchodola are we still seeing these?
@kamilchodola let me know if you are still seeing these exceptions or not. If not i will close this one.
It still happens from time to time especially on goerli nodes but very rarely... So except normal logs it is hard to catch debug logs becuase those may be already overriden.
@smartprogrammer93 Just happened again... Wondering about problems it may cause for us or network in such case. This time it was on mainnet-lighthouse pair.
@kamilchodola same stack trace (exception details)?
@smartprogrammer93 Yeah - looks slightly different:
@smartprogrammer93 still happening
System.NullReferenceException: Object reference not set to an instance of an object.
at Nethermind.Network.P2P.ProtocolHandlers.SyncPeerProtocolHandlerBase.TxsToSendAndMarkAsNotified(IEnumerable`1 txs, Boolean sendFullTx)+MoveNext() in /_/src/Nethermind/Nethermind.Network/P2P/ProtocolHandlers/SyncPeerProtocolHandlerBase.cs:line 229
at Nethermind.Network.P2P.Subprotocols.Eth.V65.Eth65ProtocolHandler.SendNewTransactionsCore(IEnumerable`1 txs, Boolean sendFullTx) in /_/src/Nethermind/Nethermind.Network/P2P/Subprotocols/Eth/V65/Eth65ProtocolHandler.cs:line 167
at Nethermind.TxPool.TxBroadcaster.Notify(ITxPoolPeer peer, IEnumerable`1 txs, Boolean sendFullTx) in /_/src/Nethermind/Nethermind.TxPool/TxBroadcaster.cs:line 310
Yup, @MarekM25 cant figure out the reason. Will try to investigate again once possible
i spend a couple more hours on this, cant find a way for a null Tx ref to reach this point of the code. I traced it back all the way to TxPool. Only solution i see (workaround) is to check if Tx is null before trying to read it's hash. @MarekM25 let me know if you want me to follow this approach, or any other possible action.
Describe the bug From time to time it happens that we have multiple failures on SmokeTests runs with "Failed to notify enode" and NullReferenceException. Need to investigate and fix a root-cause for that since it was not appearing most probably on pre-merge version.
This is a minor issue - no issues with syncing happens because of that.