-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
RPC nodes crash on query txs #11157
Comments
what is the error? also do you encounter this on ibc queries or all of them? |
Please post logs 🙏 |
@alexanderbez There are no logs that I can see from the output. terrad query txs --events message.action='/ibc.core.client.v1.MsgUpdateClient' --node http://terra.sifchain.finance:26657/ --output json --page 1 terrad query txs --events message.action='/ibc.core.client.v1.MsgUpdateClient' --node http://terra.sifchain.finance:26657/ --output json --limit 1 terrad query txs --events message.action='/ibc.core.client.v1.MsgUpdateClient' --node http://terra.sifchain.finance:26657 --output json --height 3948579 I've tried similar commands with Sifnode, Osmosis, Juno. The only one to work so far has been Juno and it was intermittently. What is for sure is that it kills the RPC endpoint. The node its self stays running but the RPC crashes when this query is done. I believe that is why there is no logs for it. I get the same errors from public URLS as well. Logs from the terra node before it was killed by K8S for failing to respond on its RPC endpoint after 30 min of being down. I extended the time of the liveliness check to account for maybe just a long running http pull.
When I run this against sifnode the RPC doesn't die but the node stops processing blocks and just hangs. You can call the rpc endpoint and it returns the status object but the blocks aren't being updated. This was all working before, I used this same script and method to query the stuck IBC packets and trace transactions to the packet sequence ID on the channels being used. That way we could understand the money at risk for any stuck transaction. terrad query txs --events message.action='/ibc.core.client.v1.MsgUpdateClient' --node http://terra.sifchain.finance:26657 --output json --height 3948579 No logs just locked node until it gets restarted because of the RPC being down. This only started happening after the IBCV2 upgrade. |
Interesting. So maybe there is contention or a dead-lock somewhere? @marbar3778 do you have any ideas? |
@Jedi2002 Can you explain why you are closing this issue (for posterity)? Did you find out where the panic came from? |
Summary of Bug
Querying txs leads to a crash of RPC nodes. The same behaviour can be seen for full-nodes for different blockchains.
Version
v0.43
Steps to Reproduce
terrad query txs --events message.action='/ibc.core.client.v1.MsgUpdateClient' --node http://terra.sifchain.finance:26657 --output json --page 1
sifnoded query txs --events message.action='/ibc.core.client.v1.MsgUpdateClient' --node https://rpc.sifchain.finance --page 1
For Admin Use
The text was updated successfully, but these errors were encountered: