-
Notifications
You must be signed in to change notification settings - Fork 717
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
P2P get stuck on public api #2210
Comments
Hello! Thanks for posting the issue. Would you mind sharing the node configuration too ( Just in case, if you post the config you can remove sensitive information (if any). Does the issue still persist or has it stopped? |
I stopped public API and kept only RPC available to avoid this issue. app.toml config.toml |
Facing same issue here, disable the API server only the node will run and sync smoothly. |
Checking in if you need any more details to reproduce. It's fairly consistent issue when node is exposed as public API. |
Hi @social244305-Architect , we fixed some issues with synching with v8.0.1 could you try with that version to see if you still have issues? |
Sure. Let me test it tonight and update with my findings. |
I did try with v8.0.1, not really fix the problem. But I try what @social244305-Architect said, I only allow my server to access api and currently no out of sync problem occur. Thank you. |
I tried with v8.0.1 but realized that my API end point was removed from Cosmos Directory. Created a PR to add my API end point for testing. |
Issue is still there with v8.0.1. |
Hi @social244305-Architect do you mean the chain-registry or something else? Could you add a link to the PR here. |
@mmulji You are correct. My rest end point was deleted from chain registry probably due to unavailability. I created PR to reinstate that end point and it was merged and i was able to test with v8.0.1 and it cause my node to choke up. PR provided below. Issue seems to be related to activity node receives when it's available on Cosmos Directory. If i turn of rest and restart node, i see no problem with p2p. |
Hi @social244305-Architect thanks for the update. Indeed, if your node is published to the chain-registry it will be used by others. That will cause an increased load. Mainnet has now been upgraded to v9.0.1, I would like to check in to see if the issue still with the new release. |
Hi @social244305-Architect wanted to checkin to see if this was still an issue with the newer release. If we don't hear back from you next week, will close this issue. |
Summary of Bug
Enabling API on Cosmos Hub public nodes causes node to stop syncing on mainnet.
Version
Ubuntu-2204-jammy-amd64-base:~# gaiad version
v8.0.0
Steps to Reproduce
Enable API on a public node (available on Cosmos Directory) on Cosmos Hub mainnet.
Start the gaiad process. Node will sync few blocks and then will stop syncing. I can still see more than 100 peers connected to node but no more blocks are synced.
Logs attached
Public API logs.txt
The text was updated successfully, but these errors were encountered: